Re: error while building mga_vid (debian, 2.6.9)

Alvaro Garriga <[email protected]> Wed, 16 Feb 2005 10:59:02 -0500
Newsgroups gmane.comp.video.mplayer.user.matrox
Message-ID <[email protected]>
Hi Swen

I think the problem is that your kernel is in 
/usr/src/kernel-source-..... instead of /usr/src/linux-2.6.9

Here is what I did ( more or less )  to build the mga-vid module
cd /usr/src
tar xvjf /home/pvr/linux-2.6.10.tar.bz2
cd linux-2.6.10
cp ../linux/.config
make oldconfig
make modules && make bzImage && make modules-install
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.10-custom
reboot
cd /usr/src/mga-vid
make && make install
modprobe mga-vid

I have found that is also a good idea to create a symbolic link to the 
newly created kernel something like ( ln -s linux-2.6.10 linux ) this 
sometimes help me specially with lirc.

hope this helps
    Alvaro