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 authentification 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: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: giuliano carlini
Originator Email: -unavailable-Open/Closed: Open

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>
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.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup