|
|
#1 | |
|
Registered User
Join Date: Dec 2003
Location: Germany
Posts: 2
|
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 |
|
|
|
|
|
|
#2 | |
|
Always Annoyed
Join Date: Oct 2002
Posts: 71
|
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? |
|
|
|
|
|
|
#3 |
|
Registered User
Join Date: Dec 2003
Location: Germany
Posts: 2
|
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 |
|
|
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Regression with 295.33 and GeForce GT 240 | maro | NVIDIA Linux | 16 | 06-29-12 06:47 PM |
| HPC Job of the Week: Senior Compiler Engineer at Convey | News | Latest Tech And Game Headlines | 0 | 06-10-12 02:30 AM |
| X Failed to load NVdriver | c00lr4c3r | NVIDIA Linux | 13 | 10-22-02 01:44 PM |
| Red Hat 7.3, tarred 2960 download, NVdriver failed to initialize | SparceMatrix | NVIDIA Linux | 7 | 09-10-02 12:02 AM |
| *** Failed cc sanity check. Bailing out! *** help needed | Matias | NVIDIA Linux | 2 | 08-25-02 02:23 PM |