Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Jul 2007 10:10:37 +0200
From:      "Sven Braun" <braun.sven@googlemail.com>
To:        freebsd-current@freebsd.org
Subject:   Problems with ath_hal-20070428
Message-ID:  <bf9eeaf30707150110m5c0bb79fv525f8eeaa4803987@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello everybody,

I downloaded ath_hal-20070428.tgz by Sam Leffler and hoped it will
work with my Atheros AR5008 in my Macbook, 2nd generation.

I went ahead in the following way:

fetch http://people.freebsd.org/~sam/ath_hal-20070428.tgz
tar xfz ath_hal-20070428.tgz
cd ath_hal-20070428
cp -R *.* /usr/src/sys/contrib/dev/ath/
cd /usr/src
make buildkernel

and got the following error:

rm -f hack.c
MAKE=make sh /usr/src/sys/conf/newvers.sh MACBOOK
cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc
-I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -D_KERNEL
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
-finline-limit=8000 --param inline-unit-growth=100 --param
large-function-growth=1000 -mno-align-long-strings
-mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2
-mno-sse3 -ffreestanding -Werror  vers.c
linking kernel.debug
if_ath.o(.text+0x6b98): In function 'ath_getchannels':
/usr/src/sys/dev/ath/if_ath.c:5490: undefined reference to 'ath_hal_isgsmsku'
*** Error code 1

Stop in /usr/obj/usr/src/sys/MACBOOK.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.



I tried to fix the problem, but my C programming skills are
unfortunately low, so  I ask you:
Do you know how to fix the problem?

Thanks in advance,

Sven Braun



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