[ath9k-devel] rfkill-regulator.c:58:22: error

2013-10-16 Thread suneth namal
Hello getting the following error while make. Could somebody please help me
to solve this.

thanks in advance,
BR,
Namal


I am gw
namal@ubuntu:~/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new$
sudo make
make -C /lib/modules/3.8.0-31-generic/build
M=/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new
modules
make[1]: Entering directory `/usr/src/linux-headers-3.8.0-31-generic'
  CC [M]
/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.o
/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.c:58:22:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘rfkill_regulator_probe’
/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.c:125:22:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘rfkill_regulator_remove’
/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.c:139:11:
error: ‘rfkill_regulator_probe’ undeclared here (not in a function)
/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.c:140:2:
error: implicit declaration of function ‘__devexit_p’
[-Werror=implicit-function-declaration]
/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.c:140:24:
error: ‘rfkill_regulator_remove’ undeclared here (not in a function)
cc1: some warnings being treated as errors
make[3]: ***
[/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.o]
Error 1
make[2]: ***
[/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill]
Error 2
make[1]: ***
[_module_/home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new]
Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.8.0-31-generic'
make: *** [modules] Error 2




-- 
*Suneth Namal*
Research Scientist/Doctoral Student,
Center for Wireless Communication,
University of Oulu,
Finland
Mobile: +358-41-728-2646
Mail: sune...@gmail.com 
skype: sunethnamal
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel


Re: [ath9k-devel] rfkill-regulator.c:58:22: error

2013-10-16 Thread Pavel Roskin
On Thu, 17 Oct 2013 01:03:42 +0530
suneth namal  wrote:

> Hello getting the following error while make. Could somebody please
> help me to solve this.

The problem has nothing to do with the ath9k driver.  The compile error
is in rfkill.

> /home/namal/compat-wireless-2012-07-16/compat-wireless-2012-07-16.new/net/rfkill/rfkill-regulator.o

Your compat-wireless is more than a year old.  Any problems in it are
likely solved.  Please try the latest kernel backports (successor to
compat-wireless) and use their channels to report problem if any.

https://backports.wiki.kernel.org/index.php/Main_Page

-- 
Regards,
Pavel Roskin
___
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel