Date: Tue, 12 Aug 2014 16:18:27 -0400 From: Diane Bruce <db@db.net> To: Ham software for BSD systems <bsd-ham@mailman.qth.net> Cc: hamradio@freebsd.org, "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org> Subject: Re: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing? Message-ID: <20140812201827.GA28877@night.db.net> In-Reply-To: <CAFYkXj=Amy2TsccQS-BWUT4-qaRBOy26-XGy9LYyS_FZ0Bs4LA@mail.gmail.com> References: <CAFYkXj=Amy2TsccQS-BWUT4-qaRBOy26-XGy9LYyS_FZ0Bs4LA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 12, 2014 at 08:48:14PM +0200, 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? I dealt with this already in the gnuradio port I did. It's present in later versions of libusb, but look the diffs I did to work around this for older libusb. Please.. There was no reason to spam everyone.. > > [ 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 > > -- > CeDeROM, SQ7MHZ, http://www.tomek.cedro.info > ______________________________________________________________ > BSD-Ham mailing list > Home: http://mailman.qth.net/mailman/listinfo/bsd-ham > Help: http://mailman.qth.net/mmfaq.htm > Post: mailto:BSD-Ham@mailman.qth.net > > This list hosted by: http://www.qsl.net > Please help support this email list: http://www.qsl.net/donate.html -- - db@FreeBSD.org db@db.net http://www.db.net/~db
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140812201827.GA28877>