Search Linux Wireless

KEY_RFKILL not found on kernel 2.6.30

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux