From owner-freebsd-current Mon Jan 25 18:29:15 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA02557 for freebsd-current-outgoing; Mon, 25 Jan 1999 18:29:15 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from hillbilly.hayseed.net (dnai-207-181-249-194.dsl.dnai.com [207.181.249.194]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA02549 for ; Mon, 25 Jan 1999 18:29:12 -0800 (PST) (envelope-from enkhyl@scient.com) Received: from localhost (IDENT:root@localhost [127.0.0.1]) by hillbilly.hayseed.net (8.9.1/8.8.5) with ESMTP id SAA00502; Mon, 25 Jan 1999 18:28:46 -0800 Date: Mon, 25 Jan 1999 18:28:42 -0800 (PST) From: Christopher Nielsen X-Sender: enkhyl@ender.sf.scient.com Reply-To: Christopher Nielsen To: Alex Le Heux cc: freebsd-current@FreeBSD.ORG Subject: Re: usb driver broken? In-Reply-To: <36AD062E.EDF6A994@funk.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 cnielsen@scient.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message