DKMS make.log for nvidia-current-390.25-1 for kernel 4.14.14-desktop-22omv (x86_64) Mon Feb 5 16:56:21 CET 2018 make[1]: Entering directory '/usr/src/linux-4.14.14-desktop-22omv' SYMLINK /var/lib/dkms/nvidia-current/390.25-1/build/nvidia/nv-kernel.o SYMLINK /var/lib/dkms/nvidia-current/390.25-1/build/nvidia-modeset/nv-modeset-kernel.o Compiler version check failed: The major and minor number of the compiler used to compile the kernel: gcc version 7.2.1 20171116 (OpenMandriva) (Linaro GCC Snapshot 7.2-2017.11) does not match the compiler used here: gcc (GCC) 7.3.0 20180125 (OpenMandriva) Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. It is recommended to set the CC environment variable to the compiler that was used to compile the kernel. The compiler version check can be disabled by setting the IGNORE_CC_MISMATCH environment variable to "1". However, mixing compiler versions between the kernel and kernel modules can result in subtle bugs that are difficult to diagnose. *** Failed CC version check. Bailing out! *** make[2]: *** [/var/lib/dkms/nvidia-current/390.25-1/build/Kbuild:180: cc_version_check] Error 1 make[1]: *** [Makefile:1507: _module_/var/lib/dkms/nvidia-current/390.25-1/build] Error 2 make[1]: Leaving directory '/usr/src/linux-4.14.14-desktop-22omv' make: *** [Makefile:79: modules] Error 2