Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2004 16:29:32 +0000
From:      Benjamin Sobotta <mayday@gmx.net>
To:        Eric F Crist <ecrist@secure-computing.net>
Cc:        'FreeBSD_Questions' Questions <freebsd-questions@freebsd.org>
Subject:   Re: Why can't I compile new kernel (fbsd5.3) with device ath?
Message-ID:  <1104337771.605.23.camel@rr>
In-Reply-To: <0D7E04DF-595D-11D9-90F8-000D9333E43C@secure-computing.net>
References:  <0D7E04DF-595D-11D9-90F8-000D9333E43C@secure-computing.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1104337771.605.23.camel>