[mythtv] Lirc and Redhat9?

Torsten Schenkel torsten.schenkel at web.de
Sat Oct 11 12:34:51 EDT 2003


On Fri, Oct 10, 2003 at 07:11:43PM -0500, cmisip wrote:
> 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.  

Actually it's /usr/src/kernel-2.4.20-8 but /usr/src/linux is a link to
it I created for copatibility reasons.

> 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.

Did all that.

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

Will do that, but If it breaks down to the above, it won't be of any
help, I guess. Usually I know how to compile modules, I compiled loads
of modules last night (alsa, prism2_usb, ivtv etc.) without problems.

> For compiling lirc itself
> 
> http://cmisip.home.insightbb.com/hardware.htm#CIP

I'll have a look at this one.

Is there an rpm with precompiled modules for 2.4.20-8? 
I have to stick with that kernel becoause I rely on cle266 binary
drivers.

> > `/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


More information about the mythtv-dev mailing list