[mythtv-users] missing modversions.h in mandrake 10?

Wayne Steenburg w.steenburg at myactv.net
Wed Aug 11 20:00:55 EDT 2004


On Wed, 2004-08-11 at 05:19, James Hansen wrote:

> 
> So I used urpmi to get kernel-source-2.6.3-7mdk, and tried to install
> the driver according to the guide (changing to "KERNELDIR=
> /usr/src/linux") and i've found my freshly downloaded kernel has no
> "modversions.h"..  (full error shown below).
> 
> I did a "locate" and found a modversions.h file somewhere else, but
> would this modversions.h be the one i'm looking for?
> 
> [myth at nugget driver]$ locate modversions.h
> /usr/include/linux/modversions.h
> 
> I googled and found this:
> 
> http://www.mythtvtalk.com/forum/archive/o_t/t_139/debian.html
> 
> but it looks like it for a debian kernel, and after i've "make mrproper"
> and removed "custom" from the Makefile, i have no .config file anywhere,
> so then the ivtv driver compilation complains about that too :) 
> 
> Any ideas anyone?  I'm not quite sure what these files are. (i'm still a
> bit of a noob, but learning).  
> 
> Thanks
> 
> James

You need to copy the config file for your current kernel to the kernel
source directory after you make mrproper.  Something like this:

cp /boot/config-2.6.6-1.435.2.3 /usr/src/linux/.config

Redhat/Fedora keeps them along with the compressed kernel in /boot. I'm
not sure about Mandrake

It's important to copy it as .config and to copy it after make mrproper
because that deletes all object and temporary files
plus your .config file.

I'm not sure about your modversions.h file but I suspect that the one in
/usr/include is not what you need.  I remember some blurb in the kernel
documentation about some distros having an incomplete set of kernel
headers in /usr/include.  I would imagine that if the makefile is
expecting it in /usr/src/linux then it should be in that directory.  I
would ask about this in a mandrake list.  I'm sure many could help you
more there.

Wayne Steenburg




More information about the mythtv-users mailing list