4

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?

2 Answers2

6

I have found a solution here. It works, but I would rather like not to download and install code from a third party:

Download the replacement code for the modules from mkubecek's Github repo.

Now execute:

  tar -xzf vmware-host-modules-player-16.2.3.tar.gz
  cd vmware-host-modules-player-16.2.3
  tar -cf vmmon.tar vmmon-only
  tar -cf vmnet.tar vmnet-only
  sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
  sudo vmware-modconfig --console --install-all

After this, VMWare Player will start.

1

Ubuntu 22.04, old hardware.

I have the same problem after upgrading to kernel 5.17.

I have temporarily "solved" it by reverting back to kernel 5.15.

Ambroz
  • 21