Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 07 Apr 2015 04:07:01 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 199256] libusb lacks LIBUSB_API_VERSION
Message-ID:  <bug-199256-17@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: swills@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-199256-17>