Advertisement
Guest User

Untitled

a guest
Sep 7th, 2022
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. nvidia-installer log file '/var/log/nvidia-installer.log'
  2. creation time: Wed Sep 7 15:58:53 2022
  3. installer version: 340.108
  4.  
  5. PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  6.  
  7. nvidia-installer command line:
  8. ./nvidia-installer
  9. --kernel-source-path
  10. /usr/src/linux-source-5.18
  11. --no-cc-version-check
  12.  
  13. Using: nvidia-installer ncurses v6 user interface
  14. -> License accepted.
  15. -> Installing NVIDIA driver version 340.108.
  16. -> 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: No)
  17. -> Performing CC sanity check with CC="/usr/bin/cc".
  18. -> Using the kernel source path '/usr/src/linux-source-5.18' as specified by the '--kernel-source-path' commandline option.
  19. -> Kernel source path: '/usr/src/linux-source-5.18'
  20. -> Kernel output path: '/usr/src/linux-source-5.18'
  21. -> Performing rivafb check.
  22. -> Performing nvidiafb check.
  23. -> Performing Xen check.
  24. -> Performing PREEMPT_RT check.
  25. -> Cleaning kernel module build directory.
  26. executing: 'cd ./kernel; /usr/bin/make clean'...
  27. -> Building NVIDIA kernel module:
  28. executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/usr/src/linux-source-5.18 SYSOUT=/usr/src/linux-source-5.18 NV_BUILD_MODULE_INSTANCES='...
  29. NVIDIA: calling KBUILD...
  30. make[1]: Entering directory '/usr/src/linux-source-5.18'
  31. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
  32. echo >&2; \
  33. echo >&2 " ERROR: Kernel configuration is invalid."; \
  34. echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
  35. echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
  36. echo >&2 ; \
  37. /bin/false)
  38. warning: the compiler differs from the one used to build the kernel
  39. The kernel was built by: gcc (Debian 12.2.0-1) 12.2.0
  40. You are using: cc (Debian 12.2.0-1) 12.2.0
  41. /usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel \
  42. single-build= \
  43. need-builtin=1 need-modorder=1
  44. cc -Wp,-MMD,/tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel/.nv.o.d -nostdinc -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -i
  45. nclude ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -std=gnu11 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -fcf-protection=none -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -mindirect-branch-cs-prefix -mfunction-return=thunk-extern -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 -fno-allow-store-data-races -Wframe-larger-than=2048 -fstack-protector-strong -Wno-array-bounds -Wimplicit-
  46. fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -fno-stack-clash-protection -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wno-stringop-overflow -Wno-restrict -Wno-maybe-uninitialized -Wno-alloc-size-larger-than -fno-strict-overflow -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -g -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel -Wall -MD -Wsign-compare -Wno-cast-qual -Wno-error -D__KERNEL__ -DMODULE -DNVRM -DNV_VERSION_STRING=\"340.108\" -Wno-unused-function -Wuninitialized -fno-strict-aliasing -mno-red-zone -mcmodel=kernel -DNV_UVM_ENABLE -D__linux__ -DNV_DEV_NAME=\"nvidia\" -DMODULE -DKBUILD_BASENAME='"nv"' -DKBUILD_MODNAME='"nvidia"' -D__KBUILD_MODNAME=kmod_nvidia -c -o /tmp/selfgz6
  47. 370/NVIDIA-Linux-x86_64-340.108/kernel/nv.o /tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel/nv.c ; ./tools/objtool/objtool orc generate --module --no-fp --retpoline --rethunk --uaccess /tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel/nv.o
  48. In file included from /tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:12:
  49. /tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory
  50. 27 | #include <stdarg.h>
  51. | ^~~~~~~~~~
  52. compilation terminated.
  53. make[2]: *** [scripts/Makefile.build:294: /tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel/nv.o] Error 1
  54. make[1]: *** [Makefile:1862: /tmp/selfgz6370/NVIDIA-Linux-x86_64-340.108/kernel] Error 2
  55. make[1]: Leaving directory '/usr/src/linux-source-5.18'
  56. NVIDIA: left KBUILD.
  57. nvidia.ko failed to build!
  58. make: *** [Makefile:197: nvidia.ko] Error 1
  59. -> Error.
  60. ERROR: Unable to build the NVIDIA kernel module.
  61. 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.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement