NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fail to updating an existing system from source



On Fri, Sep 19, 2008 at 4:46 AM, Ling Xiaoheng 
<lingxiaoheng%gmail.com@localhost> wrote:
> #      link  Machine/netbsd
> /usr/tools/bin/i386--netbsdelf-ld -Map netbsd.map --cref -T
> /usr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X
> -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> bha.o: In function `bha_attach':
> bha.c:(.text+0x1517): undefined reference to `scsi_bustype'
> bha.c:(.text+0x181f): undefined reference to `scsiprint'
> eap.o: In function `eap_attach':
> eap.c:(.text+0x23d7): undefined reference to `audio_attach_mi'
>
> *** Failed target:  netbsd

You did something wrong to your kernel config file. You probably
commented out a device you thought you didn't need, but there's
another device that depends on it or something.

Try building with a GENERIC kernel first. Or you can also try the
"old" way and run config on the kernel config file to make sure it's
OK (I don't remember if that's the right thing to do, but it's
something like that).

Andy


Home | Main Index | Thread Index | Old Index