Vmware workstation pro 17 installation error

good morning to all.
I’m trying to install vmware workstation pro 17 but I always have errors compiling vmmon and vmnet.
I followed several posts but without finding a working solution.

Can someone help me?
thanks

martin

The docs are not clear on this, and there are quite a few reports on VMware workstation in the forum. These are the steps that work for me.

sudo swupd bundle-add kernel-native-dkms
sudo mkdir /etc/init.d/
# install vmware-player-17.0.2 as usual
# start the player GUI and go over the wizard, then exit it. 
sudo vmware-modconfig --console --install-all
sudo systemctl start vmware 
# if the service started in the last step, 
# start the Player and install VM from iso.

I expect that the step sudo vmware-modconfig --console --install-all will need to run after every major kernel update.