View Single Post
Old 07-18-11, 08:17 AM   #12
ant
A GeForced Ant
 
ant's Avatar
 
Join Date: Sep 2002
Location: An Ant Farm
Posts: 348
Default Re: Could not compile 'gcc-version-check.c' in my Debian box.

Quote:
Originally Posted by dk75 View Post
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) (dannf@debian.org) (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.
__________________
Ant @ The Ant Farm (http://antfarm.ma.cx) and Ant's Quality Foraged Links (http://aqfl.net).
ant is offline   Reply With Quote