Did you have the problem that you did not initiate the VMWare by upgrade to the latest kernel? Here I leave you the solution for this problem. Surely we got a sign saying that it cannot find a compatible version of GCC in order to compile the modules you need to dock to the kernel to work, for which we will need to install a more recent version for which I leave you the steps to follow:
If in the attempt to install it you saw that it did not work for you and you uninstalled it, I leave the link for you to enter the official page and download it. You have to enter you here and download VMware Player for Linux Workstation. Which will provide us a file VMware-Player-15.5.1-15018445.x86_64.bundle depending on the version of the program currently.
For this practical example we will use version 9.2 obtained from GitHubWe advise you to check this link to see if there is no newer version to install. If we find a more recent one, we must change that value in the commands so that they work correctly.
sudo apt update sudo apt upgrade sudo apt install build-essential sudo apt install flex wget https://github.com/gcc-mirror/gcc/archive/releases/gcc-9.2.0.tar.gz tar -xzvf gcc-9.2.0.tar.gz cd gcc-releases-gcc-9.2.0 contrib/download_prerequisites ./configure -v -build=x86_64-linux-gnu -host=x86_64-linux-gnu -target=x86_64-linux-gnu -enable-checking=release -enable-languages=c,c++ -disable-multilib make -j 4 (este proceso demora 1hs aprox) sudo make install
For this case we will occupy version 15.5.1 so the modules that we will obtain correspond to that version of the program, so in the first command we must replace the numbers in workstation-15.5.1 the version we install in the system.
git clone -b workstation-15.5.1 https://github.com/mkubecek/vmware-host-modules.git cd vmware-host-modules sudo tar -cf vmmon.tar vmmon-only sudo tar -cf vmnet.tar vmnet-only sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ sudo vmware-modconfig --console --install-all
Observation: We must carry out the configuration process every time we update to a new version of the kernel, if we do not delete the folder created with the download in the personal folder of the team we only have to perform the last 2 steps again. If you had an error in the configuration process after a kernel update, here are the steps to solve it.
git clone -b workstation-15.5.1 https://github.com/mkubecek/vmware-host-modules.git cd vmware-host-modules sudo make sudo make install
These would be the steps to be enjoying the latest version of the kernel with VMWare installed in its latest version working correctly. Do not forget to leave us your comment to know your experience. Regards!