Subject: COMPAT_NDIS doesn't build
To: None <current-users@netbsd.org>
From: Juan RP <juan@xtrarom.org>
List: current-users
Date: 04/18/2006 19:19:17
Hi,

Looks like "options COMPAT_NDIS" doesn't seem to link correctly:

#      link  Nocturno/netbsd
/home/juan/build/tools/bin/i386--netbsdelf-ld -T /usr/src/sys/arch/i386/conf/kern.ldscript -Ttext c0100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
kern_ndis.o: In function `ndis_status_func':
kern_ndis.c:(.text+0xcd9): undefined reference to `device_printf'
kern_ndis.o: In function `ndis_statusdone_func':
kern_ndis.c:(.text+0xd12): undefined reference to `device_printf'
kern_ndis.o: In function `ndis_resetdone_func':
kern_ndis.c:(.text+0xdbf): undefined reference to `device_printf'

Can you please fix this Alan?

BTW, how is it supposed to work? I think there aren't instructions
about it... 

Thanks.