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

Newegg Daily Deals

Reply
 
Thread Tools
Old 12-10-03, 03:35 PM   #1
inka
Registered User
 
Join Date: Dec 2003
Location: Germany
Posts: 2
Default Failed cc sanity check, but same compiler

Hi,
I compiled kernel and nvidia with the same compiler, but I still get in /var/log/nvidia-installer.log:

###

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.

^[[1;31m*** Failed cc sanity check. Bailing out! ***
^[[0mmake: *** [gcc-check] Fehler 1
-> Error.
ERROR: Unable to build the NVIDIA kernel module.

###

BUT:

cat /proc/version
Linux version 2.4.22 (root@sesam.stern.de) (gcc-Version 3.3.3 20031206 (prerelease) (Debian)) #5 Mi Dez 10 19:54:59 CET 2003

gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.3/specs
Konfiguriert mit: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc-Version 3.3.3 20031206 (prerelease) (Debian)

I use NVIDIA-Linux-x86-1.0-4496-pkg2.run. Maybe IGNORE_CC_MISMATCH helps, but I don't know how to set or use it.

Tanks in advance,
Ingo Kappler
Attached Files
File Type: log nvidia-installer.log (3.1 KB, 193 views)
inka is offline   Reply With Quote
Old 12-10-03, 03:43 PM   #2
elanthis
Always Annoyed
 
Join Date: Oct 2002
Posts: 71
Default

That is odd that it reports that, if the kernel is actually compiled with the same version.

Setting the variable is easy, it's UNIX 101 - just run:

IGNORE_CC_MISMATCH=1 ./nvidia-installer
__________________
What?
elanthis is offline   Reply With Quote
Old 12-10-03, 03:58 PM   #3
inka
Registered User
 
Join Date: Dec 2003
Location: Germany
Posts: 2
Default

Wow, this was a simple and quick answer. Thank you, it works already.

Filling IGNORE_CC_MISMATCH just with a 1, is quite easy too, but it could be mentioned in the readme.

Thanks again,
Ingo
inka 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
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 07:47 PM
HPC Job of the Week: Senior Compiler Engineer at Convey News Archived News Items 0 06-10-12 03:30 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 02:44 PM
Red Hat 7.3, tarred 2960 download, NVdriver failed to initialize SparceMatrix NVIDIA Linux 7 09-10-02 01:02 AM
*** Failed cc sanity check. Bailing out! *** help needed Matias NVIDIA Linux 2 08-25-02 03:23 PM

All times are GMT -5. The time now is 11:12 PM.


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