Re: Error compiling kernel in module ath

From: Christian Brueffer <chris_at_unixpages.org>
Date: Tue, 02 Aug 2005 10:03:35 +0200
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

Received on Tue Aug 02 2005 - 06:04:09 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:40 UTC