PDA

View Full Version : NVIDIA installer mess with gcc



athlonthunder
04-03-2003, 03:05 PM
How can i correct this, please?!!!

I downloaded the newest NVIDIA graphics driver set after doing a system wide upgrade with # apt-get upgrade .

I tried to compile the kernel with a simple # make install

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! ***
make[1]: *** [gcc-check] Error 1
make[1]: Leaving directory `/root/NVIDIA-Linux-x86-1.0-4349/usr/src/nv'
make: *** [kernel_module_install] Error 2


URGENT HELP NEEDED. Please assist through my email address. MANY SINCERE THANKS.

god
04-03-2003, 05:55 PM
"export CC=/usr/bin/gcc-2.95" is the command you need to run first.