From: Xiaofan C. <xia...@gm...> - 2011-02-27 08:59:48
|
The latest git does not build. Tested under Cygwin. mcuee@Win7HomeX64_PC /cygdrive/d/work/libusb1/libusb-stuge $ make make all-recursive make[1]: Entering directory `/cygdrive/d/work/libusb1/libusb-stuge' Making all in libusb make[2]: Entering directory `/cygdrive/d/work/libusb1/libusb-stuge/libusb' CC libusb_1_0_la-core.lo CC libusb_1_0_la-descriptor.lo CC libusb_1_0_la-io.lo CC libusb_1_0_la-sync.lo CC libusb_1_0_la-poll_windows.lo CC libusb_1_0_la-windows_usb.lo os/windows_usb.c: In function 'auto_release': os/windows_usb.c:474: warning: implicit declaration of function 'libusb_strerror' /bin/sh ../libtool --mode=compile windres -i libusb-1.0.rc -o libusb-1.0.lo libtool: compile: windres -i libusb-1.0.rc -DDLL_EXPORT -DPIC -o .libs/libusb- 1.0.o libtool: compile: windres -i libusb-1.0.rc -o libusb-1.0.o >/dev/null 2>&1 CCLD libusb-1.0.la Creating library file: .libs/libusb-1.0.dll.a .libs/libusb_1_0_la-windows_usb.o: In function `auto_release': /cygdrive/d/work/libusb1/libusb-stuge/libusb/os/windows_usb.c:474: undefined reference to `_libusb_strerror' collect2: ld returned 1 exit status make[2]: *** [libusb-1.0.la] Error 1 make[2]: Leaving directory `/cygdrive/d/work/libusb1/libusb-stuge/libusb' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/d/work/libusb1/libusb-stuge' make: *** [all] Error 2 -- Xiaofan |