Originally Posted by dk75
So, if you have standard kernel then it is probably compiled with gcc 4.4 ( cat /proc/version to check) so it would be wise to change your's gcc from 4.6 to 4.4 before installing nVidia driver.
Here you go:
$ cat /proc/version
Linux version 2.6.32-5-686 (Debian 2.6.32-35) (email@example.com) (gcc version 4.3.5 (Debian 4.3.5-4) ) #1 SMP Mon Jun 13 04:13:06 UTC 2011
I used "CC=gcc-4.3 sh /storage/SharedFiles/linux/drivers/NVIDIA-Linux-x86-275.09.07.run" to compile my NVIDIA driver with GCC v4.3.