Cannot build 415.27 driver against kernel 5.0.3


today I got the 5.0.3 kernel from Fedora and dkms failed recompiling the 415.27 driver with

/var/lib/dkms/nvidia/415.27/build/nvidia/os-interface.c: In function ‘os_get_current_time’:
error: implicit declaration of function ‘do_gettimeofday’; 
did you mean ‘efi_gettimeofday’? [-Werror=implicit-function-declaration]

Are there newer driver versions known to support that kernel?


You’ll have to use the current driver version 418.56 to get it compile for the 5.0 kernel.

Thanks a lot! I won’t be able to try before mid next week, but I’ll update the thread telling how it works!

Finally came to it - 418.56 worked like a charm (with kernel 5.0.5 which came in the meantime).