View Single Post
Old 10-20-03, 12:58 AM   #3
Electrical Engineer
LordMorgul's Avatar
Join Date: Dec 2002
Location: San Luis Obispo, CA
Posts: 872

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: *** [gcc-check] Error 1
The compiler is failing the sanity check for YOUR sake, so its obvious why it doesn't work now instead of later on. It should work if you ignore the cc mismatch in this case however.

export IGNORE_CC_MISMATCH=causeIwanna
and off it goes a building your purty nice new module. Enjoy Fedora.

Remember to set your X driver to nvidia in that XF86Config.
Section "Device"
	Identifier  "Videocard0"
	Driver      "nvidia"
"..the triumph of evil is for good men to do nothing." (Edmond Burke)
nVIDIA video driver RPMs for Fedora :: see yum repo at
LordMorgul is offline   Reply With Quote