From: Xiaofan C. <xia...@gm...> - 2012-06-17 11:19:47
|
On Sun, Jun 17, 2012 at 6:13 PM, Kai Tietz <kti...@go...> wrote: > Yes, the .def file has a syntax error and should be fixed. > > there is a LIBRARY command specifying no library name, which is a syntax error. > > Change .def file from > > LIBRARY > EXPORTS > libusb_alloc_transfer > ... > > to: > LIBRARY "libusb.dll" > EXPORTS > libusb_alloc_transfer > ... > > and everything will work as it should. > > The issue is that newer dlltool reads due this syntax-error EXPORTS as > DLL-name, and by this the produced import-library is generate > none-usable. Thanks a lot. Now everything works fine. I will report the bug to libusbx-devel mailing list. -- Xiaofan |