[Mplayer-matrox] How can I build the mga_vid module?

Attila Kinali attila at kinali.ch
Tue Sep 14 07:39:04 CEST 2004


On Mon, Sep 13, 2004 at 03:08:41PM +0200, Alberto Vecchiato wrote:
> 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.

> 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

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)

> 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




More information about the MPlayer-matrox mailing list