Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2 compile error under 2.6.24 kernel

open
nobody
5
2008-03-24
2008-03-24
Anonymous
No

There is a problem when compiling under 2.6.24 kernel.
My distro is ArchLinux

make -C /lib/modules/2.6.24-ARCH/build SUBDIRS=/usr/local/src/lirc_mod_mce modules
make[1]: Entering directory `/usr/src/linux-2.6.24-ARCH'
CC [M] /usr/local/src/lirc_mod_mce/lirc_mod_mce.o
/usr/local/src/lirc_mod_mce/lirc_mod_mce.c: In function ‘usb_remote_probe’:
/usr/local/src/lirc_mod_mce/lirc_mod_mce.c:1122: error: implicit declaration of function ‘LONG’
/usr/local/src/lirc_mod_mce/lirc_mod_mce.c:1122: warning: left shift count >= width of type
/usr/local/src/lirc_mod_mce/lirc_mod_mce.c:1122: warning: left shift count >= width of type
make[2]: *** [/usr/local/src/lirc_mod_mce/lirc_mod_mce.o] Error 1
make[1]: *** [_module_/usr/local/src/lirc_mod_mce] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.24-ARCH'
make: *** [default] Error 2

The directory content:

$ ls -l
celkem 68
-rw-r--r-- 1 lukas lukas 18007 6. zář 2006 COPYING
-rw-r--r-- 1 lukas lukas 143 2. led 2007 Makefile
-rw-r--r-- 1 lukas lukas 8342 7. led 2006 kcompat.h
lrwxrwxrwx 1 lukas lukas 34 24. bře 17.01 lirc.h -> /usr/local/src/lirc/drivers/lirc.h
lrwxrwxrwx 1 lukas lukas 47 24. bře 17.01 lirc_dev.h -> /usr/local/src/lirc/drivers/lirc_dev/lirc_dev.h
-rw------- 1 lukas lukas 32494 17. dub 2007 lirc_mod_mce.c

Discussion