This is the same problem I reported earlier. It appears that the
updated USB stuff is trying to make a uvisor module, but the rest of the
USB driver is not up to the task.
On Thu, 2002-08-08 at 19:16, jbw wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I just upgrade my src...make build, make install worked fine. But
> I received the following error when trying to build my kernel..
>
>
>
> ===> uvisor
> cc -O -pipe -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-protot
>ypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extens
>ions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -mpreferred-stack
>-boundary=2 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmiss
>ing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -ansi - c
>/usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c: In function `uvisor_attach':
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:325: warning: implicit declar
>ation of function `usbd_add_drv_event'
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:325: `USB_EVENT_DRIVER_ATTACH '
>undeclared (first use in this function)
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:325: (Each undeclared identif
>ier is reported only once
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:325: for each function it app
>ears in.)
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c: In function `uvisor_detach':
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:372: `USB_EVENT_DRIVER_DETACH '
>undeclared (first use in this function)
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c: In function `uvisor_init':
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:396: too many arguments to fu
>nction `usbd_do_request_flags'
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c: In function `uvisor_close':
> /usr/src/sys/modules/uvisor/../../dev/usb/uvisor.c:485: too many arguments to fu
>nction `usbd_do_request_flags'
> *** Error code 1
>
> Stop in /usr/src/sys/modules/uvisor.
> *** Error code 1
>
> Stop in /usr/src/sys/modules.
> *** Error code 1
>
> Stop in /usr/obj/usr/src/sys/unifex.
> *** Error code 1
>
> Stop in /usr/src.
> *** Error code 1
>
> Stop in /usr/src.
>
>
> What do I need to do to get this to compile correctly?
>
> TIA
>
> jbw
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (FreeBSD)
>
> iD8DBQE9UyXpFqigFUYbBbIRAlelAKCAUfd+wqWITPlk6w6gxWr5/3oz6wCgiX34
> 2PL6k3k7r+Q7Rw3o51/KbHU=
> =78ka
> -----END PGP SIGNATURE-----
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message