On Tue, Apr 16, 2013 at 9:36 PM, Jahn <[email protected]> wrote: > Has anyone sucessfully compiled LibFTDI-0.20 > under CygWin? > > Make command generates this error: > ... > ... > ... > > serial_test.o: In function `main': > /home/libftdi-0.20/examples/serial_test.c:162: undefined reference to > `_sleep' > collect2: ld returned 1 exit status > Makefile:393: recipe for target `serial_test.exe' failed > make[2]: *** [serial_test.exe] Error 1 > make[2]: Leaving directory `/home/libftdi-0.20/examples' > Makefile:418: recipe for target `all-recursive' failed > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/libftdi-0.20' > Makefile:285: recipe for target `all' failed > make: *** [all] Error 2 >
That is just an example and you can ignore it (just run 'make -i'). The thing is that libftdi-0.x is now in the legacy branch so I am not so sure if it is worth fixing this. The main development is now done on libftdi1 which is based on libusb-1.0 API. Just wondering why you want to use Cygwin? I have ready-made binary for libftdi-0.20 using MinGW here. https://code.google.com/p/picusb/downloads/list I see no reason to use Cygwin now for libftdi, libusbx and OpenOCD building, you can use MinGW/MSys or cross build under Linux. -- Xiaofan ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
