Re: Error while installing nvidia driver
On 2009-04-20 05:25 +0200, Greg Madden wrote:
> On Sunday 19 April 2009, a dehqan wrote:
>> In The name of God
>>
>> I'll be thankfull if you guide to fix this problem ;
>> This is nvidia installer log :
>>
>> regards dehqan
>
> It seems to me you should link the compiler that matches your kernel &
> headers. This would be: 'ln -sf /usr/bin/gcc-4.1 /usr/bin/gcc'
Please don't suggest messing around with files under /usr, those are
controlled by the package management. An upgrade of the gcc package
will overwrite the /usr/bin/gcc symlink.
Setting CC=gcc-4.1 is the right solution to the problem.
Sven
Reply to: