View Single Post
Old 07-17-11, 04:36 PM   #10
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
whaa, you compile your own kernel or it is unstable repository kernel compiled with gcc 4.6?
Because nVidia driver as a kernel module needs to be compiled with this same version of compiler as a kernel.

That's my kernel and I need to change GCC to 4.4 every time when I compile nVidia driver:
Code:
:~$ cat /proc/version
Linux version 2.6.39-2-amd64 (Debian 2.6.39-3) (ben@decadent.org.uk) (gcc version 4.4.6 (Debian 4.4.6-6) ) #1 SMP Tue Jul 5 02:51:22 UTC 2011
On my old Debian box, I don't compile Kernels.
__________________
Ant @ The Ant Farm (http://antfarm.ma.cx) and Ant's Quality Foraged Links (http://aqfl.net).
ant is offline   Reply With Quote