Date: Mon, 25 Jan 1999 22:08:25 -0500 From: "Louis A. Mamakos" <louie@TransSys.COM> To: Alex Le Heux <alexlh@funk.org> Cc: freebsd-current@FreeBSD.ORG Subject: Re: usb driver broken? Message-ID: <199901260308.WAA12765@whizzo.transsys.com> In-Reply-To: Your message of "Tue, 26 Jan 1999 01:02:54 %2B0100." <36AD062E.EDF6A994@funk.org> References: <36AD062E.EDF6A994@funk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901260308.WAA12765>