* KEY_RFKILL not found on kernel 2.6.30
@ 2010-03-04 4:58 Keith Bannister
2010-03-05 5:24 ` Nick Bertrand
2010-03-05 21:35 ` Pavel Roskin
0 siblings, 2 replies; 3+ messages in thread
From: Keith Bannister @ 2010-03-04 4:58 UTC (permalink / raw)
To: linux-wireless
I All,
I'm trying to compile compat-wireless on EasyPeasy (an Ubuntu 9.04
derivative for the eeepc)
The kernel headers are installed for my current kernel:
with
$ sudo apt-get install linux-headers-2.6.30.5-ep0
$ ls -l /lib/modules/`uname -r`/build
lrwxrwxrwx 1 root root 36 2010-03-04 12:02
/lib/modules/2.6.30.5-ep0/build ->
/usr/src/linux-headers-2.6.30.5-ep0/
I got the following compile error, after running
$ ./scripts/driver-select ath5k
$ make clean; make
make[1]: Entering directory `/usr/src/linux-headers-2.6.30.5-ep0'
CLEAN /home/keith/wireless/compat-wireless-2010-03-03
CLEAN /home/keith/wireless/compat-wireless-2010-03-03/.tmp_versions
make[1]: Leaving directory `/usr/src/linux-headers-2.6.30.5-ep0'
./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/2.6.30.5-ep0/build
M=/home/keith/wireless/compat-wireless-2010-03-03 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.30.5-ep0'
LD /home/keith/wireless/compat-wireless-2010-03-03/compat/built-in.o
.....
CC [M] /home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.o
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c: In
function ‘rfkill_event’:
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:219:
error: ‘KEY_RFKILL’ undeclared (first use in this function)
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:219:
error: (Each undeclared identifier is reported only once
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:219:
error: for each function it appears in.)
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c: At
top level:
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:307:
error: ‘KEY_RFKILL’ undeclared here (not in a function)
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:307:
error: array index in initialiser not of integer type
/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.c:307:
error: (near initialisation for ‘rfkill_ids[4].keybit’)
make[3]: *** [/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill/input.o]
Error 1
make[2]: *** [/home/keith/wireless/compat-wireless-2010-03-03/net/rfkill]
Error 2
make[1]: *** [_module_/home/keith/wireless/compat-wireless-2010-03-03] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.30.5-ep0'
make: *** [modules] Error 2
keith@keith-laptop:~/wireless/compat-wireless-2010-03-03$ uname -a
Linux keith-laptop 2.6.30.5-ep0 #10 SMP PREEMPT Thu Aug 27 19:45:06
CEST 2009 i686 GNU/Linux
Any Ideas?
--
Keith Bannister
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-03-05 21:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-04 4:58 KEY_RFKILL not found on kernel 2.6.30 Keith Bannister
2010-03-05 5:24 ` Nick Bertrand
2010-03-05 21:35 ` Pavel Roskin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox