On 2012.07.03 09:27, Tobias Powalowski wrote:
> Now libusb-compat errors with this during compile:
> core.c:35:6: error: nested redefinition of 'enum usbi_log_level'
> core.c:35:6: error: redeclaration of 'enum usbi_log_level'
> In file included from core.c:27:0:

This is a known issue.

Please apply the patch from: http://libusb.org/ticket/138. Note that the 
patch is very simple, as per 
http://libusb.org/attachment/ticket/138/libusb-0.1-libusbx.patch, so you 
can also just edit libusb-compat's core.c and remove the enum 
usbi_log_level manually.

Alternatively, once we have applied the other patch that is referenced 
in this thread to libusbx, you should be able to use it with 
libusb-compat without having to patch libusb-compat.

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

Reply via email to