avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Problem compiling avrdude 6.1


From: Bob von Knobloch
Subject: [avr-chat] Problem compiling avrdude 6.1
Date: Mon, 04 Aug 2014 10:27:26 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hallo,

trying to compile avrdude 6.1 (12-Mar-2014 23:13 from the releases page), I get the following during 'make':

<snipped>
dfu.c:39:5: error: conflicting types for ‘dfu_open’
 int dfu_open(struct dfu_dev *dfu, char *port_name) {
     ^
In file included from dfu.c:22:0:
dfu.h:117:25: note: previous declaration of ‘dfu_open’ was here
 extern struct dfu_dev * dfu_open(char *port_spec);
                         ^
dfu.c:45:5: error: conflicting types for ‘dfu_init’
 int dfu_init(struct dfu_dev *dfu, unsigned short usb_pid) {
     ^
In file included from dfu.c:22:0:
dfu.h:118:12: note: previous declaration of ‘dfu_init’ was here
 extern int dfu_init(struct dfu_dev *dfu,
            ^
make[2]: *** [libavrdude_a-dfu.o] Error 1
make[2]: Leaving directory `/mnt/local/Downloads/avrdude-6.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/local/Downloads/avrdude-6.1'
make: *** [all] Error 2

I am compiling on OpenSuse 13.1, using gcc 4.8.1.

Any suggestions?

Regards,

Bob
--
The Sun is out, the sky is blue, it's time to drive the MR2.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]