Skip site navigation (1)Skip section navigation (2)
Date:      05 Mar 2002 21:21:22 -0800
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        Alex <alex@matrixwide.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: libusb-0.1.5 port compile problems
Message-ID:  <1015392083.1217.31.camel@johncoop.MSHOME>
In-Reply-To: <Pine.BSO.4.33.0203052259430.436-100000@relic.matrixwide.com>
References:  <Pine.BSO.4.33.0203052259430.436-100000@relic.matrixwide.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1015392083.1217.31.camel>