vGPU software installation fail on SLES 15 SP2

Hi,

I’m installing NVIDIA vGPU software for Linux KVM 8.3 on SLES 15 SP2.
Currently, I’m blocked by this error:

ERROR: Neither the ‘/include/linux/version.h’ nor the ‘/include/generated/uapi/linux/version.h’ kernel header file exists. The most likely reason for this is that the kernel source files in ‘/usr/src/linux’ have not been configured.

It seems the installer requires kernel headers to be installed. In SUSE, it’s included in kernel-devel package and it’s already installed in my server.
Does anyone have any idea on this? Thanks in advance!

ceeinfra@compute3:~> cat /etc/os-release
NAME=“SLES”
VERSION=“15-SP2”
VERSION_ID=“15.2”
PRETTY_NAME=“SUSE Linux Enterprise Server 15 SP2”
ID=“sles”
ID_LIKE=“suse”
ANSI_COLOR=“0;32”
CPE_NAME=“cpe:/o:suse:sles:15:sp2”

ceeinfra@compute3:~> uname -r
5.3.18-24.46-default

ceeinfra@compute3:~> zypper se -si kernel
Loading repository data…
Reading installed packages…

S | Name | Type | Version | Arch | Repository
—±----------------------±--------±----------------±-------±-------------------------
i+ | kernel-default | package | 5.3.18-24.46.1 | x86_64 | Module-Basesystem-Updates
i+ | kernel-default | package | 5.3.18-24.46.1 | x86_64 | hostos
i+ | kernel-devel | package | 5.3.18-24.46.1 | noarch | Module-Basesystem-Updates
i+ | kernel-firmware | package | 20200107-3.15.1 | noarch | Module-Basesystem-Updates
i+ | kernel-firmware | package | 20200107-3.15.1 | noarch | hostos
i | kernel-macros | package | 5.3.18-24.49.2 | noarch | Module-Basesystem-Updates
i | purge-kernels-service | package | 0-6.2 | noarch | Module-Basesystem
i | purge-kernels-service | package | 0-6.2 | noarch | hostos

Fixed by installing the kernel-default-devel package.