From owner-freebsd-current@FreeBSD.ORG Wed May 9 16:25:17 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 DA1F416A4D0 for ; Wed, 9 May 2007 16:25:17 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.freebsd.org (Postfix) with ESMTP id E893613C50D for ; Wed, 9 May 2007 16:25:14 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.32.141] (may be forged)) by mxout1.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l49GPDbE020196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 9 May 2007 09:25:13 -0700 X-Auth-Received: from [192.168.10.45] (c-67-187-164-17.hsd1.ca.comcast.net [67.187.164.17]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l49GPC8L005763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 9 May 2007 09:25:12 -0700 Message-ID: <4641F5E7.4090406@u.washington.edu> Date: Wed, 09 May 2007 09:25:11 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.0 (Windows/20070326) MIME-Version: 1.0 To: Harald Schmalzbauer References: <200705090846.29979.h.schmalzbauer@omnisec.de> <4641F574.3060102@u.washington.edu> In-Reply-To: <4641F574.3060102@u.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.1.294258, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.5.9.90036 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: freebsd-current@freebsd.org Subject: Re: rum buildkernel breakeage 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: Wed, 09 May 2007 16:25:18 -0000 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