Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 08-30-2003, 12:14 PM   #1
LQ Newbie
Registered: Aug 2003
Distribution: Mandrake 9.1
Posts: 1

Rep: Reputation: 0
Problem while installing nvidia drivers...

I unpacked the tar files and followed the directions and got this error when I attempted make install:

You appear to be compiling the NVIDIA kernel module with
a compiler different from the one that was used to compile
the running kernel. This may be perfectly fine, but there
are cases where this can lead to unexpected behaviour and
system crashes.

If you know what you are doing and want to override this
check, you can do so by setting IGNORE_CC_MISMATCH.

In any other case, set the CC environment variable to the
name of the compiler that was used to compile the kernel.

*** Failed cc sanity check. Bailing out! ***
make: *** [gcc-check] Error 1

I checked the FAQ in the readme and it told me to change the compiler to the version which was used, I found the version but I have no idea how to change the compiler.
Old 08-30-2003, 12:24 PM   #2
Registered: Jun 2003
Location: Texas
Distribution: Gentoo/Slackware/Debian/Mandrake
Posts: 285

Rep: Reputation: 30
just recompile your kernel with your current compiler
Old 08-30-2003, 03:50 PM   #3
Senior Member
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well i don't think there is any cases where you have to recompile your kernel just to get the nvidia drivers to work, so lets start off easy and type this before you start the installer and see if this helps...

and just for spite see if this shows the same gcc version by comparing version numbers:
gcc -v 2>&1 | tail -1
compared to version in:
cat /proc/version

so as long as the major versions match then use the ignore_cc_mismatch, and what i mean by this is, if you get the output of:
3.3.1 from one
3.3.2 from the other, then that is a match as 3.3 == 3.3

Last edited by DrOzz; 08-30-2003 at 03:52 PM.


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
Problem installing nvidia drivers in 2.6.0 Marcan Linux - Software 12 07-20-2006 03:55 AM
Problem installing NVIDIA drivers (MANDRAKE 10.0) mddb Mandriva 10 11-26-2004 09:59 AM
problem installing nvidia drivers.. kurrupt Debian 3 07-25-2004 08:44 AM
problem..installing nvidia drivers ironz Linux - Newbie 5 07-01-2003 12:15 AM
Problem installing NVIDIA 43.49 drivers Aurra Sing Linux - Software 5 04-25-2003 07:44 PM

All times are GMT -5. The time now is 10:53 AM.

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