nvidia kernel modul problem - compiler missmatch

  • hallo,
    hoffe ihr koennt mir etwas helfen.


    habe mir eine geforce fx5200 grafikkarte besorgt und wollte nun den nvidia treiber einbinden.


    das ganze mache ich aus runlevel 3 mit "sh NVIDIA-Linux-x86-1.0-4496-pkg2.run"


    das kompilieren des kernel moduls schlaegt fehl. der installer beendet sich selbst.


    in var log nvidia-installer.log steht folgendes:


    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.


    [1;31m*** Failed cc sanity check. Bailing out! ***


    wie wird eine solche enviroment variable gesetzt?
    oder wo muss ich IGNORE_CC_MISMATCH mitgeben - einfuegen?
    - im installer gibt es soweit ich das sehe keine möglichkeit dazu.


    oder ist ein aelterer kompiler von noeten?


    danke



    [0mmake: *** [gcc-check] Error 1

  • Hi,
    so eine Fehlermeldung hatte ich auch einmal, damals wollte ich den NVidia-Treiber für Kernel 2.6
    selbst kompilieren, habe es dann aber sein lassen.


    Was für einer Distribution setzt Du ein ?
    Welchen Kernel hast Du ? ( cat /proc/version )


    Wenn das NVidia Install-Script kein vorkompiliertes Modul für deinen Kernel findet,
    versucht es eines selbst zu kompilieren, glaube ich.


    Variablen kannst du auf folgende Art setzen:
    export IGNORE_CC_MISMATCH=1

    Gruß Marco


    HW: TT6400-S2
    SW: Fedora 37, kernel-6.1.6-200.fc37.x86_64, vdr-2.6.1-2.fc37.x86_64


    Fedora37 x86_64 Gnome Desktop 42.2 Ausgabe über das vdr-softhddevice plugin

    ViewSonic VX3276 HDMI-1 <------------> HDMI NVidia Geforce-gt-1030

    ViewSonic VX3276 HDMI-2 <------------> HDMI Technotrend S2-6400


Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!