View Full Version : Help to install NVidia Drivers.

01-25-2002, 09:28 AM
When I try to compile the NVkernel, I got this message:

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.

What can I do? Please help me.
(I'm new in Linux)



01-25-2002, 10:46 PM
I would fall for the temptation and set IGNORE_CC_MISMATCH and hope for the best. http://www.opengl.org/discussion_boards/ubb/smile.gif
My assumption is that the error message is showing that a different version of gcc is used rather than a complet different compiler. You could post gcc version and Linux distribution.

01-27-2002, 03:33 AM
on gcc 2.96 it doesn't do that.


01-27-2002, 06:55 AM
gcc -v
2.96 20000731 Linux Mandrake 8.0

cat /proc/version
gcc version 2.91.66

01-28-2002, 05:51 AM
i've got a mandrake 8.0 and it didn't do that each time i reinstall a new version.

then, follow the advises of Almost


01-28-2002, 01:05 PM
You're compiling with headers in /usr/include/linux instead of /usr/src/linux/include/linux.

Be sure your kernel sources is installed (kernel-source rpm file).

To get rid of this pb, you could just have added "-I/usr/src/linux/include" in the NVidia's Makefile, before the other "-I...".