The following packages will be installed: nvidia-legacy340-kernel Fetching 10-nvidia.conf... 0%100%100%100%100%100%Done Fetching README... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching nvidia-legacy340-kernel.SlackBuild... 0%100%100%100%100%100%Done Fetching nvidia-legacy340-kernel.info... 0%100%100%100%100%100%Done Fetching patches/0001-kernel-5.7.patch... 0% 64%100%100%100%100%100%Done Fetching patches/0002-kernel-5.8.patch... 0%100%100%100%100%100%Done Fetching patches/0003-kernel-5.9.patch... 0%100%100%100%100%100%Done Fetching patches/0004-kernel-5.10.patch... 0%100%100%100%100%100%Done Fetching patches/0005-kernel-5.11.patch... 0%100%100%100%100%100%Done Fetching patches/0006-kernel-5.14.patch... 0%100%100%100%100%100%Done Fetching patches/0007-kernel-5.15.patch... 0%100%100%100%100%100%Done Fetching patches/0008-kernel-5.16.patch... 0%100%100%100%100%100%Done Fetching patches/0009-kernel-5.17.patch... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Creating directory NVIDIA-Linux-x86-340.108 Verifying archive integrity... OK Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 340.108........................................................................................................................................................................................................... patching file kernel/Makefile patching file kernel/conftest.sh patching file kernel/dkms.conf patching file kernel/nv-drm.c patching file kernel/nv-linux.h patching file kernel/nv-procfs.c patching file kernel/nv-time.h patching file kernel/nv.c patching file kernel/os-interface.c patching file kernel/uvm/Makefile patching file kernel/uvm/conftest.sh patching file kernel/uvm/nvidia_uvm_lite.c patching file kernel/nv-linux.h patching file kernel/nvidia-modules-common.mk patching file kernel/os-mlock.c patching file kernel/uvm/nvidia_uvm_lite_api.c patching file kernel/nv-drm.c patching file kernel/nv-linux.h patching file kernel/nv.c patching file kernel/uvm/nvidia_uvm_linux.h patching file kernel/nv-drm.c Hunk #1 succeeded at 364 (offset 42 lines). patching file kernel/conftest.sh patching file kernel/nv-drm.c Hunk #1 succeeded at 59 (offset -1 lines). Hunk #2 succeeded at 211 (offset -1 lines). Hunk #3 succeeded at 242 (offset -1 lines). Hunk #4 succeeded at 278 (offset -1 lines). Hunk #5 succeeded at 408 (offset -2 lines). Hunk #6 succeeded at 459 (offset -2 lines). patching file kernel/nv-linux.h patching file kernel/uvm/nvidia_uvm_linux.h patching file kernel/nv-drm.c patching file kernel/os-interface.c patching file kernel/nv-drm.c Hunk #1 succeeded at 606 (offset 77 lines). patching file kernel/os-interface.h patching file kernel/nv.h patching file kernel/conftest.sh patching file kernel/nv-linux.h patching file kernel/uvm/conftest.sh NVIDIA: calling KBUILD... make[1]: *** /lib/modules/4.4.276/build: No such file or directory. Stop. NVIDIA: left KBUILD. nvidia.ko failed to build! make: *** [Makefile:202: nvidia.ko] Error 1 fakeroot -- sh nvidia-legacy340-kernel.SlackBuild Failed