Error log :
2017-02-05T20:59:52.306+02:00| vthread-4| I125: Log for VMware Workstation pid=5187 version=12.5.0 build=build-4352439 option=Release
2017-02-05T20:59:52.306+02:00| vthread-4| I125: The process is 64-bit.
2017-02-05T20:59:52.306+02:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
2017-02-05T20:59:52.306+02:00| vthread-4| I125: Host is Linux 4.9.0-kali1-amd64 Kali GNU/Linux Rolling
2017-02-05T20:59:52.306+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2017-02-05T20:59:52.306+02:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2017-02-05T20:59:52.306+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2017-02-05T20:59:52.306+02:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2017-02-05T20:59:52.361+02:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-5187.log
2017-02-05T20:59:52.369+02:00| vthread-4| I125: Obtaining info using the running kernel.
2017-02-05T20:59:52.369+02:00| vthread-4| I125: Created new pathsHash.
2017-02-05T20:59:52.369+02:00| vthread-4| I125: Setting header path for 4.9.0-kali1-amd64 to "/lib/modules/4.9.0-kali1-amd64/build/include".
2017-02-05T20:59:52.369+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T20:59:52.369+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T20:59:52.373+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T20:59:52.373+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T20:59:52.500+02:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-kali1-amd64/build/Module.symvers
2017-02-05T20:59:52.501+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-kali1-amd64/build/Module.symvers.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Read 18757 symbol versions
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Reading in info for the vmmon module.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Reading in info for the vmnet module.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Reading in info for the vmblock module.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Reading in info for the vmci module.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Reading in info for the vsock module.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Setting vsock to depend on vmci.
2017-02-05T20:59:52.517+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2017-02-05T20:59:52.518+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T20:59:52.518+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2017-02-05T20:59:52.519+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T20:59:52.519+02:00| vthread-4| I125: Invoking modinfo on "vmblock".
2017-02-05T20:59:52.520+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T20:59:52.520+02:00| vthread-4| I125: Invoking modinfo on "vmci".
2017-02-05T20:59:52.521+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T20:59:52.521+02:00| vthread-4| I125: Invoking modinfo on "vsock".
2017-02-05T20:59:52.522+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2017-02-05T20:59:52.533+02:00| vthread-4| I125: to be installed: vmmon status: 0
2017-02-05T20:59:52.533+02:00| vthread-4| I125: to be installed: vmnet status: 0
2017-02-05T20:59:52.540+02:00| vthread-4| I125: Obtaining info using the running kernel.
2017-02-05T20:59:52.540+02:00| vthread-4| I125: Setting header path for 4.9.0-kali1-amd64 to "/lib/modules/4.9.0-kali1-amd64/build/include".
2017-02-05T20:59:52.540+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T20:59:52.540+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T20:59:52.544+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T20:59:52.544+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T20:59:52.674+02:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-kali1-amd64/build/Module.symvers
2017-02-05T20:59:52.674+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-kali1-amd64/build/Module.symvers.
2017-02-05T20:59:52.689+02:00| vthread-4| I125: Read 18757 symbol versions
2017-02-05T20:59:52.690+02:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.9.0-kali1-amd64/build/include
2017-02-05T20:59:52.690+02:00| vthread-4| I125: Update kernel header path to /lib/modules/4.9.0-kali1-amd64/build/include
2017-02-05T20:59:52.690+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T20:59:52.690+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T20:59:52.694+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T20:59:52.695+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T20:59:52.696+02:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"
2017-02-05T20:59:52.698+02:00| vthread-4| I125: Got gcc version "6.3.0".
2017-02-05T20:59:52.698+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T20:59:52.698+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".
2017-02-05T20:59:52.700+02:00| vthread-4| I125: Got gcc version "6.3.0".
2017-02-05T20:59:52.700+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T20:59:52.701+02:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.9.0-kali1-amd64".
2017-02-05T20:59:52.701+02:00| vthread-4| I125: No matching PBM set was found for kernel "4.9.0-kali1-amd64".
2017-02-05T20:59:52.701+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T20:59:52.701+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T20:59:52.701+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T20:59:52.705+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T20:59:52.705+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T20:59:52.706+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T20:59:52.706+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T20:59:52.706+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T20:59:52.710+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T20:59:52.710+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T20:59:52.710+02:00| vthread-4| I125: Using temp dir "/tmp".
2017-02-05T20:59:52.712+02:00| vthread-4| I125: Obtaining info using the running kernel.
2017-02-05T20:59:52.712+02:00| vthread-4| I125: Setting header path for 4.9.0-kali1-amd64 to "/lib/modules/4.9.0-kali1-amd64/build/include".
2017-02-05T20:59:52.712+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T20:59:52.712+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T20:59:52.717+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T20:59:52.717+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T20:59:52.844+02:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-kali1-amd64/build/Module.symvers
2017-02-05T20:59:52.844+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-kali1-amd64/build/Module.symvers.
2017-02-05T20:59:52.859+02:00| vthread-4| I125: Read 18757 symbol versions
2017-02-05T20:59:52.859+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2017-02-05T20:59:52.861+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T20:59:52.861+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2017-02-05T20:59:52.863+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T20:59:53.235+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.0-kali1-amd64/misc/vmmon.ko".
2017-02-05T20:59:53.235+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-02-05T20:59:53.240+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2017-02-05T20:59:53.240+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-W0TEn9/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-02-05T20:59:54.742+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2017-02-05T20:59:54.743+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.0-kali1-amd64/misc/vmnet.ko".
2017-02-05T20:59:54.743+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-02-05T20:59:54.746+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2017-02-05T20:59:54.746+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-W0TEn9/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-02-05T20:59:56.176+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
2017-02-05T21:03:11.088+02:00| vthread-4| I125: The GCC compiler "/usr/bin/gcc" is not present or is not executable.
2017-02-05T21:03:13.217+02:00| vthread-4| I125: The GCC compiler "/usr/bin/gcc" is not present or is not executable.
2017-02-05T21:03:22.432+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc-5".
2017-02-05T21:03:22.497+02:00| vthread-4| I125: Got gcc version "5.4.1".
2017-02-05T21:03:22.497+02:00| vthread-4| I125: GCC major version 5 does not match Kernel GCC major version 6.
2017-02-05T21:03:22.497+02:00| vthread-4| I125: The GCC compiler "/usr/bin/gcc-5" cannot be used for the target kernel.
2017-02-05T21:03:22.497+02:00| vthread-4| I125: No usable gcc found. Can't find a valid compiler despite our best efforts.
2017-02-05T21:04:18.532+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc-2".
2017-02-05T21:04:18.535+02:00| vthread-4| I125: Got gcc version "6.3.0".
2017-02-05T21:04:18.535+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:04:20.032+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:04:20.032+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:04:20.032+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:04:20.034+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "(null)".
2017-02-05T21:04:20.034+02:00| vthread-4| I125: Failed UTS match check: (null) != 4.9.0-kali1-amd64
2017-02-05T21:06:07.007+02:00| vthread-4| I125: The GCC compiler "/usr/bin/gcc-2" is not present or is not executable.
2017-02-05T21:06:16.976+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc-6".
2017-02-05T21:06:16.979+02:00| vthread-4| I125: Got gcc version "6.3.0".
2017-02-05T21:06:16.979+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:06:18.392+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:06:18.392+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:06:18.392+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:06:18.401+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T21:06:18.401+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T21:06:18.401+02:00| vthread-4| I125: Using temp dir "/tmp".
2017-02-05T21:06:18.402+02:00| vthread-4| I125: Obtaining info using the running kernel.
2017-02-05T21:06:18.402+02:00| vthread-4| I125: Setting header path for 4.9.0-kali1-amd64 to "/lib/modules/4.9.0-kali1-amd64/build/include".
2017-02-05T21:06:18.402+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:06:18.402+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:06:18.407+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T21:06:18.407+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T21:06:18.523+02:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-kali1-amd64/build/Module.symvers
2017-02-05T21:06:18.523+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-kali1-amd64/build/Module.symvers.
2017-02-05T21:06:18.538+02:00| vthread-4| I125: Read 18757 symbol versions
2017-02-05T21:06:18.538+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2017-02-05T21:06:18.540+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T21:06:18.540+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2017-02-05T21:06:18.542+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T21:06:18.914+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.0-kali1-amd64/misc/vmmon.ko".
2017-02-05T21:06:18.914+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-02-05T21:06:18.920+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2017-02-05T21:06:18.920+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-pGQCpX/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc-6 IS_GCC_3=no"
2017-02-05T21:06:20.449+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2017-02-05T21:06:20.451+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.0-kali1-amd64/misc/vmnet.ko".
2017-02-05T21:06:20.451+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-02-05T21:06:20.458+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2017-02-05T21:06:20.458+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-pGQCpX/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc-6 IS_GCC_3=no"
2017-02-05T21:06:21.795+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
2017-02-05T21:06:35.588+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:07:31.784+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".
2017-02-05T21:07:31.786+02:00| vthread-4| I125: Got gcc version "6.3.0".
2017-02-05T21:07:31.786+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:07:32.776+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:07:32.776+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:07:32.776+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:07:32.781+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T21:07:32.781+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T21:07:32.781+02:00| vthread-4| I125: Using temp dir "/tmp".
2017-02-05T21:07:32.781+02:00| vthread-4| I125: Obtaining info using the running kernel.
2017-02-05T21:07:32.781+02:00| vthread-4| I125: Setting header path for 4.9.0-kali1-amd64 to "/lib/modules/4.9.0-kali1-amd64/build/include".
2017-02-05T21:07:32.781+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:07:32.781+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:07:32.786+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T21:07:32.786+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T21:07:32.902+02:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-kali1-amd64/build/Module.symvers
2017-02-05T21:07:32.902+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-kali1-amd64/build/Module.symvers.
2017-02-05T21:07:32.917+02:00| vthread-4| I125: Read 18757 symbol versions
2017-02-05T21:07:32.917+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2017-02-05T21:07:32.919+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T21:07:32.919+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2017-02-05T21:07:32.921+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T21:07:33.302+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.0-kali1-amd64/misc/vmmon.ko".
2017-02-05T21:07:33.303+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-02-05T21:07:33.308+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2017-02-05T21:07:33.308+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-G0t129/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-02-05T21:07:34.848+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2017-02-05T21:07:34.850+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.0-kali1-amd64/misc/vmnet.ko".
2017-02-05T21:07:34.850+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-02-05T21:07:34.856+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2017-02-05T21:07:34.856+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-G0t129/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-02-05T21:07:36.207+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
2017-02-05T21:07:39.189+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:07:46.140+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc-5".
2017-02-05T21:07:46.142+02:00| vthread-4| I125: Got gcc version "5.4.1".
2017-02-05T21:07:46.143+02:00| vthread-4| I125: GCC major version 5 does not match Kernel GCC major version 6.
2017-02-05T21:07:46.143+02:00| vthread-4| I125: The GCC compiler "/usr/bin/gcc-5" cannot be used for the target kernel.
2017-02-05T21:07:46.143+02:00| vthread-4| I125: No usable gcc found. Can't find a valid compiler despite our best efforts.
2017-02-05T21:25:50.319+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".
2017-02-05T21:25:50.321+02:00| vthread-4| I125: Got gcc version "6.3.0".
2017-02-05T21:25:50.321+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:25:51.800+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-02-05T21:25:51.800+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:25:51.800+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:25:51.806+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T21:25:51.806+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T21:25:51.806+02:00| vthread-4| I125: Using temp dir "/tmp".
2017-02-05T21:25:51.806+02:00| vthread-4| I125: Obtaining info using the running kernel.
2017-02-05T21:25:51.806+02:00| vthread-4| I125: Setting header path for 4.9.0-kali1-amd64 to "/lib/modules/4.9.0-kali1-amd64/build/include".
2017-02-05T21:25:51.806+02:00| vthread-4| I125: Validating path "/lib/modules/4.9.0-kali1-amd64/build/include" for kernel release "4.9.0-kali1-amd64".
2017-02-05T21:25:51.806+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2017-02-05T21:25:51.811+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.9.0-kali1-amd64".
2017-02-05T21:25:51.811+02:00| vthread-4| I125: The header path "/lib/modules/4.9.0-kali1-amd64/build/include" for the kernel "4.9.0-kali1-amd64" is valid. Whoohoo!
2017-02-05T21:25:51.925+02:00| vthread-4| I125: found symbol version file /lib/modules/4.9.0-kali1-amd64/build/Module.symvers
2017-02-05T21:25:51.925+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.9.0-kali1-amd64/build/Module.symvers.
2017-02-05T21:25:51.940+02:00| vthread-4| I125: Read 18757 symbol versions
2017-02-05T21:25:51.940+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2017-02-05T21:25:51.943+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T21:25:51.943+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2017-02-05T21:25:51.944+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2017-02-05T21:25:52.106+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.9.0-kali1-amd64/misc/vmmon.ko".
2017-02-05T21:25:52.106+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-02-05T21:25:52.116+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2017-02-05T21:25:52.116+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-CLXOwy/vmmon-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-02-05T21:25:53.599+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2017-02-05T21:25:53.601+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.9.0-kali1-amd64/misc/vmnet.ko".
2017-02-05T21:25:53.601+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-02-05T21:25:53.607+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2017-02-05T21:25:53.607+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-CLXOwy/vmnet-only auto-build HEADER_DIR=/lib/modules/4.9.0-kali1-amd64/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-02-05T21:25:54.981+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
When tried "vmware-modconfig --console --install-all" :
Stopping VMware services:
VMware Authentication Daemon done
VM communication interface socket family done
Virtual machine communication interface done
Virtual machine monitor done
Blocking file system done
make: Entering directory '/tmp/modconfig-0PSOuV/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.9.0-kali1-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-kali1-amd64'
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/common/vmx86.o
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/common/cpuid.o
/tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.c: In function ‘HostIFGetUserPages’:
/tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.c:1166:67: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
^~~~~~
In file included from /tmp/modconfig-0PSOuV/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-4.9.0-kali1-common/include/linux/mm.h:1302:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.c:1166:13: error: too many arguments to function ‘get_user_pages’
retval = get_user_pages((unsigned long)uvAddr, numPages, 0, 0, ppages, NULL);
^~~~~~~~~~~~~~
In file included from /tmp/modconfig-0PSOuV/vmmon-only/./include/compat_page.h:23:0,
from /tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.c:32:
/usr/src/linux-headers-4.9.0-kali1-common/include/linux/mm.h:1302:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/modconfig-0PSOuV/vmmon-only/linux/driver.c:1283:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^~~~~~~~~~~~~~~~~~~~~~~
CC [M] /tmp/modconfig-0PSOuV/vmmon-only/common/task.o
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali1-common/scripts/Makefile.build:298: recipe for target '/tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.o' failed
make[4]: *** [/tmp/modconfig-0PSOuV/vmmon-only/linux/hostif.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.9.0-kali1-common/Makefile:1507: recipe for target '_module_/tmp/modconfig-0PSOuV/vmmon-only' failed
make[3]: *** [_module_/tmp/modconfig-0PSOuV/vmmon-only] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-kali1-amd64'
Makefile:120: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-0PSOuV/vmmon-only'
make: Entering directory '/tmp/modconfig-0PSOuV/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.9.0-kali1-amd64/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-4.9.0-kali1-amd64'
CC [M] /tmp/modconfig-0PSOuV/vmnet-only/driver.o
CC [M] /tmp/modconfig-0PSOuV/vmnet-only/hub.o
CC [M] /tmp/modconfig-0PSOuV/vmnet-only/userif.o
CC [M] /tmp/modconfig-0PSOuV/vmnet-only/netif.o
/tmp/modconfig-0PSOuV/vmnet-only/userif.c: In function ‘UserifLockPage’:
/tmp/modconfig-0PSOuV/vmnet-only/userif.c:117:43: error: passing argument 5 of ‘get_user_pages’ from incompatible pointer type [-Werror=incompatible-pointer-types]
retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
^
In file included from /usr/src/linux-headers-4.9.0-kali1-common/include/linux/highmem.h:7:0,
from /tmp/modconfig-0PSOuV/vmnet-only/userif.c:26:
/usr/src/linux-headers-4.9.0-kali1-common/include/linux/mm.h:1302:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘struct page **’
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
/tmp/modconfig-0PSOuV/vmnet-only/userif.c:117:13: error: too many arguments to function ‘get_user_pages’
retval = get_user_pages(addr, 1, 1, 0, &page, NULL);
^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-kali1-common/include/linux/highmem.h:7:0,
from /tmp/modconfig-0PSOuV/vmnet-only/userif.c:26:
/usr/src/linux-headers-4.9.0-kali1-common/include/linux/mm.h:1302:6: note: declared here
long get_user_pages(unsigned long start, unsigned long nr_pages,
^~~~~~~~~~~~~~
In file included from /usr/src/linux-headers-4.9.0-kali1-common/include/linux/pci.h:35:0,
from /tmp/modconfig-0PSOuV/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-0PSOuV/vmnet-only/netif.c:43:
/usr/src/linux-headers-4.9.0-kali1-common/include/linux/pci_ids.h:2253:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-0PSOuV/vmnet-only/net.h:38:0,
from /tmp/modconfig-0PSOuV/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-0PSOuV/vmnet-only/netif.c:42:
/tmp/modconfig-0PSOuV/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali1-common/scripts/Makefile.build:298: recipe for target '/tmp/modconfig-0PSOuV/vmnet-only/userif.o' failed
make[4]: *** [/tmp/modconfig-0PSOuV/vmnet-only/userif.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/usr/src/linux-headers-4.9.0-kali1-common/Makefile:1507: recipe for target '_module_/tmp/modconfig-0PSOuV/vmnet-only' failed
make[3]: *** [_module_/tmp/modconfig-0PSOuV/vmnet-only] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.9.0-kali1-amd64'
Makefile:120: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-0PSOuV/vmnet-only'
Unable to install all modules. See log for details.
uname -r :
4.9.0-kali1-amd64
Please do help,I have done almost everything I know to try fixing it... everything seems to wor for first as in the logs the vmmon to vmnet all fails in one shot.
I've posted the patches needed for Workstation 12.5.2 on Linux kernel 4.9 here: Re: VMware Workstation 12.5.2 build-4638234 does not compile on Fedora 25 4.9.3-200.fc25.x86_64 #1 S...
Those patches should get you past this point. I'd recommend updating to Workstation 12.5.2 before applying those patches... They *might* work on 12.5.0, but it's not recommended to mix-and-match like that.
Cheers,
--
Darius
I've posted the patches needed for Workstation 12.5.2 on Linux kernel 4.9 here: Re: VMware Workstation 12.5.2 build-4638234 does not compile on Fedora 25 4.9.3-200.fc25.x86_64 #1 S...
Those patches should get you past this point. I'd recommend updating to Workstation 12.5.2 before applying those patches... They *might* work on 12.5.0, but it's not recommended to mix-and-match like that.
Cheers,
--
Darius
Thanks mate, It worked for me for both 12.5.0.and 12.5.2 !!
Hi there, i hope you can help me:
i did all you said and recommend but i have no positive answers, it stil cant compile the vmmon module
is there anything how you can help me please?
Thanks