[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Error while installing nvidia driver



On 2009-04-19 12:47 +0200, a dehqan wrote:

> I'll be thankfull if you guide to fix this problem ;
> This is nvidia installer log :
> [...]
> -> Performing CC sanity check with CC="cc".
> -> Performing CC version check with CC="cc".
> -> The CC version check failed:
>    
>    The compiler used to compile the kernel (gcc 4.1) does not exactly match the
>    current compiler (gcc 4.3).  The Linux 2.6 kernel module loader rejects kern
>    el modules built with a version of gcc that does not exactly match that of t
>    he compiler used to build the running kernel.

You need to run the installer with CC=gcc-4.1; apparently it isn't smart
enough to choose the right compiler by itself.

Sven


Reply to: