Re: latest -CURRENT kernel fails to build

From: Vincent Poy <vince_at_oahu.WURLDLINK.NET>
Date: Wed, 17 Sep 2003 22:09:12 -1000 (HST)
On Thu, 18 Sep 2003, Lukas Ertl wrote:

> On Wed, 17 Sep 2003, Vincent Poy wrote:
>
> > -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline
> > -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I.
> > -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
> > -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath
> > -I/usr/src/sys/contrib/dev/ath/freebsd -D_KERNEL -include opt_global.h
> > -fno-common -finline-limit=15000 -fno-strict-aliasing
> > -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
> > -Werror  vers.c
> > linking kernel.debug
> > if_ath.o: In function `ath_attach':
> > /usr/src/sys/dev/ath/if_ath.c:192: undefined reference to `ath_hal_attach'
>
> Do you have "device ath_hal" in your kernel config?

	Didn't have that since I couldn't find the ath stuff mentioned in
NOTES or GENERIC.  I only learned about the "device ath" when I was
searching for FreeBSD Atheros.  Sam gave me the pointers to add the
"device ath_hal" and it works fine from the FreeBSD side.  I haven't
bought my router yet to see if the link works.


Cheers,
Vince - vince_at_WURLDLINK.NET - Vice President             ________   __ ____
Unix Networking Operations - FreeBSD-Real Unix for Free / / / / |  / |[__  ]
WurldLink Corporation                                  / / / /  | /  | __] ]
San Francisco - Honolulu - Hong Kong                  / / / / / |/ / | __] ]
HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____]
Almighty1_at_IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin
Received on Wed Sep 17 2003 - 23:11:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC