|
|
#1 | |
|
Registered User
Join Date: Oct 2002
Location: Somewhere between Spain and Russia ;-)
Posts: 20
|
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! *** thx, BlackEagle. |
|
|
|
|
|
|
#2 | |
|
Registered User
Join Date: Aug 2002
Posts: 43
|
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. |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Oct 2002
Location: Somewhere between Spain and Russia ;-)
Posts: 20
|
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... |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Sep 2002
Posts: 2,262
|
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 |
|
|
|
|
![]() |
| Thread Tools | |
|
|
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 | Latest Tech And Game Headlines | 0 | 05-09-12 09:30 AM |