Subject: Re: Errorcompiling the kernel
To: Christoph Dietzschold <cd@hoerbe.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 06/28/2004 21:59:02
On Mon, Jun 28, 2004 at 05:57:54PM +0200, Christoph Dietzschold wrote:
> Hi,
> 
> I just tried to compile a new kernel for my VIA C3 Box but got an error

What release ?

> during the make - process
> I don't know what to do to fix this error, may be you do. I would be happy
> if you could give me a hint to fix this.
> 
> hci.o(.text+0x37df): undefined reference to `usb_insert_transfer'
> uhci_pci.o: In function `uhci_pci_attach':
> uhci_pci.o(.text+0x2eb): undefined reference to `usbctlprint'
> fd.o: In function `fdstrategy':
> fd.o(.text+0x451): undefined reference to `fd_cd'
> fd.o(.text+0x458): undefined reference to `fd_cd'
> fd.o: In function `fdopen':
> fd.o(.text+0x9b6): undefined reference to `fd_cd'
> fd.o(.text+0x9bd): undefined reference to `fd_cd'
> fd.o: In function `fdclose':
> fd.o(.text+0xa99): undefined reference to `fd_cd'
> fd.o(.text+0xaa0): more undefined references to `fd_cd' follow
> *** Error code 1

You're probably missing the usb and fdc devices in the kernel config
file. If it's not the problem, try to remove the build directory and reconfig.
there could be out of date .o lying around.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--