I want to compile LIRC (0.8.2 and CVS) on my Linux 2.6.23-rc2 kernel. Didn't have any problems with 2.6.22.

make output:

root[lirc]# make
make  all-recursive
make[1]: Entering directory `/root/compile/lirc'
Making all in drivers
make[2]: Entering directory `/root/compile/lirc/drivers'
Making all in lirc_dev
make[3]: Entering directory `/root/compile/lirc/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.23-rc2-rt2/build/ SUBDIRS=/root/compile/lirc/drivers/lirc_dev modules \
                KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.23-rc2-rt2'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (            \
        echo;                                                          \
        echo "  ERROR: Kernel configuration is invalid.";              \
        echo "        include/linux/autoconf.h or include/config/auto.conf are missing.";      \
        echo "        Run 'make oldconfig && make prepare' on kernel src to fix it.";  \
        echo;                                                          \
        /bin/false)
mkdir -p /root/compile/lirc/drivers/lirc_dev/.tmp_versions
rm -f /root/compile/lirc/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/compile/lirc/drivers/lirc_dev
  gcc -m32 -Wp,-MD,/root/compile/lirc/drivers/lirc_dev/.lirc_dev.o.d  -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -D__KERNEL__ -Iinclude  -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -pipe -msoft-float -freg-struct-return -mpreferred-stack-boundary=2  -march=athlon -mregparm=3 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer  -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign  -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/root/compile/lirc/drivers/lirc_dev/../.. -I/lib/modules/2.6.23-rc2-rt2/build//include/ -I/lib/modules/2.6.23-rc2-rt2/build//drivers/media/video/  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"  -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /root/compile/lirc/drivers/lirc_dev/lirc_dev.o /root/compile/lirc/drivers/lirc_dev/lirc_dev.c
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c: In function 'lirc_register_plugin':
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c:387: warning: assignment from incompatible pointer type
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c: In function 'lirc_unregister_plugin':
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c:457: warning: assignment from incompatible pointer type
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c:458: warning: assignment from incompatible pointer type
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c: In function 'lirc_dev_init':
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c:883: error: void value not ignored as it ought to be
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c: In function 'cleanup_module':
/root/compile/lirc/drivers/lirc_dev/lirc_dev.c:910: error: void value not ignored as it ought to be
make[5]: *** [/root/compile/lirc/drivers/lirc_dev/lirc_dev.o] Error 1
make[4]: *** [_module_/root/compile/lirc/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.23-rc2-rt2'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/root/compile/lirc/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/compile/lirc/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/compile/lirc'
make: *** [all] Error 2



Smart art