Re: Unable to load the kernel module 'nvidia.ko' in 2.6.32-5-686 kernel
On Sunday 18 July 2010 09:31:46 Sven Joachim wrote:
> On 2010-07-18 19:18 +0200, Greg Madden wrote:
> > to make it work with the stuff from Nvidia's site,
> >
> > 1. Squeeze kernel 2.6.32-5 is configured with gcc 4.3.5
> > 2. gcc that is installed on Squeeze is 4.4.4 & 4.3.5
> > 3. installing gcc creates a symbolic link to version of gcc-4.4.4
> > 4. gcc is a depend of a few packages, dkms for one, but is not installed
> > by default, or as a depend of the kernel or matching headers.
>
> You have to use gcc-4.3, and linux-headers-2.6.32-5-$flavour depends on
> it.
>
> > I had to create the symlink : 'ln -s /usr/bin/gcc-4.3 /usr/bin/gcc'
>
> This is wrong and may break at any time: as soon as the gcc package is
> upgraded, it will overwrite your symlink. Instead, set CC=gcc-4.3 if
> necessary.
Thanks, what I don't understand though is why when gcc is installed it does a
symlink to gcc-4.4, on Squeeze. It could be an issue with using non-Debian
sources as they do fail because they look at 'usr/bin/gcc' and whatever it is
liked to.
lrwxrwxrwx 1 root root 7 July 18 10:46 /usr/bin/gcc -> /usr/bin/gcc-4.4
>
> > 'cat /proc/version' shows the version of gcc that was used
> > 'gcc -v' shows what version of gcc is being used.
> >
> > btw, is this a bug ?
>
> No.
>
> Sven
--
Peace,
Greg
Reply to: