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

Submitter:  None
Submitted:  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: 

@avrdude-dev:

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

Joerg Wunsch <joerg_wunsch>
Group 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.


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code