You are not logged in.

#1 2003-11-02 22:50:21

deepfreeze
Member
From: NJ
Registered: 2002-12-27
Posts: 86

Problem with Nvidia driver install script

I am attempting to install the NVIDIA 4496 drivers and the install script always exits with an error when attempting to compile the kernel module.  The log file shows the following message:

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.

The FAQ on the nvidia site says this is due to the kernel being compiles with one version of gcc (3.3.1) and trying to compile the kernel module with another version (3.3.2).  However, they don't really say how to remedy the problem and I don't know of a way to reinstall gcc 3.3.1 on my system to successfully install the drivers.  Currently I'm just using the generic "nv" driver but I'd like to have the "nvidia" drivers smile  Has anyone else come across this and/or how to fix this problem?


My hovercraft is full of eels.

Offline

#2 2003-11-03 01:14:03

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: Problem with Nvidia driver install script

try this
export IGNORE_CC_MISMATCH=true
and then compile the drivers normaly


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

#3 2003-11-03 03:05:19

deepfreeze
Member
From: NJ
Registered: 2002-12-27
Posts: 86

Re: Problem with Nvidia driver install script

That did the trick...thanks for the advice smile


My hovercraft is full of eels.

Offline

#4 2003-11-03 10:39:44

jlvsimoes
Member
From: portugal
Registered: 2002-12-23
Posts: 392
Website

Re: Problem with Nvidia driver install script

no problem im happy to see another happy custumer tongue


-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GU/ d- s: a- C L U P+ L+++ E--- W+
N 0+ K- W-- !O !M V-- PS+ PE- V++ PGP T 5 Z+ R* TV+ B+
DI-- D- G-- e-- h! r++ z+ z*
------END GEEK CODE BLOCK------

Offline

Board footer

Powered by FluxBB