bugAVR Downloader/UploaDEr - Bugs: bug #19889, Need libusb version check in...

 
 

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

bug #19889: Need libusb version check in configure.

Submitter:  Eric Weddington <arcanum>
Submitted:  Thu 17 May 2007 02:33:15 PM UTC
   
 
Category:  None Severity:  4 - Important
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  joerg_wunsch Originator Name:  Eric Weddington
Open/Closed:  Closed Release:  None
Programmer hardware:  Device type: 

Thu 15 Sep 2011 04:10:24 PM UTC, comment #2: 

Now checking for usb_get_string_simple rather than libusb_init,
this should ensure the right (minimum) version of libusb is
being probed.

Joerg Wunsch <joerg_wunsch>
Group administrator
Thu 17 May 2007 03:09:11 PM UTC, comment #1: 

The build is broken using libusb 0.1.10.1, but the build works using libusb 0.1.12.1. There needs to be some way to do a configure check for the correct library version.

Eric Weddington <arcanum>
Group Member
Thu 17 May 2007 02:33:15 PM UTC, original submission:  

avrdude 5.4 build is broken on Cygwin:

if gcc -DHAVE_CONFIG_H -I. -I../avrdude-5.4 -I.  -DCONFIG_DIR=\"c:/WinAVR/bin\" -I../../libusb-win32-device-bin-0.1.10.1/include -Wall -I../../libusb-win32-device-bin-0.1.10.1/include -mno-cygwin -DWIN32NATIVE -MT libavrdude_a-usb_libusb.o -MD -MP -MF ".deps/libavrdude_a-usb_libusb.Tpo" -c -o libavrdude_a-usb_libusb.o `test -f 'usb_libusb.c' || echo '../avrdude-5.4/'`usb_libusb.c; \
then mv -f ".deps/libavrdude_a-usb_libusb.Tpo" ".deps/libavrdude_a-usb_libusb.Po"; else rm -f ".deps/libavrdude_a-usb_libusb.Tpo"; exit 1; fi
../avrdude-5.4/usb_libusb.c: In function `usbdev_open':
../avrdude-5.4/usb_libusb.c:181: error: parse error before "struct"
make[1]: * [libavrdude_a-usb_libusb.o] Error 1
make[1]: Target `install-am' not remade because of errors.
make[1]: Leaving directory `/cygdrive/c/avrdev/avrdude/build'
make: * [install-recursive] Error 1
make: Target `install' not remade because of errors.

Eric Weddington <arcanum>
Group Member

 

(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 joerg_wunsch (Posted a comment)
  • -email is unavailable- added by arcanum (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.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-09-15 joerg_wunsch StatusNone Fixed
        Assigned toNone joerg_wunsch
        Open/ClosedOpen Closed
    2007-05-17 arcanum Summaryavrdude 5.4 build is broken on Cygwin Need libusb version check in configure.
    2007-05-17 arcanum Severity5 - Blocker 4 - Important

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code