hi all,
im stuck on trying to make my lirc drivers.
ive downloaded the latest copy
http://lirc.sourceforge.net/software....3pre1.tar.bz2
configured it to use the correct tv card and then it compiles and then when i go to tell it to "make" the following errors come out.:
cd . \
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
/bin/sh ./config.status
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make all-recursive
make[1]: Entering directory `/root/lirc-0.8.1pre5'
Making all in drivers
make[2]: Entering directory `/root/lirc-0.8.1pre5/drivers'
Making all in lirc_dev
make[3]: Entering directory `/root/lirc-0.8.1pre5/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.24/build/ SUBDIRS=/root/lirc-0.8.1pre5/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[4]: Entering directory `/usr/src/linux-2.6.24'
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/lirc-0.8.1pre5/drivers/lirc_dev/.tmp_versions ; rm -f /root/lirc-0.8.1pre5/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/root/lirc-0.8.1pre5/drivers/lirc_dev
gcc -m32 -Wp,-MD,/root/lirc-0.8.1pre5/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include inux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration truct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mtune=generic -ffreestanding -maccumulate-outgoing-args -DCONFI Iinclude/asm-x86/mach-generic -Iinclude/asm-x86/mach-default -fomit-frame-pointer -g -fno-stack-protector -Wdeclaration-after-statemen -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/root/lirc-0.8.1pre5/drivers/lirc_dev/../.. -I/lib/modules/2.6.24/build//include/ -I/ eo/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /root/lirc-0 root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function âlirc_register_plu
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: implicit declaratio
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: âtnâ undeclared (fi
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: (Each undeclared id
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:245: error: for each function i
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function âlirc_unregister_p
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:434: error: âtnâ undeclared (fi
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:435: error: âtn2â undeclared (f
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function âlirc_dev_initâ:
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:883: error: void value not igno
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c: In function âcleanup_moduleâ:
/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.c:910: error: void value not igno
make[5]: *** [/root/lirc-0.8.1pre5/drivers/lirc_dev/lirc_dev.o] Error 1
make[4]: *** [_module_/root/lirc-0.8.1pre5/drivers/lirc_dev] Error 2
make[4]: Leaving directory `/usr/src/linux-2.6.24'
make[3]: *** [lirc_dev.o] Error 2
make[3]: Leaving directory `/root/lirc-0.8.1pre5/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/lirc-0.8.1pre5/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lirc-0.8.1pre5'
make: *** [all] Error 2
ive tried so many things i have a headache with it all now, so was wondering it anyone has an idear of were to go with this now.
note ive also compiled my own kernel and still no good.