bugAVR Downloader/UploaDEr - Bugs: bug #28731, Can't build avrdude 5.10 on OSX...


You are not allowed to post comments on this tracker with your current authentication level.

bug #28731: Can't build avrdude 5.10 on OSX with USB support

Submitted by:  None
Submitted on:  Mon 25 Jan 2010 07:22:17 AM UTC  
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  giuliano carlini
Originator Email:  -email is unavailable- Open/Closed:  Open
Release:  None Programmer hardware: 
Device type: 

Mon 22 Aug 2011 05:51:33 AM UTC, comment #2:

I've just tried it on my Mac. It compiles fine, but strangely I can remove the CoreFoundation and IOKit framework flags and just leave the -lusb flag and it STILL compiles properly.

My guess is that the gcc I'm using (version 4.0.1 Apple Inc. build 5493) automatically links those frameworks.

If other versions of gcc are to be supported, my suggestion would be to move the $target checks for darwin (line 4646) up to line 4581 where the LIBS are defined, to add the -framework flags for CoreFoundation and IOKit.

What version of gcc are you using?

Darell Tan <geekman>
Tue 16 Aug 2011 06:35:10 PM UTC, comment #1:


Any OS X gurus around to have a look on that?

Joerg Wunsch <joerg_wunsch>
Project Administrator
Mon 25 Jan 2010 07:22:17 AM UTC, original submission:

configure script doesn't properly link libusb check program.

It links with "-l libusb", but needs to also link with
"-framework CoreFoundation -framework IOKit".
This is properly if the check script passes, it checks whether
the OS is darwin, and if so adds these to LIBUSB. But also
needs to add them to the check program.



No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by geekman (Posted a comment)
  • -email is unavailable- added by joerg_wunsch (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.4