Compiling ath9k on openSUSE 11.0
Hello,
I'm trying to compile ath9k on openSUSE 11.0. I checked out ath9k with
git clone git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/ath9k.git ath9k
then I tried to compile using
make modules
during compilation I get the following error
make -C /lib/modules/2.6.25.9-0.2-default/build M=/home/sebhen/ath9k modules make[1]: Entering directory `/usr/src/linux-2.6.25.9-0.2-obj/x86_64/default'
make -C /usr/src/linux-2.6.25.9-0.2 O=/usr/src/linux-2.6.25.9-0.2-obj/x86_64/def ault/. modules
CC [M] /home/sebhen/ath9k/ksrc/hw.o CC [M] /home/sebhen/ath9k/ksrc/phy.o CC [M] /home/sebhen/ath9k/ksrc/regd.o CC [M] /home/sebhen/ath9k/ksrc/beacon.o
In file included from /home/sebhen/ath9k/ksrc/beacon.c:19:/home/sebhen/ath9k/ksrc/core.h: In function ?list_cut_position?:/home/sebhen/ath9k/ksrc/core.h:121: error: implicit declaration of function ?list_is_singular? /home/sebhen/ath9k/ksrc/core.h: At top level:/home/sebhen/ath9k/ksrc/core.h:1155: error: ?IEEE80211_NUM_BANDS? undeclared here (not in a function) make[5]: *** [/home/sebhen/ath9k/ksrc/beacon.o] Fehler 1
make[4]: *** [/home/sebhen/ath9k/ksrc] Fehler 2
make[3]: *** [_module_/home/sebhen/ath9k] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.9-0.2-obj/x86_64/default'
make: *** [modules] Fehler 2
Here are some information on my system
uname -a
Linux linux-zvtl 2.6.25.9-0.2-default #1 SMP 2008-06-28 00:00:07 +0200 x86_64 x86_64 x86_64 GNU/Linux
gcc, make, kernel-sources are installed.
Regards
Sebastian
Signature · 2 lines
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf at gmx
Quoted 20 lines · Sebastian Henrich
make -C
/lib/modules/2.6.25.9-0.2-default/buildM=/home/sebhen/ath9k modules make[1]: Entering directory `/usr/src/linux-2.6.25.9-0.2-obj/x86_64/default'
make -C/usr/src/linux-2.6.25.9-0.2O=/usr/src/linux-2.6.25.9-0.2-obj/x86_64/def ault/. modulesCC [M] /home/sebhen/ath9k/ksrc/hw.o CC [M] /home/sebhen/ath9k/ksrc/phy.o CC [M] /home/sebhen/ath9k/ksrc/regd.o CC [M] /home/sebhen/ath9k/ksrc/beacon.oIn file included from
/home/sebhen/ath9k/ksrc/beacon.c:19:/home/sebhen/ath9k/ksrc/core.h: In function $,1rx(Blist_cut_position$,1ry(B:/home/sebhen/ath9k/ksrc/core.h:121: error: implicit declaration of function $,1rx(Blist_is_singular$,1ry(B/home/sebhen/ath9k/ksrc/core.h: At top level:/home/sebhen/ath9k/ksrc/core.h:1155: error: $,1rx(BIEEE80211_NUM_BANDS$,1ry(B undeclared here (not in a function) make[5]: *** [/home/sebhen/ath9k/ksrc/beacon.o] Fehler 1
make[4]: *** [/home/sebhen/ath9k/ksrc] Fehler 2
make[3]: *** [_module_/home/sebhen/ath9k] Fehler 2
make[2]: *** [sub-make] Fehler 2
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/usr/src/linux-2.6.25.9-0.2-obj/x86_64/default'
make: *** [modules] Fehler 2
Quoted 2 lines
Linux linux-zvtl 2.6.25.9-0.2-default #1 SMP 2008-06-28 00:00:07 +0200
x86_64x86_64x86_64GNU/Linux
You need a more recent kernel.list_is_singular was added in 2.6.26-rc1, IIRC
You can use wireless-testing for now and compile both the kernel and ath9k separately. compat-wireless will pick up ath9k once it gets into wireless-testing.
Sujith
Quoting Sujith <[email protected]>:
Quoted 7 lines
Quoted 1 line · Sebastian Henrich
Linux linux-zvtl 2.6.25.9-0.2-default #1 SMP 2008-06-28 00:00:07
+0200
x86_64x86_64x86_64GNU/LinuxQuoted 1 line
You need a more recent kernel.
list_is_singularwas added in 2.6.26-rc1, IIRC
I just checked, 2.6.26 won't work. Neither will the current mainline repository (linux-2.6).
Quoted 2 lines
You can use wireless-testing for now and compile both the kernel and
ath9k separately.
That's probably the only option now.
Quoted 1 line
compat-wireless will pick up ath9k once it gets into wireless-testing.
Let's hope it won't take long.
Signature · 2 lines
Regards, Pavel Roskin