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
In the meanwhile I was able to install the right driver for the Nvidia Tesla K10 under Fedora35.
It helped me to use the following commands and to look into the log messages:
dmesg # Can help to figure out what went wrong when the driver was loaded, but it was maybe the wrong version
lsmod | egrep 'VGA|3D|NVIDIA|GPU|video|nouveau|nvidia' # nouveau should not be inside