[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems witho
From: |
Georg von Zengen |
Subject: |
[avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems without libUSB |
Date: |
Thu, 13 Mar 2014 14:05:02 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.123 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?41854>
Summary: avrdude 6.1 does not compile on systems without
libUSB
Project: AVR Downloader/UploaDEr
Submitted by: oni
Submitted on: Do 13 Mär 2014 14:05:00 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: oni
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I just tried to compile arvdude 6.1 on mac OSX and it failed.
On the system libUSB is installed but not found by the configure script.
I also try to quick fix this issue by equalizing the definitions of dfu_open
and init in the .c and .h. That leaded me into even bigger problems because
the dfu_dev struct is empty if libUSB is not installed/found.
relevant part of make output:
mv -f .deps/libavrdude_a-crc16.Tpo .deps/libavrdude_a-crc16.Po
gcc -DHAVE_CONFIG_H -I. -DCONFIG_DIR="/usr/local/etc" -Wall -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'
int dfu_open(struct dfu_dev *dfu, char *port_name) {
^
./dfu.h:117:25: note: previous declaration is 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) {
^
./dfu.h:118:12: note: previous declaration is here
extern int dfu_init(struct dfu_dev *dfu,
^
2 errors generated.
make[2]: *** [libavrdude_a-dfu.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41854>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #41854] avrdude 6.1 does not compile on systems without libUSB,
Georg von Zengen <=