Re: usb driver broken?

1999-01-25 Thread Louis A. Mamakos

I had this problem too.  It seems that the code included when you
define USB_DEBUG has suffered some bitrot.  Drop this out of your
kernel config, and these compile time errors will go away.

louie

> Hi,
> 
> Am I the only one who gets this when he tries to compile a kernel with
> the usb drivers in it?
> 
> 
> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit 
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
> -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused 
> -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include 
> -DKERNEL -include opt_global.h -elf  ../../dev/usb/uhci.c
> ../../dev/usb/uhci.c: In function `uhci_dumpregs':
> ../../dev/usb/uhci.c:406: `UHCI_LEGSUP' undeclared (first use this
> function)
> ../../dev/usb/uhci.c:406: (Each undeclared identifier is reported only
> once
> ../../dev/usb/uhci.c:406: for each function it appears in.)
> machine/cpufunc.h:284: warning: inlining failed in call to `inw'
> ../../dev/usb/uhci.c:406: warning: called from here
> *** Error code 1
> 
> Stop.
> 
> 
> Alex
> 
> To Unsubscribe: send mail to majord...@freebsd.org
> with "unsubscribe freebsd-current" in the body of the message



To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message


Re: usb driver broken?

1999-01-25 Thread Christopher Nielsen
On Tue, 26 Jan 1999, Alex Le Heux wrote:

> Am I the only one who gets this when he tries to compile a kernel with
> the usb drivers in it?

Nope. I ran into this same problem, but I haven't had a chance to query
the list about it. This is produced by having USB_DEBUG turned on in your
kernel config. UHCI_LEGSUP isn't defined anywhere in the usb code.

> cc -c -O -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit 
> -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes 
> -Wpointer-arith -Winline -Wuninitialized -Wformat -Wunused 
> -fformat-extensions -ansi  -nostdinc -I- -I. -I../.. -I../../../include 
> -DKERNEL -include opt_global.h -elf  ../../dev/usb/uhci.c
> ../../dev/usb/uhci.c: In function `uhci_dumpregs':
> ../../dev/usb/uhci.c:406: `UHCI_LEGSUP' undeclared (first use this
> function)
> ../../dev/usb/uhci.c:406: (Each undeclared identifier is reported only
> once
> ../../dev/usb/uhci.c:406: for each function it appears in.)
> machine/cpufunc.h:284: warning: inlining failed in call to `inw'
> ../../dev/usb/uhci.c:406: warning: called from here
> *** Error code 1
> 
> Stop.

-- 
Christopher Nielsen
Scient: The eBusiness Systems Innovator

cniel...@scient.com


To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message