Hello,
I’m trying to install drivers for my 4x Tesla K10 gpu’s on Fedora 35.
I’m using the NVIDIA Software Installer for Unix/Linux:
NVIDIA-Linux-x86_64-460.106.00.run with the following command:
./NVIDIA-Linux-x86_64-460.106.00.run --kernel-source-path /usr/src/kernels/$(uname -r) --ui=none
I have installed “Development Tools”.
dnf groupinstall "Development Tools" "Development Libraries"
The problem is that the installer can’t find the header file: stddef.h
But the file is definitely on my system:
$> locate 'stddef.h'
/usr/include/boost/asio/detail/cstddef.hpp
/usr/include/linux/stddef.h
/usr/lib/gcc/x86_64-redhat-linux/11/include/stddef.h
/usr/lib64/clang/13.0.0/include/stddef.h
/usr/share/man/man0p/stddef.h.0p.gz
/usr/src/kernels/5.17.5-200.fc35.x86_64/include/linux/stddef.h // <--- HERE it is.
/usr/src/kernels/5.17.5-200.fc35.x86_64/include/uapi/linux/stddef.h
One part of the error message:
In file included from /tmp/selfgz232716/NVIDIA-Linux-x86_64-460.106.00/kernel/nvidia/nv-frontend.c:11:
/tmp/selfgz232716/NVIDIA-Linux-x86_64-460.106.00/kernel/common/inc/nv-misc.h:20:12: fatal error: stddef.h: No such file or directory
20 | include <stddef.h> // NULL
I have included the full log:
nvidia-driver-installation_log.txt (121.1 KB)
What can I do?