Subject: Kernel fails to build with NDIS support
To: None <current-users@NetBSD.org>
From: Chris Tribo <ctribo@dtcc.edu>
List: current-users
Date: 10/04/2006 15:38:40
The man page only mentions needing COMPAT_NDIS and ndis* at pci?, do
I need to uncomment a wirless card to pull in the 802.11 layer? I had
to define LKM to kill the lkmentry warnings, but this isn't an LKM is
it?
making sure the kern library is up to date...
`libkern.a' is up to date.
# link SoulCollector/netbsd
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
if_ndis.o: In function `ndis_media_status':
if_ndis.c:(.text+0x5da): undefined reference to `ieee80211_rate2media'
if_ndis.c:(.text+0x648): undefined reference to `ieee80211_rate2media'
if_ndis.o: In function `ndis_setstate_80211':
if_ndis.c:(.text+0xb7c): undefined reference to `ieee80211_chan2ieee'
if_ndis.c:(.text+0xb93): undefined reference to `ieee80211_mhz2ieee'
if_ndis.o: In function `ndis_ticktask':
if_ndis.c:(.text+0x14be): undefined reference to `ieee80211_mhz2ieee'
if_ndis.o: In function `ndis_detach':
if_ndis.c:(.text+0x183a): undefined reference to `ieee80211_ifdetach'
if_ndis.o: In function `ndis_attach':
if_ndis.c:(.text+0x20be): undefined reference to `ieee80211_ieee2mhz'
if_ndis.c:(.text+0x21e0): undefined reference to `ieee80211_ifattach'
if_ndis.c:(.text+0x21ed): undefined reference to
`ieee80211_media_change'
if_ndis.c:(.text+0x21f3): undefined reference to `ieee80211_media_init'
if_ndis.o: In function `ndis_ioctl':
if_ndis.c:(.text+0x2995): undefined reference to `ieee80211_ioctl'
if_ndis.c:(.text+0x2adf): undefined reference to `ieee80211_ioctl'
if_ndis.c:(.text+0x2e2b): undefined reference to `ieee80211_mhz2ieee'
kern_ndis.o: In function `ndis_lkmentry':
kern_ndis.c:(.text+0x166a): undefined reference to `lkmdispatch'
kern_ndis.c:(.text+0x1696): undefined reference to `lkmdispatch'
kern_ndis.c:(.text+0x1635): undefined reference to `lkmdispatch'
*** Error code 1
Stop.
make: stopped in /usr/src/sys/arch/i386/compile/obj/SoulCollector