I installed Fedoar 39 and I cannot get nvidia-driver to work. At boot, the DKMS build of the open driver fails with the following message: Error! Bad return status for module build on kernel: 6.9.9-100.fc39.x86_64 (x86_64)
and the log shows an error about a missing function declaration in the source code:
/var/lib/dkms/nvidia-open/545.23.08/build/nvidia/libspdm_shash.c: In Funktion »lkca_hmac_duplicate«:
/var/lib/dkms/nvidia-open/545.23.08/build/nvidia/libspdm_shash.c:90:26: Fehler: Implizite Deklaration der Funktion »crypto_tfm_ctx_aligned«; meinten Sie »crypto_tfm_ctx_align«? [-Werror=implicit-function-declaration]
90 | char *src_ipad = crypto_tfm_ctx_aligned(&src_tfm->base);
| ^~~~~~~~~~~~~~~~~~~~~~
| crypto_tfm_ctx_align
A common cause in other threads about the similar problems seems to a mismatch between the gcc version installed and the one used to build the kernel. For me, it’s version 13.3.1 in both cases.
This is the nvidia-bug-report: nvidia-bug-report.log.gz (1.5 MB)
Does anyone know how to solve this?