From owner-freebsd-usb@FreeBSD.ORG Tue Aug 12 20:18:30 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DCD48E07; Tue, 12 Aug 2014 20:18:30 +0000 (UTC) Received: from diana.db.net (unknown [IPv6:2620:64:0:1:223:7dff:fea2:c8f2]) by mx1.freebsd.org (Postfix) with ESMTP id C50C22B1A; Tue, 12 Aug 2014 20:18:30 +0000 (UTC) Received: from night.db.net (localhost [127.0.0.1]) by diana.db.net (Postfix) with ESMTP id 8F7512AA3A2; Tue, 12 Aug 2014 14:18:26 -0600 (MDT) Received: by night.db.net (Postfix, from userid 1000) id 5F8171CC02; Tue, 12 Aug 2014 16:18:27 -0400 (EDT) Date: Tue, 12 Aug 2014 16:18:27 -0400 From: Diane Bruce To: Ham software for BSD systems Subject: Re: [BSD-Ham] libusb-1.0 and freebsd libusb: libusb_handle_events_completed() missing? Message-ID: <20140812201827.GA28877@night.db.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: hamradio@freebsd.org, "freebsd-usb@FreeBSD.org" X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Aug 2014 20:18:30 -0000 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