DKMS (dkms-3.2.0) make.log for nvidia/390.157 for kernel 6.1.0-37-amd64 (x86_64) Mon Sep 8 17:47:05 CEST 2025 Building module(s) # command: 'make' -j8 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.1.0-37-amd64 modules make[1]: Entering directory '/usr/src/linux-headers-6.1.0-37-common' SYMLINK /var/lib/dkms/nvidia/390.157/build/nvidia/nv-kernel.o Compiler version check failed: The major and minor number of the compiler used to compile the kernel: gcc-12 (Debian 12.2.0-14+deb12u1) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40 does not match the compiler used here: gcc-12 (Debian 12.4.0-5) 12.4.0 Copyright (C) 2022 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[3]: *** [/var/lib/dkms/nvidia/390.157/build/Kbuild:187: cc_version_check] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/usr/src/linux-headers-6.1.0-37-common/Makefile:2038: /var/lib/dkms/nvidia/390.157/build] Error 2 make[1]: *** [Makefile:250: __sub-make] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-37-common' make: *** [Makefile:81: modules] Error 2 # exit code: 2 # elapsed time: 00:00:02 ----------------------------------------------------------------