Tumbleweed won't compile VMware kernel modules

Greetings!
I’m trying to compile kernel modules for WMware Workstation 17.5.2,
but it won’t happen due to nasty error.

make -C vmmon-only 
make[1]: Entering directory '/home/alexound/vmware-host-modules/vmmon-only'
Using standalone build system.
In file included from ./autoconf/geninclude.c:20:
./include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
   38 | #   include <generated/autoconf.h>
      |             ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: Entering directory '/home/alexound/vmware-host-modules/vmmon-only/driver-6.13.1-1-default'
In file included from .././autoconf/geninclude.c:20:
.././include/compat_autoconf.h:38:13: fatal error: generated/autoconf.h: No such file or directory
   38 | #   include <generated/autoconf.h>
      |             ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Dependencies for driver.c
In file included from .././include/compat_version.h:35,
                 from .././include/driver-config.h:36,
                 from .././linux/driver.c:20:
/usr/include/linux/version.h:2:2: error: #error "======================================================="

I’ve installed every possible build tool such such as make, autoconf, gcc, kernel-source, kernel-devel, etc.

Kernel version: 6.13.1-1-default

Am I missing something?
Any help would by highly appreciated!

Regards,
Alexound.

I would start by upgrading to VMware Workstation 17.6.2 - the latest version’s modules build fine on Tumbleweed (I have it running right now on a system updated this past Saturday).

VMware Workstation is now available gratis for any use, so upgrading comes at no cost.

Sorry, it is actually 17.6.2, I mistyped the version in original post :neutral_face:

No worries. :slight_smile:

For me, the build succeeded when I launched VMware - it looks like you may be building a non-standard source tree for the modules. This used to be necessary, but isn’t now.

What development packages do you have installed?

Man, so embarrassing!
I’ve ended up upgrading the system, installed new kernel and everything fired up just fine.

Thank you very much for your attention!

Regards,
Alexound.

Glad to help out - and that you got it working. :slight_smile: