Trying to compile lirc 0.7.1 but lots of errors/kernel compile errors
I'm trying to compile lirc 0.7.1 from source. When I run "make" I get a lot of errors: make[4]: Entering directory `/usr/src/linux-2.6.8-24.14' mkdir -p /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/.tmp_versions WARNING: Symbol version dump /usr/src/linux-2.6.8-24.14/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled. make -f scripts/Makefile.build obj=/home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev gcc -Wp,-MD,/home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/.lirc_ dev.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -funit-at-a-time -fno-unit-at-a-time -march=i586 -mregparm=3 -Iinclude/asm-i386/mach-default -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD_BASENAME=lirc_dev -DKBUILD_MODNAME=lirc_dev -c -o /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/.tmp_lirc_dev. o /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:35: 26: linux/config.h: No such file or directory In file included from include/linux/module.h:9, from /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/sched.h:6:26: linux/config.h: No such file or directory In file included from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:9, from /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/types.h:5:26: linux/config.h: No such file or directory In file included from include/linux/types.h:14, from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:9, from /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/asm/types.h:38:26: linux/config.h: No such file or directory In file included from include/linux/capability.h:45, from include/linux/sched.h:7, from include/linux/module.h:9, from /home/mythtv/download/support/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/spinlock.h:10:26: linux/config.h: No such file or directory I've read that the lirc source doesn't like the SuSE kernel source, and you should re-compile the kernel. However, doing that falls down too: In file included from scripts/mod/file2alias.c:30: include/linux/mod_devicetable.h:15: error: conflicting types for `kernel_ulong_t' scripts/mod/file2alias.c:18: error: previous declaration of `kernel_ulong_t' make[2]: *** [scripts/mod/file2alias.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 Any ideas? Thanks! -Khanh
On Sunday 05 June 2005 01:48, Khanh Tran wrote:
I'm trying to compile lirc 0.7.1 from source.
When I run "make" I get a lot of errors: <snip lots of kernel errors>
You didn't prepare your kernel source as root, do cd /usr/src/linux make mrproper make cloneconfig make prepare-all
participants (2)
-
Anders Johansson
-
Khanh Tran