From owner-freebsd-stable Tue Mar 5 20: 7: 7 2002 Delivered-To: freebsd-stable@freebsd.org Received: from relic.matrixwide.com (rdu163-32-014.nc.rr.com [24.163.32.14]) by hub.freebsd.org (Postfix) with ESMTP id 0D3B237B402 for ; Tue, 5 Mar 2002 20:07:01 -0800 (PST) Received: from localhost (alex@localhost) by relic.matrixwide.com (8.11.4/8.10.1) with ESMTP id g2647MT16536 for ; Tue, 5 Mar 2002 23:07:23 -0500 (EST) Date: Tue, 5 Mar 2002 23:07:09 -0500 (EST) From: Alex To: Subject: libusb-0.1.5 port compile problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 -----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