libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing?
Hans Petter Selasky
hps at selasky.org
Tue Aug 12 18:56:05 UTC 2014
On 08/12/14 20:48, CeDeROM wrote:
> Hello :-)
>
> I am working on GNURadio port for FreeBSD and try to make upstream
> patches :-) The libusb_handle_events_completed() function seemd to be
> missing in FreeBSD, while it is a parto of the LibUSB-1.0 API [1]. Are
> there any plans to add or wrap this function?
>
> [ 94%] Building C object
> gr-fcd/lib/CMakeFiles/gnuradio-fcd.dir/hid/hid-libusb.c.o
> /home/cederom/cederom/moje/prm/c/gnuradio/gnuradio-cederom.github/gr-fcd/lib/hid/hid-libusb.c:759:3:
> warning: implicit declaration of function
> 'libusb_handle_events_completed' is invalid in
> C99 [-Wimplicit-function-declaration]
> libusb_handle_events_completed(usb_context, &dev->cancelled);
> ^
> 1 warning generated.
>
> Best regards,
> Tomek
>
> [1] http://libusb.sourceforge.net/api-1.0/group__poll.html#ga0bc99f39e4cf5ad393cd5936c36037d1
>
It's there, but you maybe have to upgrade to -stable.
--HPS
More information about the freebsd-usb
mailing list