DKMS make.log for nvidia-340.107 for kernel 5.3.1-arch1-1-ARCH (x86_64) Κυρ 06 Οκτ 2019 02:40:27 μμ EEST gcc-version-check failed: The compiler used to compile the kernel (gcc 9.1) does not exactly match the current compiler (gcc 9.2). The Linux 2.6 kernel module loader rejects kernel modules built with a version of gcc that does not exactly match that of the compiler used to build the running kernel. If you know what you are doing and want to override the gcc version check, you can do so by setting the IGNORE_CC_MISMATCH environment variable to "1". In any other case, set the CC environment variable to the name of the compiler that was used to compile the kernel. *** Failed CC version check. Bailing out! *** make: *** [nvidia-modules-common.mk:201: build-sanity-checks] Error 1 make: Entering directory '/var/lib/dkms/nvidia/340.107/build/uvm' cd ./..; make module SYSSRC=/lib/modules/5.3.1-arch1-1-ARCH/build SYSOUT=/lib/modules/5.3.1-arch1-1-ARCH/build KBUILD_EXTMOD=./.. make[1]: Entering directory '/var/lib/dkms/nvidia/340.107/build' NVIDIA: calling KBUILD... make[2]: Entering directory '/usr/lib/modules/5.3.1-arch1-1-ARCH/build' Makefile:213: ================= WARNING ================ Makefile:214: 'SUBDIRS' will be removed after Linux 5.3 Makefile:215: Makefile:216: If you are building an individual subdirectory Makefile:217: in the kernel tree, you can do like this: Makefile:218: $ make path/to/dir/you/want/to/build/ Makefile:219: (Do not forget the trailing slash) Makefile:220: Makefile:221: If you are building an external module, Makefile:222: Please use 'M=' or 'KBUILD_EXTMOD' instead Makefile:223: ========================================== test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) make -f ./scripts/Makefile.build obj=./.. need-modorder=1 scripts/Makefile.build:42: ../Makefile: Δεν υπάρχει τέτοιο αρχείο ή κατάλογος make[3]: *** No rule to make target '../Makefile'. Stop. make[2]: *** [Makefile:1624: _module_./..] Error 2 make[2]: Leaving directory '/usr/lib/modules/5.3.1-arch1-1-ARCH/build' NVIDIA: left KBUILD. nvidia.ko failed to build! make[1]: *** [Makefile:192: nvidia.ko] Error 1 make[1]: Leaving directory '/var/lib/dkms/nvidia/340.107/build' make: *** [Makefile:220: ../Module.symvers] Error 2 make: Leaving directory '/var/lib/dkms/nvidia/340.107/build/uvm'