From: Dirk V. <dir...@ya...> - 2012-02-15 21:26:36
|
Hi ! I use openSUSE 12.1 with kernel 3.1.9. Compile of latest lirc version from git fails: ./configure --prefix=/usr --with-driver=hauppauge mkdir -p /privat/kernel/lirc/drivers/lirc_i2c/.tmp_versions ; rm -f /privat/kernel/lirc/drivers/lirc_i2c/.tmp_versions/* make -f /usr/src/linux-3.1.9-1.4/scripts/Makefile.build obj=/privat/kernel/lirc/drivers/lirc_i2c gcc -Wp,-MD,/privat/kernel/lirc/drivers/lirc_i2c/.lirc_i2c.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.6/include -I/usr/src/linux-3.1.9-1.4/arch/x86/include -Iarch/x86/include/generated -Iin clude -I/usr/src/linux-3.1.9-1.4/include -include /usr/src/linux-3.1.9-1.4/include/linux/kconfig.h -I/privat/kernel/lirc/drivers/lirc_i2c -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundar y=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -Wno-unused-but-set-variable -fomit-frame-pointer -fasynchronous-unwind-tables -g -fno-inline-functions-called-once -Wdeclarati on-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I/usr/src/linux-3.1.9-1.4/. -I. -I/usr/src/linux-3.1. 9-1.4/../.. -I../.. -I/privat/kernel/lirc/drivers/lirc_i2c/. -I/privat/kernel/lirc/drivers/lirc_i2c/. -I/privat/kernel/lirc/drivers/lirc_i2c/../.. -I/privat/kernel/lirc/drivers/lirc_i2c/../.. - I/lib/modules/3.1.9-1.4-desktop/build//include/ -I/lib/modules/3.1.9-1.4-desktop/build//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_i2c)" -D"KBUILD_MODNAME= KBUILD_STR(lirc_i2c)" -c -o /privat/kernel/lirc/drivers/lirc_i2c/.tmp_lirc_i2c.o /privat/kernel/lirc/drivers/lirc_i2c/lirc_i2c.c /privat/kernel/lirc/drivers/lirc_i2c/lirc_i2c.c: In Funktion »ir_probe«: /privat/kernel/lirc/drivers/lirc_i2c/lirc_i2c.c:559:13: Fehler: »struct i2c_adapter« hat kein Element namens »id« /privat/kernel/lirc/drivers/lirc_i2c/lirc_i2c.c: Auf höchster Ebene: /privat/kernel/lirc/drivers/lirc_i2c/lirc_i2c.c:232:12: Warnung: »add_to_buf_pvr2000« definiert, aber nicht verwendet [-Wunused-function] make[7]: *** [/privat/kernel/lirc/drivers/lirc_i2c/lirc_i2c.o] Fehler 1 make[6]: *** [_module_/privat/kernel/lirc/drivers/lirc_i2c] Fehler 2 make[5]: *** [sub-make] Fehler 2 make[4]: *** [all] Fehler 2 make[4]: Leaving directory `/usr/src/linux-3.1.9-1.4-obj/i386/desktop' make[3]: *** [lirc_i2c.o] Fehler 2 make[3]: Leaving directory `/backup/privat/kernel/lirc/drivers/lirc_i2c' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/backup/privat/kernel/lirc/drivers' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/backup/privat/kernel/lirc' make: *** [all] Fehler 2 Thanks, Dirk |