VMware for CentOS 8.X patch for compiling vmnet and vmmon errors
1. su -
2. dnf update # lastest kernel version
3. download source bundle from https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html
and run bundle file
./VMware-XXXX.bundle
4. download patch from https://github.com/mkubecek/vmware-host-modules/tree/workstation-16.1.2
5. unpack vmware-host-modules
6. cd vmware-host-modules
7. make && make install
8. su -l yourusername
9. vmware
References
https://communities.vmware.com/t5/VMware-Workstation-Pro/Cannot-upgrade-VMware-Workstation-16-1-X-build-modules-on-RHEL-8/td-p/2847782