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

James Hansen mythtv at f0rmula.com
Wed Aug 11 05:19:24 EDT 2004


Hi,

Starting to build my own PVR using myth..

P3-650, 
380mg SDRam,
Hauppauge PVR-350 (will have to use the tv-out)
running Mandrake 10 (unless threes a better solution?)

Fresh install of Mandrake. Started trying to install ivtv as per the
MythTv guide: 
http://www.mythtv.org/docs/mythtv-HOWTO-singlehtml.html#ss22.1
its downloaded and unpacked.

Tried doing "urpmi kernel-source", but that downloaded 2.6.3-15mdk and i
have an older one, 2.6.3-7mdk:

"Linux nugget 2.6.3-7mdk #1 Wed Mar 17 15:56:42 CET 2004 i686 unknown
unknown GNU/Linux"

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

----------
make
gcc -D__KERNEL__ -D__KERNEL_SYSCALLS__ -DMODULE -DMODVERSIONS
-I/usr/src/linux/include -O2 -fomit-frame-pointer -march=i586 -mcpu=i586
-fno-strict-aliasing -Wno-unused -include
/usr/src/linux/include/linux/modversions.h -DNEW_I2C   -c -o msp3400.o
msp3400.c
<command line>:138832049:26872:
/usr/src/linux/include/linux/modversions.h: No such file or directory
msp3400.c: In function `msp3400c_set_scart':
msp3400.c:344: error: structure has no member named `data'
msp3400.c: In function `msp3400c_setmode':
msp3400.c:408: error: structure has no member named `data'
msp3400.c: In function `msp3400c_setstereo':
msp3400.c:481: error: structure has no member named `data'
msp3400.c: In function `msp3400c_restore_dfp':
msp3400.c:609: error: structure has no member named `data'
msp3400.c: In function `autodetect_stereo':
msp3400.c:637: error: structure has no member named `data'
msp3400.c: In function `watch_stereo':
msp3400.c:737: error: structure has no member named `data'
msp3400.c: In function `msp3400c_thread':
msp3400.c:756: error: structure has no member named `data'
msp3400.c:761: error: too few arguments to function `daemonize'
msp3400.c:765: error: structure has no member named `sigmask_lock'
msp3400.c:767: error: structure has no member named `sigmask_lock'
msp3400.c: In function `msp3410d_thread':
msp3400.c:1011: error: structure has no member named `data'
msp3400.c:1014: error: too few arguments to function `daemonize'
msp3400.c:1018: error: structure has no member named `sigmask_lock'
msp3400.c:1020: error: structure has no member named `sigmask_lock'
msp3400.c: In function `msp_attach':
msp3400.c:1282: error: structure has no member named `data'
msp3400.c:1333: warning: `MOD_INC_USE_COUNT' is deprecated (declared at
/usr/src/linux/include/linux/module.h:502)
msp3400.c: In function `msp_detach':
msp3400.c:1357: error: structure has no member named `data'
msp3400.c:1383: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
/usr/src/linux/include/linux/module.h:514)
msp3400.c: In function `msp_probe':
msp3400.c:1390: warning: passing arg 3 of `i2c_probe' from incompatible
pointer type
msp3400.c: In function `msp_wake_thread':
msp3400.c:1396: error: structure has no member named `data'
msp3400.c: In function `msp_command':
msp3400.c:1408: error: structure has no member named `data'
make: *** [msp3400.o] Error 1





More information about the mythtv-users mailing list