From owner-freebsd-current@FreeBSD.ORG Mon May 21 08:27:25 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0D9CA16A468 for ; Mon, 21 May 2007 08:27:25 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from ns2.wananchi.com (ns2.wananchi.com [62.8.64.4]) by mx1.freebsd.org (Postfix) with ESMTP id 280C913C46A for ; Mon, 21 May 2007 08:27:24 +0000 (UTC) (envelope-from wash@wananchi.com) Received: from wash by ns2.wananchi.com with local (Exim 4.67 #0 (FreeBSD 4.11-STABLE)) id 1Hq3Ef-00014k-3D by authid for ; Mon, 21 May 2007 11:27:21 +0300 Date: Mon, 21 May 2007 11:27:21 +0300 From: Odhiambo Washington To: freebsd-current@freebsd.org Message-ID: <20070521082721.GA80782@ns2.wananchi.com> Mail-Followup-To: Odhiambo Washington , freebsd-current@freebsd.org References: <20070521074413.GL61558@ns2.wananchi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Disclaimer: Any views expressed in this message, where not explicitly attributed otherwise, are mine alone!. X-Mailer: Mutt 1.5.13 (2006-08-11) X-Designation: Systems Administrator, Wananchi Online Ltd. X-Location: Nairobi, KE, East Africa. User-Agent: Mutt/1.5.13 (2006-08-11) Subject: Re: Kernel compilation failure ... X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 May 2007 08:27:25 -0000 * On 21/05/07 09:51 +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: | > | > | >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? The only customization I did involved commenting out the WITNESS options. I have `cp GENERIC ALLIGATOR` now and tried again and it did not fail. Perhaps there were things added to GENERIC within the period I have had these failures, which I needed to add to ALLIGATOR. So I have learnt my lesson: I need to diff my kernel config file against GENERIC so often as to NOT miss any changes that have been made into GENERIC. Thank you all for the pointers. PS: Is anyone using -CURRENT as their Desktop? I deinstalled gain 1.5.x and now compiling pidgin IM client is a pain as well. I am not sure it is right to discuss that in -current though! -Wash http://www.netmeister.org/news/learn2quote.html DISCLAIMER: See http://www.wananchi.com/bms/terms.php -- +======================================================================+ |\ _,,,---,,_ | Odhiambo Washington Zzz /,`.-'`' -. ;-;;,_ | Wananchi Online Ltd. www.wananchi.com |,4- ) )-,_. ,\ ( `'-'| Tel: +254 20 313985-9 +254 20 313922 '---''(_/--' `-'\_) | GSM: +254 722 743223 +254 733 744121 +======================================================================+ Beware of low-flying butterflies.