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 <msa...@gmail.com> skype: sunethnamal
_______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel