From: todd b. <to...@to...> - 2008-06-28 21:27:23
|
Hi all I sure this has been asked before, so feel free to forward me a link to the solution. I have a new install of fedora 9. when I try to build lirc I get all sorts of error messages. Can some one look at this and tell me how to fix? thanks I run setup, for a serial port then make then make install. setup works the rest doesn'tYou will have to use the lirc_serial kernel module. Now enter 'make' and 'make install' to compile and install the package. [root@mythtv lirc]# make make all-recursive make[1]: Entering directory `/root/Desktop/lirc' Making all in drivers make[2]: Entering directory `/root/Desktop/lirc/drivers' Making all in lirc_dev make[3]: Entering directory `/root/Desktop/lirc/drivers/lirc_dev' mv Makefile Makefile.automake cp ../Makefile.kernel Makefile make -C /lib/modules/2.6.25.6-55.fc9.i686/build/ SUBDIRS=/root/Desktop/lirc/drivers/lirc_dev modules \ KBUILD_VERBOSE=1 make[4]: Entering directory `/usr/src/kernels/2.6.25.6-55.fc9.i686' 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/Desktop/lirc/drivers/lirc_dev/.tmp_versions ; rm -f /root/Desktop/lirc/drivers/lirc_dev/.tmp_versions/* make -f scripts/Makefile.build obj=/root/Desktop/lirc/drivers/lirc_dev gcc -Wp,-MD,/root/Desktop/lirc/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.3.0/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -fno-stack-protector -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-generic -Iinclude/asm-x86/mach-default -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/root/Desktop/lirc/drivers/lirc_dev/../.. -I/lib/modules/2.6.25.6-55.fc9.i686/build//include/ -I/lib/modules/2.6.25.6-55.fc9.i686/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/Desktop/lirc/drivers/lirc_dev/lirc_dev.o /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_register_plugin’: /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:245: error: implicit declaration of function ‘DECLARE_MUTEX_LOCKED’ /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:245: error: ‘tn’ undeclared (first use in this function) /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:245: error: (Each undeclared identifier is reported only once /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:245: error: for each function it appears in.) /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_unregister_plugin’: /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:434: error: ‘tn’ undeclared (first use in this function) /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:435: error: ‘tn2’ undeclared (first use in this function) /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_dev_init’: /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:883: error: void value not ignored as it ought to be /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c: In function ‘cleanup_module’: /root/Desktop/lirc/drivers/lirc_dev/lirc_dev.c:910: error: void value not ignored as it ought to be make[5]: *** [/root/Desktop/lirc/drivers/lirc_dev/lirc_dev.o] Error 1 make[4]: *** [_module_/root/Desktop/lirc/drivers/lirc_dev] Error 2 make[4]: Leaving directory `/usr/src/kernels/2.6.25.6-55.fc9.i686' make[3]: *** [lirc_dev.o] Error 2 make[3]: Leaving directory `/root/Desktop/lirc/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/root/Desktop/lirc/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/lirc' make: *** [all] Error 2 [root@mythtv lirc]# [root@mythtv lirc]# [root@mythtv lirc]# make install Making install in drivers make[1]: Entering directory `/root/Desktop/lirc/drivers' Making install in lirc_dev make[2]: Entering directory `/root/Desktop/lirc/drivers/lirc_dev' make[2]: *** No rule to make target `install'. Stop. make[2]: Leaving directory `/root/Desktop/lirc/drivers/lirc_dev' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/root/Desktop/lirc/drivers' make: *** [install-recursive] Error 1 [root@mythtv lirc]# |