|12-10-03, 03:35 PM||#1|
Join Date: Dec 2003
Failed cc sanity check, but same compiler
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: Unable to build the NVIDIA kernel module.
Linux version 2.4.22 (firstname.lastname@example.org) (gcc-Version 3.3.3 20031206 (prerelease) (Debian)) #5 Mi Dez 10 19:54:59 CET 2003
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,
|12-10-03, 03:43 PM||#2|
Join Date: Oct 2002
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:
|12-10-03, 03:58 PM||#3|
Join Date: Dec 2003
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.
|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|