I'm running Ubuntu (Mate) 22.04 with a kernel upgraded to 5.17.4 (I have very new hardware).
After downloading and running the .bundle-file from VM-Ware, the vmmon and vmnet modules failed to install.
The log showed multiple stdarg.h and stddef.h not found errors. I tried the solution I found here:
sudo CPATH=/usr/src/linux-headers-5.17.4-051704/include/linux vmware-modconfig --console --install-all
But I get multiple error: expression in static assertion is not constant.
How will I get VMWare to run?