Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 May 2007 08:34:38 +0000
From:      "Wojciech A. Koszek" <wkoszek@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   Re: Kernel compilation failure ...
Message-ID:  <20070521083438.GA91554@FreeBSD.czest.pl>
In-Reply-To: <b41c75520705210051w3ed9b086h9b7411187acffeb1@mail.gmail.com>
References:  <20070521074413.GL61558@ns2.wananchi.com> <b41c75520705210051w3ed9b086h9b7411187acffeb1@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 21, 2007 at 09:51:52AM +0200, Claus Guttesen wrote:
> >I am running -CURRENT on my desktop, csup-ped sources even today
> >- 20070521.
> >For the last one week or so, I cannot successfully compile a kernel.
> >Always fails here:
> >
> ><cut>
> >cc -shared -nostdlib hack.c -o hack.So
> >rm -f hack.c
> >MAKE=make sh /usr/src/sys/conf/newvers.sh alligator
> >cc -c -O -pipe  -std=c99 -g -Wall -Wredundant-decls -Wnested-externs 
> >-Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline 
> >-Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  -I. 
> >-I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL 
> >-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
> >-finline-limit=8000 --param inline-unit-growth=100 --param 
> >large-function-growth=1000  -mno-align-long-strings 
> >-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
> >-mno-sse3 -ffreestanding   vers.c
> >linking kernel.debug
> >if_ural.o(.text+0xe8f): In function `ural_attach':
> >/usr/src/sys/dev/usb/if_ural.c:491: undefined reference to 
> >`ieee80211_amrr_init'
> >if_ural.o(.text+0x2fa5): In function `ural_task':
> >/usr/src/sys/dev/usb/if_ural.c:2360: undefined reference to 
> >`ieee80211_amrr_node_init'
> >if_ural.o(.text+0x3179): In function `ural_amrr_update':
> >/usr/src/sys/dev/usb/if_ural.c:2418: undefined reference to 
> >`ieee80211_amrr_choose'
> >*** Error code 1
> 
> Something with a wireless usb-card in your kernel-config maybe? Is it
> ALLIGATOR a copy of GENERIC or customized?

Presence of ural(4) and lack of the wireless support seems to be the
cause of the problem. Try to check if you have wlan(4) present.

-- 
Wojciech A. Koszek
wkoszek@FreeBSD.org
http://FreeBSD.czest.pl/dunstan/



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