VMware player problem with compiling modules (ubuntu host)?

  1. cd /usr/lib/vmware/modules/source
  2. git clone https://github.com/mkubecek/vmware-host-modules
  3. cd vmware-host-modules
  4. git checkout workstation-16.2.3
  5. make
  6. tar -cf vmnet.tar vmnet-only
  7. tar -cf vmmon.tar vmmon-only
  8. mv vmnet.tar /usr/lib/vmware/modules/source/
  9. mv vmmon.tar /usr/lib/vmware/modules/source/
  10. vmware-modconfig –console –install-all

source

source