Loading if_wi from loader.conf?
Adam K Kirchhoff
adamk at voicenet.com
Fri Dec 24 06:40:47 PST 2004
Adam K Kirchhoff <adamk at xxxxxxxxxxxx> wrote:
> This doesn't seem to work currently:
> Preloaded elf module "/modules/if_wi.ko" at 0xc0554360.
> link_elf: symbol ieee80211_ieee2mhz undefined
> Preloaded elf module "/modules/wlan.ko" at 0xc0554408.
> And wi0 isn't detected when it continues to boot up.
> Adam
I tried compiling it into the kernel:
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -ansi -g -nostdinc -I. -I/usr/src/sys
-I/usr/src/sys/../include -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/ipfilter -D_KERNEL -include opt_global.h
-mpreferred-stack-boundary=2 -fno-common -ffreestanding vers.c
linking kernel.debug
if_wi.o: In function `wi_attach':
/usr/src/sys/dev/netif/wi/if_wi.c:315: undefined reference to
`ieee80211_ieee2mhz'
/usr/src/sys/dev/netif/wi/if_wi.c:460: undefined reference to
`ieee80211_ifattach'
/usr/src/sys/dev/netif/wi/if_wi.c:485: undefined reference to
`ieee80211_media_init'
And so on till the build complete errors out.
Adam
More information about the Bugs
mailing list