PDA

View Full Version : NVidia kernel 2314


linolium
11-10-02, 04:37 PM
So.. I can ping localhost, 127.0.0.1, and linbox (my hostname). I tried going to the next version up from 1541, 2313/2314. I installed the GLX fine, but the kernel one screwed up. Here is what it said:

root@linbox:/pkgs/src/NVIDIA_kernel-1.0-2314# make
rm -f nv.o os-interface.o os-registry.o Module-linux nv_compiler.h
NVdriver
/bin/sh: -c: line 1: syntax error near unexpected token `)'
/bin/sh: -c: line 1: `if [ -z 1 ]; then if [ 3.2) != 3.2 ]; then echo
"
"; echo "You appear
to be compiling the NVdriver kernel module with "; echo "a compiler
different from the one that was used to compile "; echo "the running
kernel. This may be perfectly fine, but there "; echo "are cases where
this can lead to unexpected behaviour and "; echo "system crashes.
";
echo " ";
echo "If you know what you are doing and want to override this ";
echo "check, you can
do so by setting IGNORE_CC_MISMATCH. "; echo "
"; echo "In any other case, set the CC
environment variable to the "; echo "name of the compiler that was
used to compile the kernel. "; echo "
"; echo -en "\033[1;31m"; echo -e "*** Failed cc sanity check.
Bailing out! ***"; echo -en "\033[0m"; exit 1; fi fi'
make: *** [gcc-check] Error 2
root@linbox:/pkgs/src/NVIDIA_kernel-1.0-2314#


What has happened?!? Whats wrong!? Please help..

PS: This is sort of a follow-up from http://www.nvnews.net/vbulletin/showthread.php?s=&postid=37227#post37227

Soul-Crusher
11-10-02, 04:44 PM
It means just what it says. Either you should use the same version of GCC your kernel was compiled with, recompile your kernel, or compile the nVidia module with IGNORE_CC_MISMATCH.

bwkaz
11-10-02, 05:56 PM
Why don't you just use the newest driver, 3123?

I really don't think your problem is the GCC sanity check. The script is syntax erroring before that check (actually, just before it tries the version test).

Even more incriminating is the actual test line:

/bin/sh: -c: line 1: `if [ -z 1 ]; then if [ 3.2) != 3.2 ]; then echo

Note the "3.2) != 3.2" part there? Those are both gcc versions, and probably the gcc version that you have installed. That line is the test for whether /proc/version and cc -v match, and it seems they do, with the exception of the close-paren that shouldn't be there.

I think if you try the 3123 drivers you might have better luck.

linolium
11-10-02, 06:35 PM
/bin/sh: -c: line 1: `if [ -z 1 ]; then if [ 3.2) != 3.2 ]; then echo

hmm... maybe the ) its talking about is right after the first 3.2 in the if. Ill try editing that out. And the reason im using this version is because im trying to get rid of the delay.

linolium
11-11-02, 02:30 PM
i managed to install the drivers... and now i have only an 8 second delay! woohoo.... is there anyway to make it even shorter?