From owner-freebsd-current Mon Jan 25 19:08:45 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA10227 for freebsd-current-outgoing; Mon, 25 Jan 1999 19:08:45 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from whizzo.transsys.com (whizzo.TransSys.COM [144.202.42.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA10195 for ; Mon, 25 Jan 1999 19:08:42 -0800 (PST) (envelope-from louie@whizzo.transsys.com) Received: from whizzo.transsys.com (localhost.transsys.com [127.0.0.1]) by whizzo.transsys.com (8.9.2/8.9.1) with ESMTP id WAA12765; Mon, 25 Jan 1999 22:08:25 -0500 (EST) (envelope-from louie@whizzo.transsys.com) Message-Id: <199901260308.WAA12765@whizzo.transsys.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Alex Le Heux cc: freebsd-current@FreeBSD.ORG From: "Louis A. Mamakos" Subject: Re: usb driver broken? References: <36AD062E.EDF6A994@funk.org> In-reply-to: Your message of "Tue, 26 Jan 1999 01:02:54 +0100." <36AD062E.EDF6A994@funk.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 25 Jan 1999 22:08:25 -0500 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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