[Bug 199256] libusb lacks LIBUSB_API_VERSION

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Apr 7 04:07:01 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199256

            Bug ID: 199256
           Summary: libusb lacks LIBUSB_API_VERSION
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: freebsd-usb at FreeBSD.org
          Reporter: swills at FreeBSD.org

Trying to build usb4java (http://usb4java.org/nativelibs.html) in order to use
SDRTrunk (https://code.google.com/p/sdrtrunk/), I get an error about not having
LIBUSB_API_VERSION:

LibUsb.c:61:12: error: use of undeclared identifier 'LIBUSB_API_VERSION'

(There are others, but I figure this might be a good place to start).

Looking at libusb docs (http://libusb.sourceforge.net/api-1.0/group__misc.html)
it says:

Since version 1.0.13, to help with feature detection, libusb defines a
LIBUSB_API_VERSION macro...

But our libusb seems to lack it. Could this be added?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-usb mailing list