My desktop machine which runs a Nvidia GTX 470 video card with a manually installed 256.35 driver stopped working properly. The desktop wouldn't load. Among the errors: "Fatal sever error. No screens found." This may have been related to an update I had done earlier. Eventually I managed to get the desktop back after running XFdrake as root and selecting the "GEForce 400 series or later" video driver. But now few of the fancy desktop effects are working. After checking the Nvidia site I discovered that they have released a more recent driver for my card (270.41.19) which I downloaded and attempted to install. The installation stopped midway. Here is the error message from the nvidia-installer.log:
The compiler used to compile the kernel (gcc 4.4) does not exactly match the current compiler (gcc 4.5). The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel.
If you know what you are doing and want to ignore the gcc version check, select "No" to continue installation. Otherwise, select "Yes" to abort installation, set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation. Abort now? (Answer: Yes)
ERROR: Installation has failed.
Can someone please help? Should I ignore the gcc version check and just proceed with the installation?
Install the correct driver through
Synaptic. It's listed as
dkms-nvidia-current. Both the dkms package and the appropriate driver will be installed.
Note: You should first click
Reload, then
Mark All Upgrades, then
Apply, and again
Apply from the confirmation window. Once the system is fully upgraded, click
Search, type
nvidia in the box, then click the
Search button, or press the
Enter key. Click the box in front of the
dkms-nvidia-current item and choose
Mark for Installation. Accept the confirmation window, and click
Apply and again
Apply. After the driver has been installed, close Synaptic and
reboot.