i had the same error becaues i updated kernel-sources from the online repository but still had an older kernel from my installation DVD. I solved the problem by updating the kernel from the online repository as well. As i’ve read, the version Numbers of kernel and sources can differ, but they have to be issued on the same day.
Ooh I didn’t know that. I’ve always kept kernel-source and kernel with the same version numbers because virtualbox and other packages that require kernel-source have steadfastly refused to compile if there was even a -x.x.x.1 difference between the two. I’ll check for issue days next time KOTD has a version mismatch.
@OP
You can check kernel versions in yast. In the software manager, select a package, and click on the Version tab. It’ll have a check mark on the installed version and also list all available versions.