Hello, I can’t install drivers on my Fedora40, I have a Geforce gtx650 graphics card
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:629:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 629 | NV_MEMDBG_ADD(ptr, size); \
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-interface.c:491:13: note: in expansion of macro ‘NV_KMALLOC_NO_OOM’
2024/08/15 05:51:30 akmodsbuild: 491 | NV_KMALLOC_NO_OOM(*address, alloc_size);
2024/08/15 05:51:30 akmodsbuild: | ^~~~~~~~~~~~~~~~~
2024/08/15 05:51:30 akmodsbuild: In file included from /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-mlock.c:14:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_vmalloc’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:521:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 521 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:535:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 535 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-interface.c: In function ‘os_queue_work_item’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:549:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 549 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:579:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 579 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:614:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 614 | NV_MEMDBG_ADD(ptr, size); \
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-interface.c:1022:5: note: in expansion of macro ‘NV_KMALLOC_ATOMIC’
2024/08/15 05:51:30 akmodsbuild: 1022 | NV_KMALLOC_ATOMIC(oqd, sizeof(os_queue_data_t));
2024/08/15 05:51:30 akmodsbuild: | ^~~~~~~~~~~~~~~~~
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_vmap’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:666:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 666 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-interface.c: In function ‘os_alloc_wait_queue’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:607:37: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 607 | NV_MEMDBG_ADD(ptr, size); \
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-interface.c:1869:5: note: in expansion of macro ‘NV_KMALLOC’
2024/08/15 05:51:30 akmodsbuild: 1869 | NV_KMALLOC(*wq, sizeof(os_wait_queue));
2024/08/15 05:51:30 akmodsbuild: | ^~~~~~~~~~
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-mlock.c: In function ‘nv_follow_pfn’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-mlock.c:23:12: error: implicit declaration of function ‘follow_pfn’; did you mean ‘follow_pte’? [-Wimplicit-function-declaration]
2024/08/15 05:51:30 akmodsbuild: 23 | return follow_pfn(vma, address, pfn);
2024/08/15 05:51:30 akmodsbuild: | ^~~~~~~~~~
2024/08/15 05:51:30 akmodsbuild: | follow_pte
2024/08/15 05:51:30 akmodsbuild: make[3]: *** [scripts/Makefile.build:244: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-mlock.o] Error 1
2024/08/15 05:51:30 akmodsbuild: make[3]: *** Waiting for unfinished jobs....
2024/08/15 05:51:30 akmodsbuild: In file included from /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-pci.c:14:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_vmalloc’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:521:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 521 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:535:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 535 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:549:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 549 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:579:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 579 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_vmap’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:666:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 666 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: In file included from /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/nvidia/os-registry.c:14:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_vmalloc’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:521:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 521 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:535:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 535 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap_cache’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:549:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 549 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_ioremap_wc’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:579:33: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 579 | NV_MEMDBG_ADD(ptr, size);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h: In function ‘nv_vmap’:
2024/08/15 05:51:30 akmodsbuild: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64/common/inc/nv-linux.h:666:51: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
2024/08/15 05:51:30 akmodsbuild: 666 | NV_MEMDBG_ADD(ptr, page_count * PAGE_SIZE);
2024/08/15 05:51:30 akmodsbuild: | ^
2024/08/15 05:51:30 akmodsbuild: make[2]: *** [/usr/src/kernels/6.10.3-200.fc40.x86_64/Makefile:1946: /tmp/akmodsbuild.SCmodDg8/BUILD/nvidia-470xx-kmod-470.256.02/_kmod_build_6.10.3-200.fc40.x86_64] Error 2
2024/08/15 05:51:30 akmodsbuild: make[1]: *** [Makefile:252: __sub-make] Error 2
2024/08/15 05:51:30 akmodsbuild: make[1]: Leaving directory '/usr/src/kernels/6.10.3-200.fc40.x86_64'
2024/08/15 05:51:30 akmodsbuild: make: *** [Makefile:80: modules] Error 2
2024/08/15 05:51:30 akmodsbuild: ошибка: Неверный код возврата из /var/tmp/rpm-tmp.a3waYF (%build)
2024/08/15 05:51:30 akmodsbuild:
2024/08/15 05:51:30 akmodsbuild: RPM build errors:
2024/08/15 05:51:30 akmodsbuild: Неверный код возврата из /var/tmp/rpm-tmp.a3waYF (%build)
2024/08/15 05:51:30 akmodsbuild:
2024/08/15 05:51:30 akmods: Building rpms failed; see /var/cache/akmods/nvidia-470xx/470.256.02-1-for-6.10.3-200.fc40.x86_64.failed.log for details