Re: current kernel compile error (USB)

From: Andre Guibert de Bruet <andy_at_siliconlandmark.com>
Date: Wed, 30 Jun 2004 08:44:48 -0400 (EDT)
On Wed, 30 Jun 2004, Ertan Kucukoglu wrote:

> I have problem compiling "buildkernel" for two days. Error message I receive 
> is below:
> ----
>>>> stage 3.1: making dependencies
> [snip]
> awk -f _at_/tools/usbdevs2h.awk _at_/dev/usb/usbdevs
> awk -f _at_/tools/vnode_if.awk _at_/kern/vnode_if.src -h
> rm -f .depend
> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I_at_ 
> -I_at_/contrib/altq -I_at_/../include -I/usr/obj/usr/src/i386/usr/include 
> -I/usr/obj/usr/src/sys/OPTIMUM /usr/src/sys/modules/urio/../../dev/usb/urio.c
> ===> usb
> make: don't know how to make usbdevs_data.h. Stop
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> ----
> I do not understand about coding. So, is there anybody who can suggest me 
> something?

There were some changes to the way usbdevs is handled. I ran into 
something similar. Recvsup and try the following:

rm -rf /usr/src/sys/i386/compile/OPTIMUM
config -g /usr/src/sys/i386/conf/OPTIMUM
cd /usr/src/sys/i386/compile/OPTIMUM
make depend
make

This should get you a fully-linked kernel.

Regards,
Andy

> Andre Guibert de Bruet | Enterprise Software Consultant >
> Silicon Landmark, LLC. | http://siliconlandmark.com/    >
Received on Wed Jun 30 2004 - 10:45:49 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:59 UTC