Error compiling kernel in module ath

Christian Brueffer chris at unixpages.org
Tue Aug 2 08:04:09 GMT 2005


On Tue, Aug 02, 2005 at 09:22:00AM +0200, Martin Moeller wrote:
> Hi all,
> 
> I have just updated my sources to RELENG_6. The buildworld went ok, but
> I cannot compile the kernel. The linking terminates with:
> 
> linking kernel
> if_ath.o(.text+0x2635): In function `ath_node_alloc':
> : undefined reference to `ath_rate_node_init'
> if_ath.o(.text+0x268c): In function `ath_node_free':
> : undefined reference to `ath_rate_node_cleanup'
> if_ath.o(.text+0x26c4): In function `ath_node_free':
> : undefined reference to `ath_rate_node_cleanup'
> if_ath.o(.text+0x3929): In function `ath_start':
> : undefined reference to `ath_rate_setupxtxdesc'
> if_ath.o(.text+0x3b96): In function `ath_start':
> : undefined reference to `ath_rate_findrate'
> if_ath.o(.text+0x4902): In function `ath_tx_processq':
> : undefined reference to `ath_rate_tx_complete'
> if_ath.o(.text+0x5261): In function `ath_detach':
> : undefined reference to `ath_rate_detach'
> if_ath.o(.text+0x5be7): In function `ath_newstate':
> : undefined reference to `ath_rate_newstate'
> if_ath.o(.text+0x5cd0): In function `ath_newstate':
> : undefined reference to `ath_rate_newstate'
> if_ath.o(.text+0x60df): In function `ath_newassoc':
> : undefined reference to `ath_rate_newassoc'
> if_ath.o(.text+0x7ccb): In function `ath_attach':
> : undefined reference to `ath_rate_attach'
> *** Error code 1
> 
> Stop in /usr/obj/usr/src/sys/KERNEL6.
> *** Error code 1
> 
> Stop in /usr/src.
> *** Error code 1
> 
> Stop in /usr/src.
>   
> Any ideas how to get rid of this?
> 

Looks like you did not define a rate control algorithm.  Put 'device
ath_rate_sample' into your config and it should work.

- Christian

-- 
Christian Brueffer	chris at unixpages.org	brueffer at FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20050802/c6048410/attachment.bin


More information about the freebsd-current mailing list