LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-10-2006, 06:29 PM   #1
n1k
LQ Newbie
 
Registered: Sep 2005
Posts: 9

Rep: Reputation: 0
Problem installing nVidia graphics drivers.


I was trying to update my graphics drivers earlier today and ran into a bit of a problem.

I closed X, uninstalled the previous version of the driver's without any issue, but when I tried to install the new drivers I got this error:

"The CC version check failed

The compiler used to compile teh kernel (gcc 4.0) does not exactly match the current compiler (gcc 4.1)"

Anyone know how to fix this?

Thanks.
 
Old 11-10-2006, 06:50 PM   #2
JackieBrown
Member
 
Registered: Dec 2004
Location: San Antonio, TX
Distribution: Debian-AMD64 Sid
Posts: 481

Rep: Reputation: 31
Upgrade to a newer kernel or downgrade your gcc compiiler.
 
Old 11-10-2006, 06:53 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,513

Rep: Reputation: 57
Quote:
Originally Posted by n1k
I was trying to update my graphics drivers earlier today and ran into a bit of a problem.

I closed X, uninstalled the previous version of the driver's without any issue, but when I tried to install the new drivers I got this error:

"The CC version check failed

The compiler used to compile teh kernel (gcc 4.0) does not exactly match the current compiler (gcc 4.1)"

Anyone know how to fix this?

Thanks.
If you have gcc-4.0 installed then export CC=/usr/bin/gcc-4.0 in the console window just before the compile, if not installed then install the gcc-4.0 package and use the same export command.
 
Old 11-13-2006, 05:05 AM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Etch/Lenny/Squeeze
Posts: 3,482

Rep: Reputation: 308Reputation: 308Reputation: 308Reputation: 308
This compiler check is a safety measure nividia built in to be sure their module is compiled with exactly the same CC version which was used to compile your kernel. Maybe it is just pedantic, and telling the nvidia that is can use gcc 4.0 as HappyTux suggests is ok.

Just FYI, when I run into the same problem, I installed the compiler version as asked for by nividia and compiled and installed the module without any problem.

If I remember well, I installed gcc using this command line:
Code:
apt-get install gcc=3.3.5-3
(Change the version number for the correct one as asked for by nividia. Use
Code:
apt-cache search showpkg gcc
to see the exact notation for the version name you want to install.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem installing Nvidia drivers bkskaggs Linux - Hardware 4 11-07-2006 08:27 AM
HOWTO: Installing nVidia Graphics Drivers on Debian Etch MrKrrtft Debian 1 12-27-2005 02:04 AM
Problems installing nVidia graphics drivers Oxyd Linux - Software 4 11-25-2005 07:44 AM
Nvidia Drivers Graphics and motherboard drivers help sithyoda Linux - Newbie 4 10-01-2004 06:32 PM
Problem installing NVIDIA 43.49 drivers Aurra Sing Linux - Software 5 04-25-2003 06:44 PM


All times are GMT -5. The time now is 02:12 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration