- priority: 5 --> 9
I get the following output when I attempt to compile fsc_btns.c with GCC 4.6.0-4 and kernel 2.6.38.5 in ArchLinux (though I might add, I had the same issue with the previous kernel and the new GCC version).
make -C /lib/modules/2.6.38-ARCH/build M=/home/sara/abs/aur/fjbtndrv/src/fjbtndrv-2.2.1/src/linux modules
make[1]: Entering directory `/usr/src/linux-2.6.38-ARCH'
CC [M] /home/sara/abs/aur/fjbtndrv/src/fjbtndrv-2.2.1/src/linux/fsc_btns.o
In file included from include/linux/bitops.h:22:0,
from include/linux/kernel.h:17,
from /home/sara/abs/aur/fjbtndrv/src/fjbtndrv-2.2.1/src/linux/fsc_btns.c:24:
/usr/src/linux-2.6.38-ARCH/arch/x86/include/asm/bitops.h: In function ‘fscbtns_isr_do’:
/usr/src/linux-2.6.38-ARCH/arch/x86/include/asm/bitops.h:319:2: error: use of memory input without lvalue in asm operand 1 is deprecated [-Werror]
cc1: all warnings being treated as errors
make[2]: *** [/home/sara/abs/aur/fjbtndrv/src/fjbtndrv-2.2.1/src/linux/fsc_btns.o] Error 1
make[1]: *** [_module_/home/sara/abs/aur/fjbtndrv/src/fjbtndrv-2.2.1/src/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.38-ARCH'
make: *** [fsc_btns.ko] Error 2
Thanks for looking into this.