From owner-freebsd-stable@FreeBSD.ORG Wed Aug 25 04:40:27 2010 Return-Path: Delivered-To: stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69DE61065693 for ; Wed, 25 Aug 2010 04:40:27 +0000 (UTC) (envelope-from mi+thunw@aldan.algebra.com) Received: from vms173005pub.verizon.net (vms173005pub.verizon.net [206.46.173.5]) by mx1.freebsd.org (Postfix) with ESMTP id 4AE018FC08 for ; Wed, 25 Aug 2010 04:40:26 +0000 (UTC) Received: from [192.168.1.9] ([unknown] [173.70.194.135]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0L7O00ALXYAPINP5@vms173005.mailsrvcs.net>; Tue, 24 Aug 2010 23:40:05 -0500 (CDT) Message-id: <4C749E8C.1020506@aldan.algebra.com> Date: Wed, 25 Aug 2010 00:39:40 -0400 From: "Mikhail T." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.8) Gecko/20100802 Lightning/1.0b2 Thunderbird/3.1.2 MIME-version: 1.0 To: sam@FreeBSD.org X-Mailman-Approved-At: Wed, 25 Aug 2010 11:03:11 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: stable@FreeBSD.org Subject: Can't compile ath(4) into kernel 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: Wed, 25 Aug 2010 04:40:27 -0000 My laptop's kernel config file reads: device wlan # 802.11 support device ath device ath_ar5212 device ath_rate_onoe Config raises no objections and the compilation succeeds, but linking the kernel breaks: ... linking kernel.debug ah.o(.text+0x218): In function `ath_hal_rfprobe': /home/mi/src/sys/dev/ath/ath_hal/ah.c:142: undefined reference to `__start_set_ah_rfs' ah.o(.text+0x21d):/home/mi/src/sys/dev/ath/ath_hal/ah.c:142: undefined reference to `__stop_set_ah_rfs' ah.o(.text+0x236):/home/mi/src/sys/dev/ath/ath_hal/ah.c:142: undefined reference to `__stop_set_ah_rfs' *** Error code 1 What could this be? All modules (including ath_hal) build correctly... Thank you! -mi