From owner-freebsd-stable Tue Mar 5 21:21:35 2002 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.bmi.net (smtp.bmi.net [204.57.191.31]) by hub.freebsd.org (Postfix) with ESMTP id 90E7A37B400 for ; Tue, 5 Mar 2002 21:21:29 -0800 (PST) Received: from johncoop.MSHOME (drumheller-router.bmi.net [206.63.201.3] (may be forged)) by smtp.bmi.net (Pro-8.9.3/Pro-8.9.3) with ESMTP id VAA21017; Tue, 5 Mar 2002 21:21:16 -0800 Subject: Re: libusb-0.1.5 port compile problems From: John Merryweather Cooper To: Alex Cc: FreeBSD Stable In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0.2 Date: 05 Mar 2002 21:21:22 -0800 Message-Id: <1015392083.1217.31.camel@johncoop.MSHOME> Mime-Version: 1.0 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Yes, it would be really, really nice if libusb would compile again! On Tue, 2002-03-05 at 20:07, Alex wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > While trying to build the xsane port, I ran into the following problem > with libsub-0.1.5: > > bsd.c: In function `usb_set_altinterface': > bsd.c:154: structure has no member named `interface_index' > bsd.c:155: structure has no member named `alt_no' > bsd.c: In function `usb_control_msg': > bsd.c:287: structure has no member named `request' > bsd.c:288: structure has no member named `request' > bsd.c:289: structure has no member named `request' > bsd.c:289: structure has no member named `request' > bsd.c:289: warning: left-hand operand of comma expression has no effect > bsd.c:290: structure has no member named `request' > bsd.c:290: structure has no member named `request' > bsd.c:290: warning: left-hand operand of comma expression has no effect > bsd.c:291: structure has no member named `request' > bsd.c:291: structure has no member named `request' > bsd.c:291: warning: left-hand operand of comma expression has no effect > bsd.c:293: structure has no member named `data' > bsd.c:294: structure has no member named `flags' > bsd.c:306: structure has no member named `request' > bsd.c:306: structure has no member named `request' > bsd.c:307: warning: control reaches end of non-void function > bsd.c: In function `usb_find_devices_on_bus': > bsd.c:324: structure has no member named `addr' > bsd.c:330: structure has no member named `devnames' > bsd.c:335: structure has no member named `devnames' > *** Error code 1 > > I can see how a few things have been renamed in sys/dev/usb/usb.h for the > first few structures but I'm lost on the rest. Does anyone have a bsd.c > that's already been fixed up so libusb will build? > > My version from dmesg: > FreeBSD 4.5-STABLE #0: Sun Mar 3 08:27:11 EST 2002 > > Only thread I could find was: > http://groups.google.com/groups?hl=en&threadm=15481.27183.749281.980128%40whale.home-net.lucky.freebsd.current&rnum=1&prev=/groups%3Fq%3Dbsd.c:%2BIn%2Bfunction%2B%2560usb_set_altinterface%27:%26hl%3Den%26as_drrb%3Db%26as_mind%3D12%26as_minm%3D1%26as_miny%3D2001%26as_maxd%3D5%26as_maxm%3D3%26as_maxy%3D2002%26selm%3D15481.27183.749281.980128%2540whale.home-net.lucky.freebsd.current%26rnum%3D1 > > > Thanks, > Alex > > - --------------------------------------------------------------------- > alex@matrixwide.com > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.4 (OpenBSD) > Comment: For info see http://www.gnupg.org > > iD8DBQE8hZX3QII06+T026URAn0hAJ48LzrT2SD/euyT0tmuyNk60OMvYgCfZxdz > h7KPqzR10SYub60W8MoGRiM= > =yQcY > -----END PGP SIGNATURE----- > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-stable" in the body of the message -- _ | |V| / ' || MacroHard -- \ \_| | | \_, || the perfection of form over | ----------------------------------|| substance, marketing over | Web: http://www.borgsdemons.com || performance, and greed over | AIM: johnmcooper || design . . . | =====================================================================/ Public Key: http://www.borgsdemons.com/Personal/pgpkey.asc | =====================================================================\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message