mohsin@RND-3 ~
$ cd c:

mohsin@RND-3 /c
$ cd avrdude-5.11

mohsin@RND-3 /c/avrdude-5.11
$ make
make  all-recursive
make[1]: Entering directory `/c/avrdude-5.11'
Making all in windows
make[2]: Entering directory `/c/avrdude-5.11/windows'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/c/avrdude-5.11/windows'
make[2]: Entering directory `/c/avrdude-5.11'
mingw32-gcc -DHAVE_CONFIG_H -I.  -DCONFIG_DIR=\"/usr/local/etc\"  -Wall -Wno-poi
nter-sign -g -O2 -DWIN32NATIVE -MT libavrdude_a-usbasp.o -MD -MP -MF .deps/libav
rdude_a-usbasp.Tpo -c -o libavrdude_a-usbasp.o `test -f 'usbasp.c' || echo './'`
usbasp.c
usbasp.c:345:12: error: conflicting types for 'usbOpenDevice'
 static int usbOpenDevice(usb_dev_handle **device, int vendor,
            ^
usbasp.c:133:12: note: previous declaration of 'usbOpenDevice' was here
 static int usbOpenDevice(usb_dev_handle **device, int vendor, char *vendorName,
 int product, char *productName);
            ^
make[2]: *** [libavrdude_a-usbasp.o] Error 1
make[2]: Leaving directory `/c/avrdude-5.11'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/avrdude-5.11'
make: *** [all] Error 2

mohsin@RND-3 /c/avrdude-5.11
$

From: [email protected]
To: [email protected]
Date: Mon, 6 Jan 2014 10:13:50 +0000
Subject: [avr-chat] avrdude-5.11 patching




Hi !

I am compiling avrdude-5.11 with patch 7321 (both patches) for "USBasp" 
programmer on mingw for windows, its giving me this error

http://i43.tinypic.com/fxt1g.jpg

plz help !
                                          

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat                              
          
_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to