![Vmware内核模块错误](https://linux22.com/image/991554/Vmware%E5%86%85%E6%A0%B8%E6%A8%A1%E5%9D%97%E9%94%99%E8%AF%AF.png)
Ubuntu 16.04 LTS 内核 4.6
我下载并安装了 Vmware Workstation Pro 12。启动它时出现以下信息:
这是日志:
2016-06-26T15:28:27.728+02:00| vthread-4| I125: Log for VMware Workstation pid=15490 version=12.1.1 build=build-3770994 option=Release
2016-06-26T15:28:27.728+02:00| vthread-4| I125: The process is 64-bit.
2016-06-26T15:28:27.728+02:00| vthread-4| I125: Host codepage=UTF-8 encoding=UTF-8
2016-06-26T15:28:27.728+02:00| vthread-4| I125: Host is Linux 4.6.0-040600-generic Ubuntu 16.04 LTS
2016-06-26T15:28:27.727+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2016-06-26T15:28:27.727+02:00| vthread-4| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2016-06-26T15:28:27.727+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2016-06-26T15:28:27.727+02:00| vthread-4| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2016-06-26T15:28:27.727+02:00| vthread-4| I125: PREF Unable to check permissions for preferences file.
2016-06-26T15:28:27.727+02:00| vthread-4| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
2016-06-26T15:28:27.727+02:00| vthread-4| I125: PREF Failed to load user preferences.
2016-06-26T15:28:27.808+02:00| vthread-4| W115: Logging to /tmp/vmware-root/vmware-15490.log
2016-06-26T15:28:27.820+02:00| vthread-4| I125: Obtaining info using the running kernel.
2016-06-26T15:28:27.820+02:00| vthread-4| I125: Created new pathsHash.
2016-06-26T15:28:27.820+02:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-06-26T15:28:27.820+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:28:27.820+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:28:27.820+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:28:27.820+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:28:27.827+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:28:27.827+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:28:28.091+02:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-06-26T15:28:28.091+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Read 20001 symbol versions
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Reading in info for the vmmon module.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Reading in info for the vmnet module.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Reading in info for the vmblock module.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Reading in info for the vmci module.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Reading in info for the vsock module.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Setting vsock to depend on vmci.
2016-06-26T15:28:28.128+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2016-06-26T15:28:28.130+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:28:28.131+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-06-26T15:28:28.134+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:28:28.134+02:00| vthread-4| I125: Invoking modinfo on "vmblock".
2016-06-26T15:28:28.138+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:28:28.138+02:00| vthread-4| I125: Invoking modinfo on "vmci".
2016-06-26T15:28:28.141+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:28:28.141+02:00| vthread-4| I125: Invoking modinfo on "vsock".
2016-06-26T15:28:28.144+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 0.
2016-06-26T15:28:28.170+02:00| vthread-4| I125: to be installed: vmmon status: 0
2016-06-26T15:28:28.170+02:00| vthread-4| I125: to be installed: vmnet status: 0
2016-06-26T15:28:28.262+02:00| vthread-4| I125: Obtaining info using the running kernel.
2016-06-26T15:28:28.262+02:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-06-26T15:28:28.262+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:28:28.262+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:28:28.262+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:28:28.262+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:28:28.272+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:28:28.272+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:28:28.536+02:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-06-26T15:28:28.536+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-06-26T15:28:28.572+02:00| vthread-4| I125: Read 20001 symbol versions
2016-06-26T15:28:28.572+02:00| vthread-4| I125: Kernel header path retrieved from FileEntry: /lib/modules/4.6.0-040600-generic/build/include
2016-06-26T15:28:28.572+02:00| vthread-4| I125: Update kernel header path to /lib/modules/4.6.0-040600-generic/build/include
2016-06-26T15:28:28.572+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:28:28.572+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:28:28.572+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:28:28.572+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:28:28.587+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:28:28.587+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:28:28.589+02:00| vthread-4| I125: Found compiler at "/usr/bin/gcc"
2016-06-26T15:28:28.594+02:00| vthread-4| I125: Got gcc version "5.3.1".
2016-06-26T15:28:28.594+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-06-26T15:28:28.595+02:00| vthread-4| I125: Using user supplied compiler "/usr/bin/gcc".
2016-06-26T15:28:28.600+02:00| vthread-4| I125: Got gcc version "5.3.1".
2016-06-26T15:28:28.600+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-06-26T15:28:28.603+02:00| vthread-4| I125: Trying to find a suitable PBM set for kernel "4.6.0-040600-generic".
2016-06-26T15:28:28.603+02:00| vthread-4| I125: No matching PBM set was found for kernel "4.6.0-040600-generic".
2016-06-26T15:28:28.603+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-06-26T15:28:28.603+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:28:28.603+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:28:28.603+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:28:28.603+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:28:28.615+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:28:28.615+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:28:28.617+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-06-26T15:28:28.617+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:28:28.617+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:28:28.617+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:28:28.617+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:28:28.629+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:28:28.629+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:28:28.629+02:00| vthread-4| I125: Using temp dir "/tmp".
2016-06-26T15:28:28.631+02:00| vthread-4| I125: Obtaining info using the running kernel.
2016-06-26T15:28:28.631+02:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-06-26T15:28:28.631+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:28:28.631+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:28:28.631+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:28:28.631+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:28:28.642+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:28:28.642+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:28:28.909+02:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-06-26T15:28:28.909+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-06-26T15:28:28.944+02:00| vthread-4| I125: Read 20001 symbol versions
2016-06-26T15:28:28.944+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2016-06-26T15:28:28.948+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:28:28.948+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-06-26T15:28:28.951+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:28:29.502+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.6.0-040600-generic/misc/vmmon.ko".
2016-06-26T15:28:29.502+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2016-06-26T15:28:29.584+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2016-06-26T15:28:29.584+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-Stup0f/vmmon-only auto-build HEADER_DIR=/lib/modules/4.6.0-040600-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-06-26T15:28:37.570+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2016-06-26T15:28:37.573+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.6.0-040600-generic/misc/vmnet.ko".
2016-06-26T15:28:37.573+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2016-06-26T15:28:37.680+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2016-06-26T15:28:37.680+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-Stup0f/vmnet-only auto-build HEADER_DIR=/lib/modules/4.6.0-040600-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-06-26T15:28:41.743+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
2016-06-26T15:29:58.319+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-06-26T15:29:58.319+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:29:58.319+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:29:58.319+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:29:58.319+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:29:58.335+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:29:58.335+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:29:58.335+02:00| vthread-4| I125: Using temp dir "/tmp".
2016-06-26T15:29:58.337+02:00| vthread-4| I125: Obtaining info using the running kernel.
2016-06-26T15:29:58.337+02:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-06-26T15:29:58.337+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:29:58.337+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:29:58.337+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:29:58.337+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:29:58.351+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:29:58.351+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:29:58.630+02:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-06-26T15:29:58.630+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-06-26T15:29:58.669+02:00| vthread-4| I125: Read 20001 symbol versions
2016-06-26T15:29:58.669+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2016-06-26T15:29:58.672+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:29:58.672+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-06-26T15:29:58.676+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:29:59.092+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.6.0-040600-generic/misc/vmmon.ko".
2016-06-26T15:29:59.092+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2016-06-26T15:29:59.105+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2016-06-26T15:29:59.105+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-f45QYh/vmmon-only auto-build HEADER_DIR=/lib/modules/4.6.0-040600-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-06-26T15:30:00.937+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2016-06-26T15:30:00.940+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.6.0-040600-generic/misc/vmnet.ko".
2016-06-26T15:30:00.940+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2016-06-26T15:30:00.950+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2016-06-26T15:30:00.950+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-f45QYh/vmnet-only auto-build HEADER_DIR=/lib/modules/4.6.0-040600-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-06-26T15:30:03.381+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
2016-06-26T15:36:59.831+02:00| vthread-4| I125: The GCC version matches the kernel GCC minor version like a glove.
2016-06-26T15:36:59.832+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:36:59.832+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:36:59.832+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:36:59.832+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:37:00.554+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:37:00.554+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:37:00.554+02:00| vthread-4| I125: Using temp dir "/tmp".
2016-06-26T15:37:00.556+02:00| vthread-4| I125: Obtaining info using the running kernel.
2016-06-26T15:37:00.556+02:00| vthread-4| I125: Setting header path for 4.6.0-040600-generic to "/lib/modules/4.6.0-040600-generic/build/include".
2016-06-26T15:37:00.556+02:00| vthread-4| I125: Validating path "/lib/modules/4.6.0-040600-generic/build/include" for kernel release "4.6.0-040600-generic".
2016-06-26T15:37:00.556+02:00| vthread-4| I125: Failed to find /lib/modules/4.6.0-040600-generic/build/include/linux/version.h
2016-06-26T15:37:00.556+02:00| vthread-4| I125: /lib/modules/4.6.0-040600-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2016-06-26T15:37:00.556+02:00| vthread-4| I125: using /usr/bin/gcc for preprocess check
2016-06-26T15:37:00.570+02:00| vthread-4| I125: Preprocessed UTS_RELEASE, got value "4.6.0-040600-generic".
2016-06-26T15:37:00.570+02:00| vthread-4| I125: The header path "/lib/modules/4.6.0-040600-generic/build/include" for the kernel "4.6.0-040600-generic" is valid. Whoohoo!
2016-06-26T15:37:00.850+02:00| vthread-4| I125: found symbol version file /lib/modules/4.6.0-040600-generic/build/Module.symvers
2016-06-26T15:37:00.850+02:00| vthread-4| I125: Reading symbol versions from /lib/modules/4.6.0-040600-generic/build/Module.symvers.
2016-06-26T15:37:00.949+02:00| vthread-4| I125: Read 20001 symbol versions
2016-06-26T15:37:00.950+02:00| vthread-4| I125: Invoking modinfo on "vmmon".
2016-06-26T15:37:00.987+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:37:00.987+02:00| vthread-4| I125: Invoking modinfo on "vmnet".
2016-06-26T15:37:00.994+02:00| vthread-4| I125: "/sbin/modinfo" exited with status 256.
2016-06-26T15:37:02.048+02:00| vthread-4| I125: Setting destination path for vmmon to "/lib/modules/4.6.0-040600-generic/misc/vmmon.ko".
2016-06-26T15:37:02.049+02:00| vthread-4| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2016-06-26T15:37:02.162+02:00| vthread-4| I125: Successfully extracted the vmmon source.
2016-06-26T15:37:02.162+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-66YKCV/vmmon-only auto-build HEADER_DIR=/lib/modules/4.6.0-040600-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-06-26T15:37:12.281+02:00| vthread-4| W115: Failed to build vmmon. Failed to execute the build command.
2016-06-26T15:37:12.287+02:00| vthread-4| I125: Setting destination path for vmnet to "/lib/modules/4.6.0-040600-generic/misc/vmnet.ko".
2016-06-26T15:37:12.288+02:00| vthread-4| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2016-06-26T15:37:12.425+02:00| vthread-4| I125: Successfully extracted the vmnet source.
2016-06-26T15:37:12.425+02:00| vthread-4| I125: Building module with command "/usr/bin/make -j2 -C /tmp/modconfig-66YKCV/vmnet-only auto-build HEADER_DIR=/lib/modules/4.6.0-040600-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2016-06-26T15:37:17.421+02:00| vthread-4| W115: Failed to build vmnet. Failed to execute the build command.
答案1
可能是因为你没有安装编译环境,你可以使用以下命令进行安装:
sudo apt-get install build-essential
您还必须安装 Linux 标头:
sudo apt-get install linux-headers-generic
如果您使用的内核版本与内核分发版本不同,请使用以下命令安装标头:
sudo apt-get install linux-headers-`uname -r`
答案2
这个答案仍然与 Ubuntu 18.04 和 Vmware Workstation 15.0 相关(我刚刚全新安装了这两个系统,它给了我同样的错误,这个又修复了它)