LinHES Forums
http://forums.linhes.org/

recompile LIRC question.
http://forums.linhes.org/viewtopic.php?f=5&t=2195
Page 1 of 1

Author:  gr8nash [ Mon Aug 16, 2004 2:25 pm ]
Post subject:  recompile LIRC question.

i am playing round with lirc.. i want to get a remote working without a TV card. i cant compile lirc because of this:

Quote:
KBUILD_VERBOSE=1
make[5]: Entering directory `/usr/src/kernel-headers-2.4.25-chw'
Makefile:260: arch/i386/Makefile: No such file or directory
Makefile:543: Rules.make: No such file or directory
make[5]: *** No rule to make target `Rules.make'. Stop.
make[5]: Leaving directory `/usr/src/kernel-headers-2.4.25-chw'
make[4]: *** [lirc_dev.o] Error 2
make[4]: Leaving directory `/usr/src/andy/lirc-0.7.0pre7/drivers/lirc_dev'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/andy/lirc-0.7.0pre7/drivers/lirc_dev'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/andy/lirc-0.7.0pre7/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/andy/lirc-0.7.0pre7'
make: *** [all] Error 2


i did this:
Code:
tar xvfj linux-2.4.25-chw.tar.bz2


thinking that it needs the kernal source files.. am i right? do i need to tell lirc where the kerenl source files are??

Author:  gr8nash [ Mon Aug 16, 2004 2:32 pm ]
Post subject: 

apparently untaring it was not enough.. :(

here is the commands needed:

Quote:
The DVB kernel drivers need the kernel source code before they will compile.
Code:
Code:
cd /usr/src
sudo bzcat linux-2.4.25-chw.tar.bz2 | tar -xvf -
cp linux/.config linux-2.4.25-chw

[type y]
sudo rm linux
Quote:
ln -s linux-2.4.25-chw linux
cd linux-2.4.25-chw
make oldconfig dep


Now, on KnoppMythR4V3, there is one error that needs correcting:


lol i still dont understand why some things work the way they do :D

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/