Discussion:
How can I build the mga_vid module?
Alberto Vecchiato
2004-09-13 13:08:41 UTC
Permalink
I have a SUSE 9.1 linux box with a P4 2.4 GHz and a Matrox G450 graphic
card and I'm trying to build the mga_vid module to use it on mplayer,
(version 1.0pre5) since the vidix driver is not working too well.

However I cannot compile it. When I type "make" into the directory
"drivers" I get the following message:

grep: /lib/modules/2.6.4-52-default/build/include/linux/version.h: No such
file or directory

since the header "version.h" does not exists into this directory. Then the
makefile searches "modversions.h" but also fails, and finally jumps to
"/usr/include/linux/version.h", which, however, is not good for it.
Finally, it prints many other errors (which maybe are consequencies of
the missing file) and leaves with error.

Anyone can help?

Thanks in advance,

Alberto
David Burau
2004-09-13 15:43:10 UTC
Permalink
I don't know exactly(i'm not at home, so i can't try), but somewhere in
/usr/src you should find a file called version.h. Copieng or linking it
should help.

Hope this works.
greetings knpx
Post by Alberto Vecchiato
I have a SUSE 9.1 linux box with a P4 2.4 GHz and a Matrox G450 graphic
card and I'm trying to build the mga_vid module to use it on mplayer,
(version 1.0pre5) since the vidix driver is not working too well.
However I cannot compile it. When I type "make" into the directory
grep: /lib/modules/2.6.4-52-default/build/include/linux/version.h: No such
file or directory
since the header "version.h" does not exists into this directory. Then the
makefile searches "modversions.h" but also fails, and finally jumps to
"/usr/include/linux/version.h", which, however, is not good for it.
Finally, it prints many other errors (which maybe are consequencies of
the missing file) and leaves with error.
Anyone can help?
Thanks in advance,
Alberto
_______________________________________________
Mplayer-matrox mailing list
http://mplayerhq.hu/mailman/listinfo/mplayer-matrox
--
NEU: Bis zu 10 GB Speicher f�r e-mails & Dateien!
1 GB bereits bei GMX FreeMail http://www.gmx.net/de/go/mail
Patryk
2004-09-13 19:20:10 UTC
Permalink
Post by Alberto Vecchiato
I have a SUSE 9.1 linux box with a P4 2.4 GHz and a Matrox G450 graphic
card and I'm trying to build the mga_vid module to use it on mplayer,
(version 1.0pre5) since the vidix driver is not working too well.
try to install new X116.8 they fixed the problem
http://freedesktop.org/bugzilla/show_bug.cgi?id=474
--
Patryk
Patryk
2004-09-13 22:07:35 UTC
Permalink
Dnia Monday, 13 of September 2004 15:08, Alberto Vecchiato napisał:
now i have time to replay
Post by Alberto Vecchiato
I have a SUSE 9.1 linux box with a P4 2.4 GHz and a Matrox G450 graphic
card and I'm trying to build the mga_vid module to use it on mplayer,
(version 1.0pre5) since the vidix driver is not working too well.
as i said before, in X116.8 tehy fixed this problem
I use Slackware 10.0 and there are some trird-party x116.8 packages
find some rpms for your distribution
Post by Alberto Vecchiato
However I cannot compile it. When I type "make" into the directory
grep: /lib/modules/2.6.4-52-default/build/include/linux/version.h: No such
file or directory
It seems like you don't have kernel sources on your system
OR try this mga-vid which i got from author of the module
--
Patryk
Alberto Vecchiato
2004-09-14 12:13:25 UTC
Permalink
Thank you for all the answers. I will try the pathced code for mga_vid.

Anyway, if you want, here are some more infos. Actually I had the kernel
sources installed, but apparently the SUSE 9.1 version of this package
does not contain the file versions.h. To be more precise, it has (as David
suggested) a file version.h in /usr/src/linux, but this was exactly the
file that the makefile found when all else failed, and it is of no use,
unfortunately. Maybe Attila is right when says that it's the SUSE's fault
and a bit of triggering the source code is needed.

Thank you all again. I will tell you the results of this attampt, and if
it will fail, I will try the X116.8 as suggested by Patryk.

Alberto Vecchiato

Attila Kinali
2004-09-14 05:39:04 UTC
Permalink
Post by Alberto Vecchiato
I have a SUSE 9.1 linux box with a P4 2.4 GHz and a Matrox G450 graphic
card and I'm trying to build the mga_vid module to use it on mplayer,
(version 1.0pre5) since the vidix driver is not working too well.
You dont want to use the vidix driver with such a fast system.
Xv is fast enough.
Post by Alberto Vecchiato
However I cannot compile it. When I type "make" into the directory
grep: /lib/modules/2.6.4-52-default/build/include/linux/version.h: No such
file or directory
You need to patch the mga_vid driver with ferdinands last patch
(see the mplayer-dev-eng archives, search for mga_vid in the subject)
Post by Alberto Vecchiato
since the header "version.h" does not exists into this directory. Then the
makefile searches "modversions.h" but also fails, and finally jumps to
"/usr/include/linux/version.h", which, however, is not good for it.
Finally, it prints many other errors (which maybe are consequencies of
the missing file) and leaves with error.
Kernel headers missing. Be also aware that SuSE uses a brain damaged
way to manage its kernel related stuff so you need a bit of handwork to
compile external kernel modules.

Attila Kinali
Loading...