dkms가 모듈을 빌드할 수 없기 때문에 NVIDIA 515.76 드라이버 설치에 실패했습니다. 자세한 내용은 여기에 오류를 설명하는 nvidia-make.log 및 nvidia-installer 로그의 일부를 게시했습니다. 이것은 nvidia-make 로그입니다:
ld:scripts/module.lds:61: syntax error
make[4]: *** [/usr/src/linux-headers-6.0.0-rc7-common/scripts/Makefile.modfinal:59: /var/lib/dkms/nvidia/515.76/build/nvidia-drm.ko] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [/usr/src/linux-headers-6.0.0-rc7-common/scripts/Makefile.modpost:134: __modpost] Error 2
make[2]: *** [/usr/src/linux-headers-6.0.0-rc7-common/Makefile:1766: modules] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.0.0-rc7-amd64'
make[1]: *** [Makefile:222: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.0.0-rc7-common'
make: *** [Makefile:82: modules] Error 2
이는 설치 프로그램 로그에서 가져온 것입니다.
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 515.76 -k 6.0.0-rc7-amd64`: Sign command: /usr/lib/linux-kbuild-6.0/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Binary update-secureboot-policy not found, modules won't be signed
Building module:
Cleaning build area...
'make' -j2 NV_EXCLUDE_BUILD_MODULES='' KERNEL_UNAME=6.0.0-rc7-amd64
modules..............................................(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.0.0-rc7-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/515.76/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.