[MPlayer-matrox] mga_vid with udev on Debian 3.1r3 sarge

Attila Kinali attila at kinali.ch
Sat Oct 21 19:54:39 CEST 2006


On Wed, 18 Oct 2006 19:23:17 +0200
Lurkos <lurkos at gmail.com> wrote:


> I applied the patch with "cat patchattila | patch -p1".
> Then I tried to compile, but there were some errors:
> 
> debian:/home/lurkos/mga_vid-2.6.18# make
> make -C /lib/modules/`uname -r`/build M=`pwd` modules
> make[1]: Entering directory `/usr/src/kernel-source-2.6.8'
>   CC [M]  /home/lurkos/mga_vid-2.6.18/mga_vid.o
> /home/lurkos/mga_vid-2.6.18/mga_vid.c:309: error: `mga_max_cards'
> undeclared here (not in a function)

Oops, sorry. Missed that one.
add following line:
static int mga_max_cards = MGA_MAX_CARDS;
above the module_param_array calls.

			Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu



More information about the MPlayer-matrox mailing list