On Sun, Jun 17, 2012 at 6:13 PM, Kai Tietz <[email protected]> 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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to