From owner-freebsd-current Thu Jan 4 1:34:54 2001 From owner-freebsd-current@FreeBSD.ORG Thu Jan 4 01:34:52 2001 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mailgate.westmarsh.com (unknown [193.195.76.57]) by hub.freebsd.org (Postfix) with ESMTP id A7D5937B400 for ; Thu, 4 Jan 2001 01:34:51 -0800 (PST) Received: from westmarsh.com (mailgate.westmarsh.com [193.195.76.50]) by mailgate.westmarsh.com (8.11.1/8.11.1) with ESMTP id f049Y1n18969; Thu, 4 Jan 2001 09:34:04 GMT (envelope-from pierre.dampure@westmarsh.com) Sender: pierre.dampure@westmarsh.com Message-ID: <3A544389.432F9800@westmarsh.com> Date: Thu, 04 Jan 2001 09:34:01 +0000 From: "Pierre Y. Dampure" X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.12 i386) X-Accept-Language: en MIME-Version: 1.0 To: John Indra Cc: freebsd-current@freebsd.org Subject: Re: make buildkernel failed References: <20010104130221.A517@naver.co.id> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG John Indra wrote: > > Dear all... > > Recent -CURRENT make buildkernel target died with this message: > > ===> uscanner > cc -O -pipe -g -D_KERNEL -Wall -Wredundant-decls -Wnested-externs > -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline > -Wcast-qual -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- -I. -I@ > -I@/dev -I@/../include -mpreferred-stack-boundary=2 -c > /usr/src/sys/modules/uscanner/../../dev/usb/uscanner.c/usr/src/sys/modules/uscanner/../../dev/usb/uscanner.c:146: > `USB_PRODUCT_EPSON_1640' undeclared here (not in a function) > /usr/src/sys/modules/uscanner/../../dev/usb/uscanner.c:146: initializer > element > is not constant > /usr/src/sys/modules/uscanner/../../dev/usb/uscanner.c:146: (near > initialization for `scanner_ids[45].product') > *** Error code 1 > It looks like devlist2h.awk was not re-run after addition of the EPSON scanner (there is an entry for it in usbdevs, but not in usbdevs.h, hence the above error). You can run it manually by changing to /sys/dev/usb and issuing a: make -f Makefile.usbdevs That should fix your build. PYD To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message