Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- nvidia-installer log file '/var/log/nvidia-installer.log'
- creation time: Fri Aug 9 02:29:01 2024
- installer version: 340.108
- PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
- nvidia-installer command line:
- ./nvidia-installer
- Using: nvidia-installer ncurses v6 user interface
- -> License accepted.
- -> Installing NVIDIA driver version 340.108.
- -> Performing CC sanity check with CC="/usr/bin/cc".
- -> Kernel source path: '/lib/modules/6.8.12-1-pve/build'
- -> Kernel output path: '/lib/modules/6.8.12-1-pve/build'
- -> Performing rivafb check.
- -> Performing nvidiafb check.
- -> Performing Xen check.
- -> Performing PREEMPT_RT check.
- -> Cleaning kernel module build directory.
- executing: 'cd ./kernel; /usr/bin/make clean'...
- -> Building NVIDIA kernel module:
- executing: 'cd ./kernel; /usr/bin/make module SYSSRC=/lib/modules/6.8.12-1-pve/build SYSOUT=/lib/modules/6.8.12-1-pve/build NV_BUILD_MODULE_INSTANCES='...
- NVIDIA: calling KBUILD...
- make[1]: Entering directory '/usr/src/linux-headers-6.8.12-1-pve'
- /usr/bin/make --no-print-directory -C /usr/src/linux-headers-6.8.12-1-pve \
- -f /usr/src/linux-headers-6.8.12-1-pve/Makefile modules
- warning: the compiler differs from the one used to build the kernel
- The kernel was built by: gcc (Debian 12.2.0-14) 12.2.0
- You are using: cc (Debian 12.2.0-14) 12.2.0
- /usr/bin/make -f ./scripts/Makefile.build obj=/tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel need-builtin=1 need-modorder=1
- # cmd_mod /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nvidia.mod
- printf '%s
- ' nv-kernel.o nv.o nv-acpi.o nv-chrdev.o nv-cray.o nv-dma.o nv-drm.o nv-gvi.o nv-i2c.o nv-mempool.o nv-mmap.o nv-p2p.o nv-pat.o nv-procfs.o nv-usermap.o nv-vm.o nv-vtophys.o os-interface.o os-mlock.o os-pci.o os-registry.o os-smp.o os-usermap.o nv_uvm_interface.o nv-frontend.o | awk '!x[$0]++ { print("/tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/"$0) }' > /tmp/selfgz2203/NVIDIA-Linux-x86_64-34
- 0.108/kernel/nvidia.mod
- # CC [M] /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nv.o
- cc -Wp,-MMD,/tmp/selfgz2203/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 -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -I./ubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -fmacro-prefix-map=./= -std=gnu11 -fshort-wchar -funsigned-char -fno-common -fno-PIE -fno-strict-aliasing -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 -mharden-s
- ls=all -fpatchable-function-entry=16,16 -fno-delete-null-pointer-checks -O2 -fno-allow-store-data-races -fstack-protector-strong -fno-omit-frame-pointer -fno-optimize-sibling-calls -ftrivial-auto-var-init=zero -fno-stack-clash-protection -fzero-call-used-regs=used-gpr -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -falign-functions=16 -fno-strict-overflow -fno-stack-check -fconserve-stack -Wall -Wundef -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Werror=strict-prototypes -Wno-format-security -Wno-trigraphs -Wno-frame-address -Wno-address-of-packed-member -Wmissing-declarations -Wmissing-prototypes -Wframe-larger-than=1024 -Wno-main -Wno-unused-but-set-variable -Wno-unused-const-variable -Wno-dangling-pointer -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-overflow -Wno-array-bounds -Wno-alloc-size-larger-than -Wimplicit-fallthrough=5 -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wenum-conversion -Wno-unused-but-set-variable -Wno-unu
- sed-const-variable -Wno-restrict -Wno-packed-not-aligned -Wno-format-overflow -Wno-format-truncation -Wno-stringop-truncation -Wno-override-init -Wno-missing-field-initializers -Wno-type-limits -Wno-shift-negative-value -Wno-maybe-uninitialized -Wno-sign-compare -g -gdwarf-5 -DNV_MODULE_INSTANCE=0 -DNV_BUILD_MODULE_INSTANCES=0 -UDEBUG -U_DEBUG -DNDEBUG -I/tmp/selfgz2203/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/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nv.o /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nv.c ; ./tools/objtool/objtool --hacks=jump_label --hacks=noinstr --hacks=skylake --retpoline --rethunk --sls --stackval --static-call --uaccess --prefix
- =16 --module /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nv.o
- In file included from /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nv.c:12:
- /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/os-interface.h:27:10: fatal error: stdarg.h: No such file or directory
- 27 | #include <stdarg.h>
- | ^~~~~~~~~~
- compilation terminated.
- make[3]: *** [scripts/Makefile.build:243: /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel/nv.o] Error 1
- make[2]: *** [/usr/src/linux-headers-6.8.12-1-pve/Makefile:1925: /tmp/selfgz2203/NVIDIA-Linux-x86_64-340.108/kernel] Error 2
- make[1]: *** [Makefile:240: __sub-make] Error 2
- make[1]: Leaving directory '/usr/src/linux-headers-6.8.12-1-pve'
- NVIDIA: left KBUILD.
- nvidia.ko failed to build!
- make: *** [Makefile:197: nvidia.ko] Error 1
- -> Error.
- ERROR: Unable to build the NVIDIA kernel module.
- 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