Re: Unable to load the kernel module 'nvidia.ko' in 2.6.32-5-686 kernel
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.
> '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
Reply to: