Hi All,
Error when building latest trunk on mingw host:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -DCONFIG_DIR=\"/c/WinAVR/bin\"
-I../../libusb-win32-device-bin-0.1.12.1/include -Wall
-I../../libusb-win32-device-bin-0.1.12.1/include -mno-cygwin -DWIN32NATIVE -MT
avrdude-term.o -MD -MP -MF ".deps/avrdude-term.Tpo" -c -o avrdude-term.o `test
-f 'term.c' || echo './'`term.c; \
then mv -f ".deps/avrdude-term.Tpo" ".deps/avrdude-term.Po"; else rm -f
".deps/avrdude-term.Tpo"; exit 1; fi
gcc -I../../libusb-win32-device-bin-0.1.12.1/include -mno-cygwin -DWIN32NATIVE
-L../../libusb-win32-device-bin-0.1.12.1/lib/gcc -static -o avrdude.exe
avrdude-main.o avrdude-term.o ./libavrdude.a -lhid -lsetupapi -lm
./libavrdude.a(libavrdude_a-jtagmkII.o):jtagmkII.c:(.text+0x6b94): undefined
reference to `sleep'
collect2: ld returned 1 exit status
make[2]: *** [avrdude.exe] Error 1
make[2]: Target `all-am' not remade because of errors.
make[2]: Leaving directory `/c/avrdev/avrdude/avrdude/avrdude'
This is a regression as a previous release used to build on mingw successfully.
I don't have time to look into this or fix it today. I'm going to be trying to
build this on Cygwin, and I suspect that it will succeed there, however, the
resulting exectuable will probably be linked to the Cygwin DLL (which I would
like to avoid).
Eric Weddington
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev