From owner-freebsd-questions@FreeBSD.ORG Fri Feb 16 16:39:35 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D6A916A511 for ; Fri, 16 Feb 2007 16:39:35 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by mx1.freebsd.org (Postfix) with ESMTP id 1AF4413C481 for ; Fri, 16 Feb 2007 16:39:35 +0000 (UTC) (envelope-from jeffrey@goldmark.org) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id 186181AFEF6 for ; Fri, 16 Feb 2007 11:39:50 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by out1.internal (MEProxy); Fri, 16 Feb 2007 11:39:50 -0500 X-Sasl-enc: dMrg5FRe8uINV9w50oapPo/45Hmo/FoZLPUENDSL792k 1171643989 Received: from [10.1.10.136] (n114.ewd.goldmark.org [72.64.118.114]) by mail.messagingengine.com (Postfix) with ESMTP id BD3041ECFE for ; Fri, 16 Feb 2007 11:39:49 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v752.2) In-Reply-To: <200702152145.37967.gwschenk@socal.rr.com> References: <200702152145.37967.gwschenk@socal.rr.com> Content-Type: multipart/signed; micalg=sha1; boundary=Apple-Mail-1-63244791; protocol="application/pkcs7-signature" Message-Id: From: Jeffrey Goldberg Date: Fri, 16 Feb 2007 10:39:23 -0600 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.752.2) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: kernel make fails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Feb 2007 16:39:35 -0000 --Apple-Mail-1-63244791 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Feb 15, 2007, at 11:45 PM, Gary Schenk wrote: > After editing and successfully running "make cleandepend" and "make > depend", > my custom kernel failed during "make" with this output: > : undefined reference to `ieee80211_next_scan' > *** Error code 1 If you have removed all Wireless LAN stuff your kernel, then also comment out ural (USB wireless). This isn't properly documented in the NOTES or GENERIC comments, and the Handbook doesn't even mention ural. Like you, I discovered this the hard way. Here are excerpts from my kernel configuration file. # Wireless NIC cards #device wlan # 802.11 support #device wlan_wep # 802.11 WEP support #device wlan_ccmp # 802.11 CCMP support #device wlan_tkip # 802.11 TKIP support #device an # Aironet 4500/4800 802.11 wireless NICs. #device ath # Atheros pci/cardbus NIC's #device ath_hal # Atheros HAL (Hardware Access Layer) #device ath_rate_sample # SampleRate tx rate control for ath #device awi # BayStack 660 and others #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse # ural requires WLAN support #device ural # Ralink Technology RT2500USB wireless NICs device urio # Diamond Rio 500 MP3 player device uscanner # Scanners --Apple-Mail-1-63244791--