You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DKMS of 470.161.03 fail on recent kernel with errors like this
/var/lib/dkms/nvidia/470.161.03/build/nvidia/os-interface.c:1076:36: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
NvU32 NV_API_CALL os_get_cpu_number()
^
void
/var/lib/dkms/nvidia/470.161.03/build/nvidia/os-interface.c:1083:35: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
NvU32 NV_API_CALL os_get_cpu_count()
^
void
/var/lib/dkms/nvidia/470.161.03/build/nvidia/os-interface.c:1163:31: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
void NV_API_CALL os_dump_stack()
^
void
Found solution here and adapted it for DKMS build:
DKMS of 470.161.03 fail on recent kernel with errors like this
Found solution here and adapted it for DKMS build:
Please add this to package so it can be applied automatically.
Thanks.
The text was updated successfully, but these errors were encountered: