From owner-freebsd-stable@FreeBSD.ORG Thu Sep 25 15:53:52 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDBEC1065689 for ; Thu, 25 Sep 2008 15:53:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA07.westchester.pa.mail.comcast.net (qmta07.westchester.pa.mail.comcast.net [76.96.62.64]) by mx1.freebsd.org (Postfix) with ESMTP id 989E78FC20 for ; Thu, 25 Sep 2008 15:53:52 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA08.westchester.pa.mail.comcast.net ([76.96.62.12]) by QMTA07.westchester.pa.mail.comcast.net with comcast id Jzei1a00A0Fqzac573trRf; Thu, 25 Sep 2008 15:53:51 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA08.westchester.pa.mail.comcast.net with comcast id K3to1a00C4v8bD73U3toUQ; Thu, 25 Sep 2008 15:53:49 +0000 X-Authority-Analysis: v=1.0 c=1 a=QycZ5dHgAAAA:8 a=8Hum7sOo72M-xL_Q0X8A:9 a=smrLyij4JyWH2OL2KWwA:7 a=63QoOFSqjNorEMngBMP4_ffUgmYA:4 a=o8a9Tf765uoA:10 a=EoioJ0NPDVgA:10 a=vdZ_FD5UzDkA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id 15970C9419; Thu, 25 Sep 2008 08:53:48 -0700 (PDT) Date: Thu, 25 Sep 2008 08:53:48 -0700 From: Jeremy Chadwick To: Kevin Message-ID: <20080925155348.GB16220@icarus.home.lan> References: <002901c91f21$52a90440$f7fb0cc0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <002901c91f21$52a90440$f7fb0cc0$@com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-stable@freebsd.org Subject: Re: Make buildkernel fails X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2008 15:53:53 -0000 On Thu, Sep 25, 2008 at 11:13:52AM -0400, Kevin wrote: > # uname -a > FreeBSD ck.com 7.0-STABLE FreeBSD 7.0-STABLE #1: Tue Jul 15 11:38:41 EDT > 2008 ck@friendlybearonskates.com:/usr/obj/usr/src/sys/CK i386 > # > > Make buildkernel kernconf=CK fails here : > > linking kernel.debug > sbp.o(.text+0xd9d): In function `sbp_free_ocb': > /usr/src/sys/dev/firewire/sbp.c:2905: undefined reference to > `xpt_release_devq' > snip and skip... > umass.o(.text+0x1c): In function `umass_cam_detach_sim': > /usr/src/sys/dev/usb/umass.c:2708: undefined reference to > `xpt_bus_deregister' xpt_* missing symbols are due to CAM being removed from your kernel configuration. You'll need "device scbus" and "device da". > /usr/src/sys/dev/usb/if_ural.c:627: undefined reference to > `ieee80211_free_node' ieee80211_* missing symbols are due to you attempting to include some wireless USB drivers; you'll need "device wlan". > It worked previously, the only change in my kernel configuration was "option > MROUTING", which doesn't seem related to this failure. I could comment out > all the usb/firewire options I suppose ,but I thought I'd get some insight > hopefully from stable first. A few things: 1) Your kernel configuration may be "out of date" compared to GENERIC. GENERIC is updated often; sometimes device names change, or things are removed/replaced or added for needed features. I assume your CK config is outdated since the box was last built in July. I recommend doing cp GENERIC CK and then editing CK to your needs. 2) Did you rm -fr /usr/obj/* before starting this build? If not, try it. There may be old cruft in there from July. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |