As the error description said, the gcc 6.4.0 compiler is not found (your current gcc version maybe also not be 6.x version). So what we need to do is install gcc 6.x version. The fix flow as below:
- Check & install gcc version 6.
- Get full path of the new gcc (version 6) by using locate or which command with parameter is gcc-6.
- Back to the VMware Kernel Modules Updater, browse the full path of the gcc-6 (mine is */usr/bin/gcc-6) ==> Click Install and provide root password to continue initialize vmware.
Another way you can relink the gcc default command (/usr/bin/gcc) by the fullpath of gcc-6 (/usr/bin/gcc-6).
So in my Kali Linux 2017.1, I did like these: