AVR Downloader/UploaDEr - Bugs: bug #41854, avrdude 6.1 does not compile on...
You are not allowed to post comments on this tracker with your current authentication level.
bug #41854: avrdude 6.1 does not compile on systems without libUSB
Submitter: | Georg von Zengen <oni> | ||
Submitted: | Thu 13 Mar 2014 02:05:00 PM UTC | ||
Category: | None | Severity: | 4 - Important |
Priority: | 5 - Normal | Item Group: | None |
Status: | Fixed | Privacy: | Public |
Assigned to: | joerg_wunsch | Originator Name: | oni |
Open/Closed: | Closed | Release: | None |
Programmer hardware: | Device type: |
Jump to the original submission
Wed 06 Aug 2014 08:30:33 PM UTC, comment #7: |
Joerg Wunsch <joerg_wunsch> |
Wed 06 Aug 2014 07:42:53 AM UTC, comment #6: Let me allow to ask a - possibly dumb - follow-up question. I tried to compile avrdude-6.1 under MinGW (latest version running under Win 7) and came across the reported bug, although I do have the libusb installed, however in version 1.0.9, so flag HAVE_LIBUSB is not defined or set, but HAVE_LIBUSB_1_0 is set.
|
Volker <funker211> |
Mon 19 May 2014 12:33:02 PM UTC, comment #5: Fixed in r1314, thanks for reporting, and for suggesting a fix! |
Joerg Wunsch <joerg_wunsch> |
Fri 21 Mar 2014 12:15:38 PM UTC, comment #4: Luckily, this can be fixed by stubbing only 3 files, dfu.c, and flip1.c and flip2.c which both depend on dfu.c.
|
Didrik Madheden <didrikm> |
Thu 13 Mar 2014 03:07:03 PM UTC, comment #3:
|
Joerg Wunsch <joerg_wunsch> |
Thu 13 Mar 2014 03:00:15 PM UTC, comment #2: Thanks for the quick answer. It fixes my problem.
|
Georg von Zengen <oni> |
Thu 13 Mar 2014 02:34:36 PM UTC, comment #1: Too bad. :-(
|
Joerg Wunsch <joerg_wunsch> |
Thu 13 Mar 2014 02:05:00 PM UTC, original submission:
I just tried to compile arvdude 6.1 on mac OSX and it failed.
|
Georg von Zengen <oni> |
Depends on the following items: None found
Items that depend on this one: None found
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 7 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2014-05-19 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed | |||
2014-03-21 | didrikm | Attached File | - | Added dfu.c, #30986 | |
Attached File | - | Added flip1.c, #30987 | |||
Attached File | - | Added flip2.c, #30988 | |||
2014-03-13 | joerg_wunsch | Severity | 3 - Normal | 4 - Important |
Powered by Savane 3.13-758e.
Corresponding source code
Nope, usb_libusb.c (which wraps USB access for the Atmel tools)
requires just USB_LIBUSB (i.e., libusb-0.1) support to be
present. The reasons are:
So the latter is where you'd have to look for on MinGW32.
All I can tell you is that I'm using MinGW32-Crosstools under
FreeBSD to build the "official" Win32 binaries, and it works
there.
DFU support (which is the layer below FLIP) also uses the
libusb-0.1 API.
As Hannes already mentioned, pthreads are by now only used by
the FT245 implementation (low-level bitbang using FTDI FT245
chips).