Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jun 2004 08:44:48 -0400 (EDT)
From:      Andre Guibert de Bruet <andy@siliconlandmark.com>
To:        Ertan Kucukoglu <ertank@ozlerplastik.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: current kernel compile error (USB)
Message-ID:  <20040630083741.O809@alpha.siliconlandmark.com>
In-Reply-To: <40E2645D.8070301@ozlerplastik.com>
References:  <40E2645D.8070301@ozlerplastik.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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 @/tools/usbdevs2h.awk @/dev/usb/usbdevs
> awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h
> rm -f .depend
> mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ 
> -I@/contrib/altq -I@/../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/    >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040630083741.O809>