Kernel compile problem with device wi in kernel. (GENERIC & custom kernels)

Mark Sergeant msergeant at snsonline.net
Mon Sep 8 00:26:23 PDT 2003


I've got the following problem when trying to compile a kernel with
todays sources and the device "wi" in it.

linking kernel
if_wi.o: In function `wi_attach':
if_wi.o(.text+0x2b4): undefined reference to `ieee80211_ieee2mhz'
if_wi.o(.text+0x673): undefined reference to `ieee80211_ifattach'
if_wi.o(.text+0x6a7): undefined reference to `ieee80211_media_init'
if_wi.o: In function `wi_detach':
if_wi.o(.text+0x7b2): undefined reference to `ieee80211_ifdetach'
if_wi.o: In function `wi_init':
if_wi.o(.text+0xd21): undefined reference to `ieee80211_chan2ieee'
if_wi.o(.text+0x12c9): undefined reference to `ieee80211_chan2ieee'
if_wi.o: In function `wi_start':
if_wi.o(.text+0x18f2): undefined reference to `ieee80211_encap'
if_wi.o(.text+0x1958): undefined reference to `ieee80211_wep_crypt'
if_wi.o(.text+0x1989): undefined reference to `ieee80211_free_node'
if_wi.o(.text+0x1b08): undefined reference to `ieee80211_free_node'
if_wi.o: In function `wi_watchdog':
if_wi.o(.text+0x1f07): undefined reference to `ieee80211_watchdog'
if_wi.o: In function `wi_ioctl':
if_wi.o(.text+0x2348): undefined reference to `ieee80211_ioctl'
if_wi.o: In function `wi_media_change':
if_wi.o(.text+0x23f2): undefined reference to `ieee80211_media_change'
if_wi.o: In function `wi_media_status':
if_wi.o(.text+0x2520): undefined reference to `ieee80211_rate2media'
if_wi.o: In function `wi_rx_intr':
if_wi.o(.text+0x2d6d): undefined reference to `ieee80211_find_node'
if_wi.o(.text+0x2da7): undefined reference to `ieee80211_input'
if_wi.o(.text+0x2dc5): undefined reference to `ieee80211_free_node'
if_wi.o: In function `wi_get_cfg':
if_wi.o(.text+0x408a): undefined reference to `ieee80211_cfgget'
if_wi.o: In function `wi_set_cfg':
if_wi.o(.text+0x47a2): undefined reference to `ieee80211_cfgset'
if_wi.o: In function `wi_newstate':
if_wi.o(.text+0x56e4): undefined reference to `ieee80211_state_name'
if_wi.o: In function `wi_dump_pkt':
if_wi.o(.text+0x5cee): undefined reference to `ieee80211_dump_pkt'
*** Error code 1

Stop in /usr/src/sys/i386/compile/XYZZY.


uname -a output :

FreeBSD xyzzy.wireless.snsonline.net 5.1-CURRENT FreeBSD 5.1-CURRENT #0:
Mon Sep  8 13:25:52 EST 2003    
root at xyzzy.wireless.snsonline.net:/usr/obj/usr/src/sys/XYZZY  i386


Cheers,

-- 
Mark Sergeant <msergeant at snsonline.net>
SNSOnline Technical Services


More information about the freebsd-current mailing list