LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 08-30-2003, 11:14 AM   #1
psydude
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, 11:24 AM   #2
grym
Member
 
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, 02:50 PM   #3
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
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...
export IGNORE_CC_MISMATCH=yes

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
and
3.3.2 from the other, then that is a match as 3.3 == 3.3

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:40 AM.

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