LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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
  Search this Thread
Old 10-30-2007, 11:20 PM   #1
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Rep: Reputation: 32
2.6.22-2-amd64 NVIDIA driver issues


Okay, so a while back the updates installed the 2.6.22-2 kernel. I hadn't restarted since then, so today I decided that I might as well get things all up to speed with a restart.

So, I restart my computer, and lo and behold the NVIDIA driver isn't working anymore. No big deal, I'll just reinstall it. And then it gives me this:

Your kernel was compiled using gcc 4.1, you are currently running gcc 4.2. You cannot run modules compiled using a different version of the compiler. Change your CC variable and try again.

Something to that effect.

So.. How do I make this work? Can I somehow install the new kernel compiled under 4.2? Can I change the CC environmental variable and make things work? Do I just have to sit here and cry?

Thanks.
 
Old 10-31-2007, 09:38 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Yes you can change it in the shell/terminal where you are compiling the driver either use export IGNORE_CC_MISMATCH=1 or export CC=/usr/bin/gcc-4.1 to have it ignore the mismatch or use the gcc-4.1 when compiling the driver.
 
Old 10-31-2007, 10:17 AM   #3
war1025
Member
 
Registered: Jul 2006
Distribution: Debian: Squeeze AMD64
Posts: 318

Original Poster
Rep: Reputation: 32
Thanks. I got it working last night by downloading the latest driver from Nvidia. It still gave me the error, but when I had the option to compile anyways, it did so successfully. I don't know what difference there was in the newest driver that made it work, but I won't complain.
 
Old 10-31-2007, 10:31 AM   #4
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
Quote:
Originally Posted by war1025 View Post
Thanks. I got it working last night by downloading the latest driver from Nvidia. It still gave me the error, but when I had the option to compile anyways, it did so successfully. I don't know what difference there was in the newest driver that made it work, but I won't complain.
The new option was what did it, it looks like Nvidia now uses the IGNORE... variable when choosing this option much like the Debian driver compile does by default to get around this problem if present.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
nVidia driver problems with Gentoo 2005.1 AMD64 MrDunk Linux - Hardware 2 10-30-2005 04:25 AM
Nvidia driver w/ AMD64 + Mandrake10 Natfly Linux - Software 1 06-22-2004 01:36 PM
nVidia AMD64 Driver does not install Beaker Mandriva 0 06-14-2004 07:16 PM
Mandrake 10b2 AMD64 + Nvidia driver problem bfibandit Mandriva 0 04-14-2004 07:23 PM
Linux 9 (AMD64) and Nvidia driver goulartca Linux - Software 12 03-17-2004 11:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:21 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration