[MPlayer-matrox] Unresolved symbols with mga_vid on 2.4

Attila Kinali attila at kinali.ch
Wed Jun 15 10:21:07 CEST 2005


On Tue, 14 Jun 2005 14:21:51 +0100
Martin Collins <martin at mkcollins.org> wrote:

> /lib/modules/2.4.20/kernel/drivers/video/matrox/mga_vid.o: couldn't
>   find the kernel version the module was compiled for
> /lib/modules/2.4.20/kernel/drivers/video/matrox/mga_vid.o: insmod
>   /lib/modules/2.4.20/kernel/drivers/video/matrox/mga_vid.o failed
> /lib/modules/2.4.20/kernel/drivers/video/matrox/mga_vid.o: insmod
>   mga_vid failed

I assume you are using mga_vid from the MPlayer cvs.

Then it's most probably that you compiled mga_vid against the
wrong kernel. The Makefile assumes that you want to compile
mga_vid for the currently running kernel and that it has
a /lib/modules/<kernel-version>/build directory. IIRC 2.4.20
does not yet have one, thus you have to change the KERNEL_DIR
variable at the beginning of the Makefile to somehting like
this:
KERNEL_DIR = /usr/src/linux/

HTH

				Attila Kinali

-- 
郷に入れば郷に従え




More information about the MPlayer-matrox mailing list