Subject: Re: Custom XEN3_DOM0 kernel
To: Andrew Leach <imamushroom@gmail.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 02/19/2007 22:44:40
On Mon, Feb 19, 2007 at 04:57:41PM +0100, Andrew Leach wrote:
> Hi,
> 
> I'm trying to customise XEN3_DOM3 kernel so that it includes the ral*
> driver for cardbus using NetBSD 4beta2 however, it keeps failing with
> the following message:
> 
> ontrib/dev/ath/netbsd -I/usr/src/NetBSD-4-v2/src/sys/../common/include
> -I/usr/src/NetBSD-4-v2/src/sys/arch  -I/usr/src/NetBSD-4-v2/src/sys
> -nostdinc -DLKM -DDIAGNOSTIC -DDEBUG -DMSGBUFSIZE="24576" -DMAXUSERS=8
> -D_KERNEL -D_KERNEL_OPT
> -I/usr/src/NetBSD-4-v2/src/sys/lib/libkern/../../../common/lib/libc/quad
> -I/usr/src/NetBSD-4-v2/src/sys/lib/libkern/../../../common/lib/libc/string
> -I/usr/src/NetBSD-4-v2/src/sys/lib/libkern/../../../common/lib/libc/arch/i386/string
> -I/usr/src/NetBSD-4-v2/src/sys/dist/ipf  -c vers.c
> #      link  CUSTOM_XEN3_DOM0-2/netbsd
> /usr/src/NetBSD-4-v2/src/../tools/bin/i386--netbsdelf-ld -Map
> netbsd.map --cref -T
> /usr/src/NetBSD-4-v2/src/sys/arch/i386/conf/kern.ldscript.Xen -Ttext
> c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
> cardslot.o: In function `cardslot_event_thread':
> /usr/src/NetBSD-4-v2/src/sys/dev/cardbus/cardslot.c:378: undefined
> reference to `pcmcia_card_attach'

Did you also add
pcmcia*         at cardslot?
in your config file ?

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