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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message