PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 09:06:55 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: installing latest Nvidia driver: gcc version check [Solved]  (Read 1144 times)
cindy
Full Member
***
Offline Offline

Posts: 152


« on: June 03, 2011, 11:58:41 PM »

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:

Quote
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?

 
Logged

Running current version of PCLinuxOS on an Athlon 64 3000+ PC with a Nvidia FX 5200 video card; and on a desktop running an Intel i5 750 and Nvidia GTX 470.
Texstar
Administrator
Super Villain
*****
Offline Offline

Posts: 11805



« Reply #1 on: June 04, 2011, 12:08:09 AM »

You should install 270.41.19 from our repository not from the nvidia site.
Logged

Follow the development of PCLinuxOS on Twitter
Help fund the PCLinuxOS project!

"I'm not so good on advice, can I interest you in a sarcastic reply?"
Old-Polack
Administrator
Hero Member
*****
Offline Offline

Posts: 9695


----IOFLU----


« Reply #2 on: June 04, 2011, 12:15:43 AM »

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:

Quote
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.
Logged

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...
cindy
Full Member
***
Offline Offline

Posts: 152


« Reply #3 on: June 04, 2011, 10:00:27 AM »

That worked - thank you!!!!
Logged

Running current version of PCLinuxOS on an Athlon 64 3000+ PC with a Nvidia FX 5200 video card; and on a desktop running an Intel i5 750 and Nvidia GTX 470.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM