Hallo,
ich baue mir gerade einen HTPC, mit einem nforce Motherboard + Hauppauge PVR 150 TV Karte.
so langsam fängt alles an zu funktionieren, leider schaffe ich es nicht lirc zu kompilieren.
Kann mir jemand vielleicht helfen ? Ich brauche die neueste Version das bedeutet –> lirc-0.7.1.tar.gz.
Ich entpacke das Paket, konfiguriere es mit dem setup.sh (sehr praktisch) und führe danach eine "make" aus. Aber jetzt fangen die Probleme an. Ich hab die build-essential installiert + kernel header + kernel source und den komischen (sudo ln -s /usr/src/linux-source-2.6.10/ /usr/src/linux) link gemacht.
Zusätzlich noch die alte config in die kernel source kompiert und ein make oldconfig durchgeführt.
Wenn ich jetzt make im lirc-src Verzeichniss ausführe:
You will have to use the lirc_i2c kernel module. Now enter 'make' and 'make install' to compile and install the package. root@mythtv01:/usr/local/src/lirc-0.7.1 # make make all-recursive make[1]: Entering directory `/usr/local/src/lirc-0.7.1' Making all in drivers make[2]: Entering directory `/usr/local/src/lirc-0.7.1/drivers' Making all in lirc_dev make[3]: Entering directory `/usr/local/src/lirc-0.7.1/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /usr/src/linux/ SUBDIRS=/usr/local/src/lirc-0.7.1/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/linux-source-2.6.10' mkdir -p /usr/local/src/lirc-0.7.1/drivers/lirc_dev/.tmp_versions make -f scripts/Makefile.build obj=/usr/local/src/lirc-0.7.1/drivers/lirc_dev gcc -Wp,-MD,/usr/local/src/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 -march=i686 -Iinclude/asm-i386/mach-default -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /usr/local/src/lirc-0.7.1/drivers/lirc_dev/../.. -I /usr/src/linux//include/ -DMODULE -DKBUILD_BASENAME=lirc_dev -DKBUILD_MODNAME=lirc_dev -c -o /usr/local/src/lirc-0.7.1/drivers/lirc_dev/.tmp_lirc_dev.o /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:28:27: linux/version.h: No such file or directory /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:29:40: missing binary operator before token "(" In file included from include/linux/module.h:10, from /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/sched.h:4:37: asm/param.h: No such file or directory In file included from include/linux/types.h:13, from include/linux/capability.h:16, from include/linux/sched.h:7, from include/linux/module.h:10, from /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/posix_types.h:47:29: asm/posix_types.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:10, from /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/types.h:14:23: asm/types.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:10, from /usr/local/src/lirc-0.7.1/drivers/lirc_dev/lirc_dev.c:36: include/linux/types.h:18: error: syntax error before "__kernel_dev_t" include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t' include/linux/types.h:18: warning: data definition has no type or storage class include/linux/types.h:21: error: syntax error before "dev_t" include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t' include/linux/types.h:21: warning: data definition has no type or storage class include/linux/types.h:22: error: syntax error before "ino_t" include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t' include/linux/types.h:22: warning: data definition has no type or storage class include/linux/types.h:23: error: syntax error before "mode_t" include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t' include/linux/types.h:23: warning: data definition has no type or storage class include/linux/types.h:24: error: syntax error before "nlink_t" include/linux/types.h:24: warning: type defaults to `int' in declaration of `nlink_t' include/linux/types.h:24: warning: data definition has no type or storage class include/linux/types.h:25: error: syntax error before "off_t" include/linux/types.h:25: warning: type defaults to `int' in declaration of `off_t' include/linux/types.h:25: warning: data definition has no type or storage class include/linux/types.h:26: error: syntax error before "pid_t" include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid_t' include/linux/types.h:26: warning: data definition has no type or storage class include/linux/types.h:27: error: syntax error before "daddr_t" include/linux/types.h:27: warning: type defaults to `int' in declaration of `daddr_t' include/linux/types.h:27: warning: data definition has no type or storage class include/linux/types.h:29: error: syntax error before "suseconds_t" include/linux/types.h:29: warning: type defaults to `int' in declaration of `suseconds_t' include/linux/types.h:29: warning: data definition has no type or storage class include/linux/types.h:30: error: syntax error before "timer_t" include/linux/types.h:30: warning: type defaults to `int' in declaration of `timer_t' include/linux/types.h:30: warning: data definition has no type or storage class include/linux/types.h:31: error: syntax error before "clockid_t" include/linux/types.h:31: warning: type defaults to `int' in declaration of `clockid_t' include/linux/types.h:31: warning: data definition has no type or storage class include/linux/types.h:35: error: syntax error before "uid_t" include/linux/types.h:35: warning: type defaults to `int' in declaration of `uid_t' include/linux/types.h:35: warning: data definition has no type or storage class include/linux/types.h:36: error: syntax error before "gid_t" include/linux/types.h:36: warning: type defaults to `int' in declaration of `gid_t' include/linux/types.h:36: warning: data definition has no type or storage class include/linux/types.h:37: error: syntax error before "uid16_t" include/linux/types.h:37: warning: type defaults to `int' in declaration of `uid16_t' include/linux/types.h:37: warning: data definition has no type or storage class
bis in alle Ewigkeit ..... Was mach ich falsch ??
Ciao cuniculus