Versions:
$ uname -r
6.8.12-300.fc40.x86_64
$ cat /etc/redhat-release
Fedora release 40 (Forty)
$ vmware -v
VMware Workstation 17.5.2 build-23775571
Hello. Rebooted since the last installations of the kernel and kernel-headers.
Steps to reproduce
Starting the program | bash -v vmware
.
Resulting message:
"Kernel headers for version <version> were not found."

Possible underlying misunderstanding; non-identical latest versions of packages kernel and kernel-headers; this is neither an invalid conception nor an issue.
$ dnf --installed list kernel{,-headers} | sed 1d
kernel.x86_64 6.8.10-300.fc40 @updates
kernel.x86_64 6.8.11-300.fc40 @updates
kernel.x86_64 6.8.12-300.fc40 @updates
kernel-headers.x86_64 6.8.3-300.fc40 @fedora
$ dnf rq --latest-limit=1 --installed --qf '%{arch} | %{name} v. %{version} | %{summary}' kernel{,-headers}
x86_64 | kernel v. 6.8.12 | The Linux kernel
x86_64 | kernel-headers v. 6.8.3 | Header files for the Linux kernel for use by glibc
Worth reading:
please do not post non broadcom external blogs allowed edited by @Jason McClellan Platform Admin
When it comes to the failure of locating the said component, this indicates an inadequate search methodology. The component location is known when searching properly as demonstrated with rpm -ql kernel-headers
; then it is under directory /usr/include
.
Yet an other issue, that one is visible in the snapshot and most probably in this context is indicating an improper formatting; while "x86_64" which is the correct form and thus expected to be printed, instead "_" is printed as an underline of the first "6".