From: Calvin G. <ca...@ho...> - 2004-11-20 07:18:46
|
On Wed, Nov 17, 2004 at 07:39:54PM -0600, Calvin Gorriaran wrote: > I am needing to compile lirc on Fedora instead of the packages. This is > because I am trying to use a ACTiSYS IR-200l and does not work the lirc > packages. I think I saw a few other posts about this but saw no > resolution. These are the errors I get... > > > make > mv Makefile Makefile.automake > cp ../Makefile.kernel Makefile > make -C /usr/src/linux/ SUBDIRS=/home/mythtv/lirc/drivers/lirc_sir modules > \ > KBUILD_VERBOSE=1 > make[1]: Entering directory > `/usr/src/redhat/BUILD/kernel-2.6.8/linux-2.6.8' > mkdir -p /home/mythtv/lirc/drivers/lirc_sir/.tmp_versions > make -f scripts/Makefile.build obj=/home/mythtv/lirc/drivers/lirc_sir > gcc -Wp,-MD,/home/mythtv/lirc/drivers/lirc_sir/.lirc_sir.o.d -nostdinc > -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes > -Wno-trigraphs -fno-strict-aliasing -fno-common -pipe -msoft-float -m32 > -fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts > -mpreferred-stack-boundary=2 -march=i686 -mregparm=3 > -Iinclude/asm-i386/mach-default -Os -fomit-frame-pointer -g > -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB > -DHAVE_CONFIG_H -I. -I. -I../.. -I /home/mythtv/lirc/drivers/lirc_sir/../.. > -I /usr/src/linux//include/ -DMODULE -DKBUILD_BASENAME=lirc_sir > -DKBUILD_MODNAME=lirc_sir -c -o > /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.o > /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c > /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c:37:27: linux/version.h: No > such file or directory > /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c:38:40: missing binary > operator before token "(" > In file included from include/linux/module.h:10, > from /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c:43: > 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 /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c:43: > 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 /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c:43: > 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 /home/mythtv/lirc/drivers/lirc_sir/lirc_sir.c:43: > This ended up fixing my problem.... uname -r 2.6.8-1.521 rpm -i kernel-2.6.8-1.521.src.rpm rpmbuild -bp --target noarch /usr/src/redhat/SPECS/kernel-2.6.spec cd /usr/src cd linux ln -s /usr/src/redhat/BUILD/kernel-2.6.8/linux-2.6.8 /usr/src/linux cd linux/ ls make mrproper cp /boot/config-`uname -r` .config vi /usr/src/linux/Makefile (EXTRAVERSION = -1.521) make oldconfig make prepare Cal |