Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 May 2007 09:25:11 -0700
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: rum buildkernel breakeage
Message-ID:  <4641F5E7.4090406@u.washington.edu>
In-Reply-To: <4641F574.3060102@u.washington.edu>
References:  <200705090846.29979.h.schmalzbauer@omnisec.de> <4641F574.3060102@u.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4641F5E7.4090406>