2011-10-05 22:57:14

by Panu Avakul

[permalink] [raw]
Subject: Cannot make ath9k driver

Hello, I got the compat-wireless-2011-09-27 and was trying to make the
ath9k driver.
I did the
./scripts/driver-select ath9k
sudo make unload
sudo make

However, it give me this error

make -C /lib/modules/2.6.38-11-generic-pae/build
M=/home/radius0014/compat-wireless-2011-09-27 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.38-11-generic-pae'
CC [M] /home/radius0014/compat-wireless-2011-09-27/drivers/net/wireless/ath/debug.o
/home/radius0014/compat-wireless-2011-09-27/drivers/net/wireless/ath/debug.c:19:13:
error: redefinition of ?ath_opmode_to_string?
/home/radius0014/compat-wireless-2011-09-27/drivers/net/wireless/ath/ath.h:280:27:
note: previous definition of ?ath_opmode_to_string? was here
make[4]: *** [/home/radius0014/compat-wireless-2011-09-27/drivers/net/wireless/ath/debug.o]
Error 1
make[3]: *** [/home/radius0014/compat-wireless-2011-09-27/drivers/net/wireless/ath]
Error 2
make[2]: *** [/home/radius0014/compat-wireless-2011-09-27/drivers/net/wireless]
Error 2
make[1]: *** [_module_/home/radius0014/compat-wireless-2011-09-27] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.38-11-generic-pae'
make: *** [modules] Error 2

Does anyone have similar problem or know someway to fix this?
I used to got it to compiled a while ago and did not work with it until now.
I also tried different version and they all giving me similar error.

Thank you very much,
Best Regards,
Panu


2011-10-05 23:05:35

by Luis R. Rodriguez

[permalink] [raw]
Subject: Re: Cannot make ath9k driver

On Wed, Oct 5, 2011 at 3:57 PM, Panu Avakul <[email protected]> wrote:
> Hello, I got the compat-wireless-2011-09-27

Can you try today's release?

Luis

2011-10-05 23:14:40

by Panu Avakul

[permalink] [raw]
Subject: Re: Cannot make ath9k driver

Thank you very much for your reply,
I tried the compat-wireless-2011-09-27.tar.bz2 which is the latest one
I believed.
It still give me the same problem.
However,
I changed the ath.h file according to
https://dev.openwrt.org/changeset/28095
and it seems that now it works ok now.

Thank you very much.
Best Regards,
Panu Avakul

On Wed, Oct 5, 2011 at 4:05 PM, Luis R. Rodriguez <[email protected]> wrote:
> On Wed, Oct 5, 2011 at 3:57 PM, Panu Avakul <[email protected]> wrote:
>> Hello, I got the compat-wireless-2011-09-27
>
> Can you try today's release?
>
> ?Luis
>