NVIDIA - Compile driver

Elliot Peele ebpeele2 at pams.ncsu.edu
Fri Jul 25 01:45:09 UTC 2003


If you read the error message it give you in the log it tells you want
to do. Either set the IGNORE_CC_MISMATCH environment variable or set the
CC environment variable to the compiler used to compile the kernel.
Personally I do the first (ie. export IGNORE_CC_MISMATCH=1).

Elliot

On Thu, 2003-07-24 at 17:59, Mitch Anderson wrote:
> Having problems compiling the driver for an NVIDIA card... 
> 
> It gives me the error(from /var/log/nvidia-installer.log):
> 
>    executing: 'cd ./usr/src/nv; make nvidia.o
> SYSINCLUDE=/lib/modules/2.4.21-20
>    .1.2024.2.1.nptl/build/include'...
>                                                                
>    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
> -> Error.
> ERROR: Unable to build the NVIDIA kernel module.
> ERROR: Installation has failed.  Please see the file
>        '/var/log/nvidia-installer.log' for details.  You may find
> suggestions
>        on fixing installation problems in the README available on the
> Linux
>        driver download page at www.nvidia.com
> 
> 
> I tried installing gcc and ccp packages from RH9, but cpp depends on
> XFree86-4.3... and continues...
> 
> 
> 
> 
> --
> Rhl-beta-list mailing list
> Rhl-beta-list at redhat.com
> http://www.redhat.com/mailman/listinfo/rhl-beta-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-test-list/attachments/20030724/3c63f46d/attachment.sig>


More information about the fedora-test-list mailing list