bugAVR Downloader/UploaDEr - Bugs: bug #43338, avrdude 6.1 does not compile

 
 

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

bug #43338: avrdude 6.1 does not compile

Submitted by:  Karsten <kama>
Submitted on:  Wed 01 Oct 2014 08:33:36 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: DuplicatePrivacy: Public
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Name: kama
Open/Closed: ClosedRelease: None
Programmer hardware: Device type: 

Sat 15 Aug 2015 11:35:47 AM UTC, comment #3:

Libusb 0.1 API support is not included in libusb-1.x.

I hate to bump an old and closed 'bug', but I just had the same error when trying to compile avrdude 6.1 on a new Mac, and I thought I may be able to help others who are experiencing the same issue.

You can obtain source code for 0.1 compatibility from...

http://sourceforge.net/projects/libusb/files/libusb-compat-0.1/

Mike Rice <swfltek>
Wed 01 Oct 2014 09:22:57 AM UTC, comment #2:

O.K. I really have to install

ii libusb-dev 2:0.1.12-20+nmu1 amd64 userspace USB programming library development files

The libusb-1.0-0-dev does not work!

Thank you!

Karsten <kama>
Wed 01 Oct 2014 08:47:54 AM UTC, comment #1:

As you already noticed, this is an exact duplicate of
bug #41854, which has already been fixed since.

In the assumption that you are actually trying to compile
with USB support, the required files have not been found:

and:

Please refer to your operating system's documentation on
how to install libusb 0.1 API support, which is required by
AVRDUDE in order to work with USB.

Joerg Wunsch <joerg_wunsch>
Project AdministratorIn charge of this item.
Wed 01 Oct 2014 08:33:36 AM UTC, original submission:

Please refer also to https://savannah.nongnu.org/bugs/?41854

I am trying to compile avrdude 6.1 on Debian wheezy (V 7.5 AMD64).
Here the libusb is installed.

ii libgusb2 0.1.3-5 amd64 GLib wrapper around libusb1
ii libusb-0.1-4:amd64 2:0.1.12-20+nmu1 amd64 userspace USB programming library
ii libusb-0.1-4:i386 2:0.1.12-20+nmu1 i386 userspace USB programming library
ii libusb-1.0-0:amd64 2:1.0.11-1 amd64 userspace USB programming library
ii libusb-1.0-0-dev 2:1.0.11-1 amd64 userspace USB programming library development files
rc libusbip0 0.1.7-3 amd64 USB device sharing system over IP network (shared library)
ii libusbmuxd1 1.0.7-2 amd64 USB multiplexor daemon for iPhone and iPod Touch devices - library

But when i try to compile i get this known error

$ make
make all-recursive
make[1]: Entering directory `/srv/test/avrdude-6.1'
Making all in .
make[2]: Entering directory `/srv/test/avrdude-6.1'
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR="/usr/local/etc" -Wall -Wno-pointer-sign -g -O2 -MT libavrdude_a-dfu.o -MD -MP -MF .deps/libavrdude_a-dfu.Tpo -c -o libavrdude_a-dfu.o `test -f 'dfu.c' || echo './'`dfu.c
dfu.c:39:5: error: conflicting types for ‘dfu_open’
In file included from dfu.c:22:0:
dfu.h:117:25: note: previous declaration of ‘dfu_open’ was here
dfu.c:45:5: error: conflicting types for ‘dfu_init’
In file included from dfu.c:22:0:
dfu.h:118:12: note: previous declaration of ‘dfu_init’ was here
make[2]: *** [libavrdude_a-dfu.o] Fehler 1
make[2]: Leaving directory `/srv/test/avrdude-6.1'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/srv/test/avrdude-6.1'
make: *** [all] Fehler 2

I attach the output of configure (configure.log) and the config.log

What is going wrong?

Karsten <kama>

 

Attached Files
file #32202:  config.log added by kama (91KiB - text/x-log)
file #32203:  configure.log added by kama (6KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by swfltek (Posted a comment)
  • -unavailable- added by joerg_wunsch (Posted a comment)
  • -unavailable- added by kama (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):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 01 Oct 2014 08:47:54 AM UTCjoerg_wunschStatusNone=>Duplicate
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed
    Wed 01 Oct 2014 08:33:36 AM UTCkamaAttached File-=>Added config.log, #32202
      Attached File-=>Added configure.log, #32203

    Back to the top


    Powered by Savane 3.1-cleanup1