Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 02 Aug 2005 10:03:35 +0200
From:      Christian Brueffer <chris@unixpages.org>
To:        Martin Moeller <andvari@gmx.de>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Error compiling kernel in module ath
Message-ID:  <20050802080335.GA885@unixpages.org>
In-Reply-To: <20050802072200.GA16483@tyr.andvari.ath.cx>
References:  <20050802072200.GA16483@tyr.andvari.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 02, 2005 at 09:22:00AM +0200, Martin Moeller wrote:
> Hi all,
>=20
> I have just updated my sources to RELENG_6. The buildworld went ok, but
> I cannot compile the kernel. The linking terminates with:
>=20
> 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
>=20
> Stop in /usr/obj/usr/src/sys/KERNEL6.
> *** Error code 1
>=20
> Stop in /usr/src.
> *** Error code 1
>=20
> Stop in /usr/src.
>  =20
> Any ideas how to get rid of this?
>=20

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

- Christian

--=20
Christian Brueffer	chris@unixpages.org	brueffer@FreeBSD.org
GPG Key:	 http://people.freebsd.org/~brueffer/brueffer.key.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D

--J/dobhs11T7y2rNN
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFC7yjXbHYXjKDtmC0RArljAJ4viyqfpIS16x/7+tWZEH78/iTH7QCfdy78
0ot/JEKr+qTL1sXIinT55HI=
=Nz0C
-----END PGP SIGNATURE-----

--J/dobhs11T7y2rNN--




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