Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 09:34:01 +0000
From:      "Pierre Y. Dampure" <pierre.dampure@westmarsh.com>
To:        John Indra <john@naver.co.id>
Cc:        freebsd-current@freebsd.org
Subject:   Re: make buildkernel failed
Message-ID:  <3A544389.432F9800@westmarsh.com>
References:  <20010104130221.A517@naver.co.id>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A544389.432F9800>