Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Installing version 340 on Linux 6.8 fails: "The CC version check failed" #27

@ratemisia

Description

@ratemisia

Error:
The string "(gcc" was not found in the /proc/version string: "Linux version 6.8.0-51-generic (buildd@lcy02-amd64-091) (x86-64-linux-gnu-gcc-13 (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0, GNU ld (GNU Binutils for Ubuntu) 2.42) #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024", please report this error to linux-bugs@nvidia.com

It goes on to advise that "you can either ignore the CC version check... or set the CC environment variable to the name of the compiler used to compile your kernel, and restart installation."

Attempting to proceed results in a failure to install and a system that is now unbootable to the graphical environment.

I can see from the error message that the relevant compiler version is gcc-13.3.0. Could I, and if so, how would I "set the CC environment variable" as described? Would this allow the drivers to install successfully?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions