Date: Tue, 5 Mar 2002 23:07:09 -0500 (EST) From: Alex <alex@matrixwide.com> To: <freebsd-stable@freebsd.org> Subject: libusb-0.1.5 port compile problems Message-ID: <Pine.BSO.4.33.0203052259430.436-100000@relic.matrixwide.com>
next in thread | raw e-mail | index | archive | help
-----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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSO.4.33.0203052259430.436-100000>