nV News Forums


nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   *** Failed cc sanity check. Bailing out! *** help needed (http://www.nvnews.net/vbulletin/showthread.php?t=1106)

Matias 08-24-02 10:48 PM

*** Failed cc sanity check. Bailing out! *** help needed
I just finished to compile a new kernel, and now I'm tring to compile the driver for the video card.
I have a gf2 mx.

I downloaded de drivers, and comlile the GLX with out problems. but wen I try to compile the kernel module I got thist error msg:

sh-2.05# make

You appear to be compiling the NVdriver 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: *** [gcc-check] Error 1


well I now look this:

sh-2.05# cat /proc/version
Linux version 2.4.19 (root@matias) (gcc version 2.95.3 20010315 (release)) #1 Sat Aug 24 20:34:54 ART 2002

sh-2.05# gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/2.95.3/specs
gcc version 2.95.3 20010315 (release)

I don't undertand were is the problem?
What can I do?

Thunderbird 08-25-02 05:17 AM

Do: export or setenv IGNORE_CC_MISMATCH=1 depending on what shell you are using.

Then rerun make.

Matias 08-25-02 03:23 PM

Hey! Thanks a lot, it compile and the driver is working.

Thanks again!

All times are GMT -5. The time now is 08:30 PM.

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