Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › nvidia-legacy-340xx-driver doesn’t build on Linux 6.1 kernel
- This topic has 1 reply, 2 voices, and was last updated Mar 31-5:15 pm by anticapitalista.
-
AuthorPosts
-
March 26, 2023 at 1:26 pm #103260Member
notospam
Dear developers,
I’ve installed latest Linux 6.1.18-antix kernel from antiX bullseye repo. Latest Nvidia legacy drivers (340.108-11~mx21) were installed using provided ddm-mx tool. Nvidia dkms kernel module fails to build.
In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.c:12: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include <stdarg.h> | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.c:14: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include <stdarg.h> | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-acpi.o] Error 1 In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.c:14: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include <stdarg.h> | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-chrdev.o] Error 1 In file included from /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.c:14: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory 27 | #include <stdarg.h> | ^~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:250: /var/lib/dkms/nvidia-legacy-340xx/340.108/build/nv-cray.o] Error 1 make[1]: *** [Makefile:2026: /var/lib/dkms/nvidia-legacy-340xx/340.108/build] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-6.1.18-antix.1-amd64-smp' make: *** [Makefile:211: nvidia.ko] Error 2 make: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm' cd ./..; make module SYSSRC=/lib/modules/6.1.18-antix.1-amd64-smp/build SYSOUT=/lib/modules/6.1.18-antix.1-amd64-smp/build KBUILD_EXTMOD=./.. make[1]: Entering directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build' NVIDIA: calling KBUILD... make NV_MODULE_SUFFIX= KERNEL_SOURCES=/lib/modules/6.1.18-antix.1-amd64-smp/build KERNEL_OUTPUT=/lib/modules/6.1.18-antix.1-amd64-smp/build KBUILD_VERBOSE=1 -C /lib/modules/6.1.18-antix.1-amd64-smp/build M=/var/lib/dkms/nvidia-legacy-340xx/340.108/build ARCH=x86_64 modules make[2]: Entering directory '/usr/src/linux-headers-6.1.18-antix.1-amd64-smp' make -f ./scripts/Makefile.build obj=.. need-builtin=1 need-modorder=1 scripts/Makefile.build:44: ../Makefile: No such file or directory make[3]: *** No rule to make target '../Makefile'. Stop. make[2]: *** [Makefile:2026: ..] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.1.18-antix.1-amd64-smp' make[1]: *** [Makefile:211: nvidia.ko] Error 2 make[1]: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build' make: *** [Makefile:225: ../Module.symvers] Error 2 make: Leaving directory '/var/lib/dkms/nvidia-legacy-340xx/340.108/build/uvm'Debian unstable repo has latest version of the driver 340.108-18 (supporting 6.2 kernel), but it won’t install due to dependency requirement of libc6 > 2.34 version.
Could maintainers upload nvidia-legacy-340xx driver to antiX repos using the latest version from Debian unstable?- This topic was modified 1 month, 2 weeks ago by notospam.
March 31, 2023 at 5:15 pm #103759Forum Admin
anticapitalista
::Do these work?
https://mxrepo.com/mx/repo/pool/ahs/n/nvidia-graphics-drivers-legacy-340xx/?C=M;O=D
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
-
AuthorPosts
- You must be logged in to reply to this topic.