From owner-freebsd-questions@FreeBSD.ORG Wed Dec 29 15:29:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 523E316A4CE for ; Wed, 29 Dec 2004 15:29:32 +0000 (GMT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1AC0943D48 for ; Wed, 29 Dec 2004 15:29:31 +0000 (GMT) (envelope-from mayday@gmx.net) Received: (qmail invoked by alias); 29 Dec 2004 15:29:29 -0000 Received: from 66-75-1-229.san.rr.com (EHLO [192.168.0.173]) (66.75.1.229) by mail.gmx.net (mp015) with SMTP; 29 Dec 2004 16:29:29 +0100 X-Authenticated: #431110 From: Benjamin Sobotta To: Eric F Crist In-Reply-To: <0D7E04DF-595D-11D9-90F8-000D9333E43C@secure-computing.net> References: <0D7E04DF-595D-11D9-90F8-000D9333E43C@secure-computing.net> Content-Type: text/plain Message-Id: <1104337771.605.23.camel@rr> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Wed, 29 Dec 2004 16:29:32 +0000 Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 cc: 'FreeBSD_Questions' Questions Subject: Re: Why can't I compile new kernel (fbsd5.3) with device ath? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: mayday@gmx.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2004 15:29:32 -0000 Hi Just adding device ath is not enough. As your error messages suggest you also need to add "device ath_hal" to your config file... Ben On Wed, 2004-12-29 at 05:46, Eric F Crist wrote: > Hello all, > > I've copied /usr/src/sys/i386/conf/GENERIC to ./GROG and added the line: > > device ath > > for support of my new Netgear WG311 (listed on the HCL as supported) > and I get the following error when I try to recompile the kernel: > > : undefined reference to `ath_hal_mhz2ieee' > if_ath.o(.data+0x20): undefined reference to `sysctl__hw_ath_children' > if_ath.o(.data+0x60): undefined reference to `sysctl__hw_ath_children' > if_ath.o(.data+0xa0): undefined reference to `sysctl__hw_ath_children' > if_ath.o(.data+0x100): undefined reference to `sysctl__hw_ath_children' > if_ath.o(.data+0x160): undefined reference to `sysctl__hw_ath_children' > if_ath.o(.data+0x1a0): more undefined references to > `sysctl__hw_ath_children' follow > if_ath_pci.o(.text+0xae): In function `ath_pci_probe': > : undefined reference to `ath_hal_probe' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/GROG. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > Thanks for the help. > > > _______________________________________________________ > Eric F Crist "I am so smart, S.M.R.T!" > Secure Computing Networks -Homer J Simpson