rum buildkernel breakeage

Garrett Cooper youshi10 at u.washington.edu
Wed May 9 16:25:18 UTC 2007


Garrett Cooper wrote:
> Harald Schmalzbauer wrote:
>> Hello,
>>
>> I'm out of ideas: I have "nodevice rum" in my kernel, also 
>> WITHOUT_MODULES="rum linux" in my make.conf.
>> But some code still wants to touch rum which fails with the following:
>> ...
>> linking kernel.debug
>> if_rum.o(.text+0x4e3): In function `rum_attach':
>> /FlashBSD/src/sys/dev/usb/if_rum.c:501: undefined reference to 
>> `ieee80211_ieee2mhz'
>> if_rum.o(.text+0x518):/FlashBSD/src/sys/dev/usb/if_rum.c:506: 
>> undefined reference to `ieee80211_ieee2mhz'
>> if_rum.o(.text+0x54d):/FlashBSD/src/sys/dev/usb/if_rum.c:511: 
>> undefined reference to `ieee80211_ieee2mhz'
>> if_rum.o(.text+0x585):/FlashBSD/src/sys/dev/usb/if_rum.c:516: 
>> undefined reference to `ieee80211_ieee2mhz'
>> .....
>> ieee80211_amrr.o(.text+0xef): In function `ieee80211_amrr_choose':
>> /FlashBSD/src/sys/net80211/ieee80211_amrr.c:101: undefined reference 
>> to `ieee80211_note'
>> ieee80211_amrr.o(.text+0x190):/FlashBSD/src/sys/net80211/ieee80211_amrr.c:125: 
>> undefined reference to `ieee80211_note'
>> *** Error code 1
>>
>> Thanks for hints,
>>
>> -Harry
> 
> Just try commenting out "device rum". What do you get then?
> 
> How are you trying to invoke make buildkernel, and what's your kernel 
> config like?
> -Garrett

I meant "nodevice rum". Is "nodevice {foo}" supposed to work as the OP 
expects, or is this just undefined behavior?

-Garrett


More information about the freebsd-current mailing list