I found a strange error when building libusbx with newer version of
the dlltool. As per this thread, it is the syntax error of libusb-1.0.def
which caused the problem.
http://comments.gmane.org/gmane.comp.gnu.mingw.w64.general/5141

I tested Kai's modification to add the library name to libusb-1.0.def
and it works fine.

LIBRARY "libusb-1.0.dll"
EXPORTS
  libusb_alloc_transfer
  ...

Bug report to dlltool (actually invalid as pointed by Kai).
http://sourceware.org/bugzilla/show_bug.cgi?id=14258

-- 
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/
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to