Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-30-02, 03:27 AM   #1
BlackEagle
Registered User
 
BlackEagle's Avatar
 
Join Date: Oct 2002
Location: Somewhere between Spain and Russia ;-)
Posts: 20
Question NVIDIA compiler error message

Hi there!
If i try to install the NVIDIA kernel package i get this strange error:
Code:
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! ***
How do i set "IGNORE_CC_MISMATCH" to get rid of it? The NVIDIA GLX Package is installed...no problems...

thx, BlackEagle.
BlackEagle is offline   Reply With Quote
Old 12-30-02, 04:42 AM   #2
crimsun
Registered User
 
Join Date: Aug 2002
Posts: 43
Default

Depending on the shell you use, it's either:

setenv IGNORE_CC_MISMATCH 1
(for csh-based)
or

export IGNORE_CC_MISMATCH=1
(for sh-based)

You should probably take a closer look at why the error is popping up, however. Please paste the output of:

cat /proc/version

cc -v

It also helps tremendously to list your current cpu, motherboard chipset, video card, amount of RAM, and Linux distribution & version.
crimsun is offline   Reply With Quote
Old 12-30-02, 05:27 AM   #3
BlackEagle
Registered User
 
BlackEagle's Avatar
 
Join Date: Oct 2002
Location: Somewhere between Spain and Russia ;-)
Posts: 20
Default

thx for the quick reply, crimsun.

export IGNORE_CC_MISMATCH=1 works! I could install the kernel package with "make install".
I just edited my XF86Config-4, but i have to load the nvidia module every time i reboot...(insmod nvidia). How can i automatically load it on startup?

Cya, BlackEagle.

P.S: using Debian 3.0 with 2.4.20 kernel...
BlackEagle is offline   Reply With Quote
Old 12-30-02, 02:00 PM   #4
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

In Debian, you add "nvidia" to /etc/modules to get it to load on bootup.

However, I'm surprised that this worked. Most of the time, IGNORE_CC_MISMATCH causes errors later...

As crimson asked, what do cat /proc/version and cc -v both tell you?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Rumor regarding lack of 680 availability ViN86 Rumor Mill 6 05-09-12 04:48 PM
NVIDIA Contributes CUDA Compiler to Open Source Community News Archived News Items 0 05-09-12 09:30 AM

All times are GMT -5. The time now is 04:31 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.