Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Thread Tools
Old 08-24-02, 09:48 PM   #1
Posts: n/a
Default *** 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?
  Reply With Quote
Old 08-25-02, 04:17 AM   #2
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105

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

Then rerun make.
Thunderbird is offline   Reply With Quote
Old 08-25-02, 02:23 PM   #3
Posts: n/a

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

Thanks again!
  Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

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

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