Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Wed Dec 22 19:25:58 2021
- installer version: 304.137
- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
- nvidia-installer command line:
- ./nvidia-installer
- Using: nvidia-installer ncurses v6 user interface
- -> License accepted.
- -> Installing NVIDIA driver version 304.137.
- -> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
- -> Installing both new and classic TLS OpenGL libraries.
- -> Installing classic TLS 32bit OpenGL libraries.
- -> Install NVIDIA's 32-bit compatibility OpenGL libraries? (Answer: Yes)
- -> Searching for conflicting X files:
- -> done.
- -> Searching for conflicting OpenGL files:
- -> done.
- -> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (304.137):
- executing: '/usr/sbin/ldconfig'...
- executing: '/usr/sbin/depmod -aq'...
- depmod: WARNING: Ignored deprecated option -q
- -> done.
- -> Driver file installation is complete.
- -> Installing DKMS kernel module:
- ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 304.137 -k 5.4.0-91-generic`:
- Kernel preparation unnecessary for this kernel. Skipping...
- Building module:
- cleaning build area...
- make -j4 KERNELRELEASE=5.4.0-91-generic module SYSSRC=/lib/modules/5.4.0-91-generic/build......(bad exit status: 2)
- Error! Bad return status for module build on kernel: 5.4.0-91-generic (x86_64)
- Consult /var/lib/dkms/nvidia/304.137/build/make.log for more information.
- -> error.
- ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
- ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
- DKMS make.log for nvidia-304.137 for kernel 5.4.0-91-generic (x86_64)
- 2021. dec. 22., szerda, 19:27:28 CET
- NVIDIA: calling KBUILD...
- make -f ./Makefile syncconfig
- make -f ./scripts/Makefile.build obj=scripts/basic
- gcc -Wp,-MD,scripts/basic/.fixdep.d -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 -fomit-frame-pointer -std=gnu89 -o scripts/basic/fixdep scripts/basic/fixdep.c
- scripts/basic/fixdep.c:97:10: fatal error: sys/types.h: No such file or directory
- 97 | #include <sys/types.h>
- | ^~~~~~~~~~~~~
- compilation terminated.
- make[4]: *** [scripts/Makefile.host:107: scripts/basic/fixdep] Error 1
- make[3]: *** [Makefile:550: scripts_basic] Error 2
- make[2]: *** [Makefile:723: include/config/auto.conf.cmd] Error 2
- make[2]: *** [include/config/auto.conf.cmd] Deleting file 'include/config/tristate.conf'
- NVIDIA: left KBUILD.
- nvidia.ko failed to build!
- make[1]: *** [Makefile:261: module] Error 1
- make: *** [makefile:59: module] Error 2
Advertisement
Add Comment
Please, Sign In to add comment