2009-02-22, 08:02
Hi All :-)
Thanks for the tutorial... it looks like it would do the job, except for one sticking point I appear to be having (and I don't think I'm alone).
Now I've done quite a bit of searching and I've read this entire thread, but still no go.
I'm running Ubuntu 8.10 Intrepid (fresh install), and I have a Thelmaltake DH-101 case with the iMon VFD/IR receiver built in the front.
This is what I've done:
Check.
Confirmed that the device Vendor=152c and ProdID=0038 is present and Driver=none, so skipping to dragging down CVS repository
Yep no probs.. used empty password and all files downloaded successfully.
Here's where things get pear shaped... here's the output (I've bolded where I think the problems are:
Can anyone be of any assistance?
Thanks for the tutorial... it looks like it would do the job, except for one sticking point I appear to be having (and I don't think I'm alone).
Now I've done quite a bit of searching and I've read this entire thread, but still no go.
I'm running Ubuntu 8.10 Intrepid (fresh install), and I have a Thelmaltake DH-101 case with the iMon VFD/IR receiver built in the front.
This is what I've done:
Code:
sudo apt-get install lirc-modules-source cvs build-essential dialog libtool automake1.9 autoconf
sudo apt-get build-dep lirc lcdproc
sudo apt-get remove lirc lcdproc
Code:
sudo mount -t usbfs none /proc/bus/usb
sudo cat /proc/bus/usb/devices
Code:
cvs -d:pserver:[email protected]:/cvsroot/lirc login
cvs -z8 -d:pserver:[email protected]:/cvsroot/lirc co lirc
cd lirc
./autogen.sh
./setup.sh
Code:
make
Quote:ryan@Hubble:~/Hubble/lirc$ makeThere were two people on the reference site (http://mythtvblog.blogspot.com/2008/04/g...-lirc.html) who reported the same issue, however no fix/workaround was posted.
make all-recursive
make[1]: Entering directory `/home/ryan/Hubble/lirc'
Making all in drivers
make[2]: Entering directory `/home/ryan/Hubble/lirc/drivers'
Making all in lirc_dev
make[3]: Entering directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
Makefile:8: **************************************************
Makefile:8: *** Makefile trick not undone, trying to recover *
Makefile:8: **************************************************
mv Makefile.automake Makefile
make all
make[4]: Entering directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
cp ./../lirc_dev/Module*.symvers .
cp: cannot stat `./../lirc_dev/Module*.symvers': No such file or directory
make[4]: [lirc_dev.o] Error 1 (ignored)
mv Makefile Makefile.automake
cp ./../Makefile.kernel Makefile
CPPFLAGS="" CFLAGS="" LDFLAGS="" \
make -C /lib/modules/2.6.27-11-generic/build/ SUBDIRS=/home/ryan/Hubble/lirc/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[5]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic'
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 /home/ryan/Hubble/lirc/drivers/lirc_dev/.tmp_versions ; rm -f /home/ryan/Hubble/lirc/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/ryan/Hubble/lirc/drivers/lirc_dev
gcc -Wp,-MD,/home/ryan/Hubble/lirc/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.3.2/include -D__KERNEL__ -Iinclude -I/usr/src/linux-headers-2.6.27-11-generic/arch/x86/include -include include/linux/autoconf.h -Iubuntu/include -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/../.. -I/home/ryan/Hubble/lirc/drivers/lirc_dev/../.. -I/lib/modules/2.6.27-11-generic/build//include/ -I/lib/modules/2.6.27-11-generic/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 /home/ryan/Hubble/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c: In function ‘lirc_register_driver’:
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:355: error: ‘buffer_size’ undeclared (first use in this function)
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:355: error: (Each undeclared identifier is reported only once
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:355: error: for each function it appears in.)
/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.c:249: warning: unused variable ‘chunk_size’
make[6]: *** [/home/ryan/Hubble/lirc/drivers/lirc_dev/lirc_dev.o] Error 1
make[5]: *** [_module_/home/ryan/Hubble/lirc/drivers/lirc_dev] Error 2
make[5]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic'
make[4]: *** [lirc_dev.o] Error 2
make[4]: Leaving directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/ryan/Hubble/lirc/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ryan/Hubble/lirc/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ryan/Hubble/lirc'
make: *** [all] Error 2
ryan@Hubble:~/Hubble/lirc$
Can anyone be of any assistance?