[mythtv] Lirc and Redhat9?

cmisip cmisip at insightbb.com
Fri Oct 10 20:11:43 EDT 2003


In redhat 9 the linux source is in /usr/src/linux-2.4  Not in
/usr/src/linux (which is where it is in Mandrake ).  

If you are trying to prepare the kernel for modules compilation: (not
actually building a new kernel) then you should have run at least a make
dep in your kernel source directory.  

You need to copy the config for your current kernel from /boot to
/usr/src/linux-2.4 and then rename it to .config there.  Then do a make
oldconfig.  And then edit the top level Makefile and comment out the
"custom" on the extraversion line for this kernel.   Then make dep.

http://cmisip.home.insightbb.com/advanced.htm
See the section on compiling modules.

For compiling lirc itself

http://cmisip.home.insightbb.com/hardware.htm#CIP

Hope this helps


On Fri, 2003-10-10 at 18:03, Torsten Schenkel wrote:
> Hi, 
> 
> after another night I have mythtv nearly up and running. I will
> give a report soon.
> 
> But there is one thing I can't get working: lirc
> 
> Whatever I do; plain vanilla kernel sources, kernel sources with
> .config copied with the config of the 2.4.20-8, make config, make dep,
> it won't compile.
> 
> I tried any combination of the above and the farthest I have come is:
> 
> make[1]: Entering directory
> `/usr/src/redhat/SOURCES/lirc-0.7.0pre2/drivers/lirc_dev'
> DIR=`pwd`; (cd /usr/src/linux/; make SUBDIRS=$DIR obj-m=lirc_dev.o
> modules)
> make[2]: Entering directory `/usr/src/linux-2.4.20-8'
> make -r -f tmp_include_depends all
> make[3]: Entering directory `/usr/src/linux-2.4.20-8'
> touch: creating
> `/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h':
> No such file or directory
> make[3]: ***
> [/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h]
> Error 1
> make[3]: Leaving directory `/usr/src/linux-2.4.20-8'
> make[2]: *** [tmp_include_depends] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.20-8'
> make[1]: *** [lirc_dev.o] Error 2
> make[1]: Leaving directory
> `/usr/src/redhat/SOURCES/lirc-0.7.0pre2/drivers/lirc_dev'
> make: *** [all-recursive] Error 1
> 
> 
> 
> 
> 
> So, what does
> 
> touch: creating
> `/usr/src/build/231485-i386/install/usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h':
> No such file or directory
> 
> mean. The file /usr/src/linux-2.4.20-8/fs/jfs/jfs_debug.h is
> definitely there.
> 
> Please help,
> 
> Torsten
> 
> 
> ______________________________________________________________________
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev



More information about the mythtv-dev mailing list