[Stable Update] 2022-02-27 - Kernels, Mesa 21.3.7, Plasma 5.24.2, Frameworks 5.91, Pipewire 0.3.47, Toolchain, Gstreamer 1.20, Nvidia 510.54

Hello,

This is for the users that still use nvidia-340 driver.
I ran into unable to compile error with exit code 10 ( its not that important ).

The important thing is:
You will have a make.log file and in there the error states that its a mismatch gcc compiler 11.1 → 11.2

In order to fix this you will

  1. open /etc/profile and at the end of the file add export IGNORE_CC_MISMATCH=1
  2. Reboot.
  3. You will be greeted by black screen. Don’t panic :slight_smile: Go to tty login as root and run
    dkms autoinstall
  4. Reboot.

That’s it.

It worked for me.

Cheers…

7 Likes