On 2012.05.18 18:46, dan wrote: > "•12:40PM• <mossmann> Our code compiles fine with libusb 1.0. That's > what we support. If libusbx doesn't support the libusb 1.0 API, then > forget it."
Libusbx does support the 1.0 API. Currently, unless you're using one of the calls that only libusbx provides, which is unlikely if you also compile your code with libusb-1.0, then the APIs should be fully interchangeable. Please be mindful that there may be more to "it works with libusb but not with libusbx" than "libusbx must have changed the API and rendered it incompatible". The only warning I see related to libusb in your log relates to libusb_fill_bulk_transfer(), which, as shown below, have the same API: http://libusbx.sourceforge.net/api-1.0/group__asyncio.html#gad4ddb1a5c6c7fefc979a44d7300b95d7 http://libusb.sourceforge.net/api-1.0/group__asyncio.html#gad4ddb1a5c6c7fefc979a44d7300b95d7 As I expect that you get the same benign warning when you compile with libusb, I don't think this is related to the issue. The 'undefined reference' messages on the other hand clearly are, and you should attempt to understand why they occur. You may also want to check whether you are actually linking against the libusbx library and not libusb, which may happen if for instance you have a libusb-1.0 library in /lib and one in /usr/local/lib. Can you reproduce the issue on a system where libusb-1.0 is not installed? Also, what happens if instead of compiling ubertooth.c you use the same compilation process to compile one of the libusbx samples, such as xusb.c. Do you get the same error? Regards, /Pete ------------------------------------------------------------------------------ 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