Why can't I compile new kernel (fbsd5.3) with device ath?

Benjamin Sobotta mayday at gmx.net
Wed Dec 29 07:29:32 PST 2004


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



More information about the freebsd-questions mailing list