View Single Post
Old 07-18-11, 07:17 AM   #12
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.

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) ( (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/" to compile my NVIDIA driver with GCC v4.3.
Ant @ The Ant Farm ( and Ant's Quality Foraged Links (
ant is offline   Reply With Quote