Unable to compile vmware kernel modules

I’m trying to install vmware workstation 15.1 on Fedora 30 but I’m unable to install some of the modules. I was able to do a workaround on the vmmon and vmnet modules by a patch but there’s still two of then, vmci and vsock, that won’t compile.

Here’s the log of the installation

2019-08-13T10:45:22.046-03:00| host-8155| I125: Log for VMware Workstation pid=8155 version=15.1.0 build=build-13591040 option=Release
2019-08-13T10:45:22.046-03:00| host-8155| I125: The process is 64-bit.
2019-08-13T10:45:22.046-03:00| host-8155| I125: Host codepage=UTF-8 encoding=UTF-8
2019-08-13T10:45:22.046-03:00| host-8155| I125: Host is Linux 5.2.8-zen Fedora release 30 (Thirty)
2019-08-13T10:45:22.045-03:00| host-8155| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": Arquivo ou diretório inexistente.
2019-08-13T10:45:22.045-03:00| host-8155| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": Arquivo ou diretório inexistente.
2019-08-13T10:45:22.045-03:00| host-8155| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2019-08-13T10:45:22.045-03:00| host-8155| I125: DictionaryLoad: Cannot open file "/home/estevao/.vmware/config": Arquivo ou diretório inexistente.
2019-08-13T10:45:22.045-03:00| host-8155| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/estevao/.vmware/config": Arquivo ou diretório inexistente.
2019-08-13T10:45:22.045-03:00| host-8155| I125: PREF Optional preferences file not found at /home/estevao/.vmware/config. Using default values.
2019-08-13T10:45:22.067-03:00| host-8155| W115: Logging to /tmp/vmware-root/vmware-8155.log
2019-08-13T10:45:22.130-03:00| host-8155| I125: Obtaining info using the running kernel.
2019-08-13T10:45:22.130-03:00| host-8155| I125: Created new pathsHash.
2019-08-13T10:45:22.130-03:00| host-8155| I125: Setting header path for 5.2.8-zen to "/lib/modules/5.2.8-zen/build/include".
2019-08-13T10:45:22.130-03:00| host-8155| I125: Validating path "/lib/modules/5.2.8-zen/build/include" for kernel release "5.2.8-zen".
2019-08-13T10:45:22.130-03:00| host-8155| I125: Failed to find /lib/modules/5.2.8-zen/build/include/linux/version.h
2019-08-13T10:45:22.130-03:00| host-8155| I125: /lib/modules/5.2.8-zen/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-08-13T10:45:22.130-03:00| host-8155| I125: using /usr/bin/gcc for preprocess check
2019-08-13T10:45:22.140-03:00| host-8155| I125: Preprocessed UTS_RELEASE, got value "5.2.8-zen".
2019-08-13T10:45:22.140-03:00| host-8155| I125: The header path "/lib/modules/5.2.8-zen/build/include" for the kernel "5.2.8-zen" is valid.  Whoohoo!
2019-08-13T10:45:22.353-03:00| host-8155| I125: found symbol version file /lib/modules/5.2.8-zen/build/Module.symvers
2019-08-13T10:45:22.353-03:00| host-8155| I125: Reading symbol versions from /lib/modules/5.2.8-zen/build/Module.symvers.
2019-08-13T10:45:22.368-03:00| host-8155| I125: Read 13107 symbol versions
2019-08-13T10:45:22.368-03:00| host-8155| I125: Reading in info for the vmmon module.
2019-08-13T10:45:22.368-03:00| host-8155| I125: Reading in info for the vmnet module.
2019-08-13T10:45:22.368-03:00| host-8155| I125: Reading in info for the vmci module.
2019-08-13T10:45:22.368-03:00| host-8155| I125: Reading in info for the vsock module.
2019-08-13T10:45:22.368-03:00| host-8155| I125: Setting vsock to depend on vmci.
2019-08-13T10:45:22.369-03:00| host-8155| I125: Invoking modinfo on "vmmon".
2019-08-13T10:45:22.371-03:00| host-8155| I125: "/sbin/modinfo" exited with status 0.
2019-08-13T10:45:22.371-03:00| host-8155| I125: Invoking modinfo on "vmnet".
2019-08-13T10:45:22.374-03:00| host-8155| I125: "/sbin/modinfo" exited with status 0.
2019-08-13T10:45:22.374-03:00| host-8155| I125: Invoking modinfo on "vmci".
2019-08-13T10:45:22.378-03:00| host-8155| I125: "/sbin/modinfo" exited with status 256.
2019-08-13T10:45:22.378-03:00| host-8155| I125: Invoking modinfo on "vsock".
2019-08-13T10:45:22.381-03:00| host-8155| I125: "/sbin/modinfo" exited with status 256.
2019-08-13T10:45:22.383-03:00| host-8155| I125: to be installed: vmci status: 0
2019-08-13T10:45:22.383-03:00| host-8155| I125: to be installed: vsock status: 0
2019-08-13T10:45:22.401-03:00| host-8155| I125: Obtaining info using the running kernel.
2019-08-13T10:45:22.401-03:00| host-8155| I125: Setting header path for 5.2.8-zen to "/lib/modules/5.2.8-zen/build/include".
2019-08-13T10:45:22.401-03:00| host-8155| I125: Validating path "/lib/modules/5.2.8-zen/build/include" for kernel release "5.2.8-zen".
2019-08-13T10:45:22.401-03:00| host-8155| I125: Failed to find /lib/modules/5.2.8-zen/build/include/linux/version.h
2019-08-13T10:45:22.401-03:00| host-8155| I125: /lib/modules/5.2.8-zen/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-08-13T10:45:22.401-03:00| host-8155| I125: using /usr/bin/gcc for preprocess check
2019-08-13T10:45:22.410-03:00| host-8155| I125: Preprocessed UTS_RELEASE, got value "5.2.8-zen".
2019-08-13T10:45:22.410-03:00| host-8155| I125: The header path "/lib/modules/5.2.8-zen/build/include" for the kernel "5.2.8-zen" is valid.  Whoohoo!
2019-08-13T10:45:22.642-03:00| host-8155| I125: found symbol version file /lib/modules/5.2.8-zen/build/Module.symvers
2019-08-13T10:45:22.642-03:00| host-8155| I125: Reading symbol versions from /lib/modules/5.2.8-zen/build/Module.symvers.
2019-08-13T10:45:22.656-03:00| host-8155| I125: Read 13107 symbol versions
2019-08-13T10:45:22.658-03:00| host-8155| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.2.8-zen/build/include
2019-08-13T10:45:22.658-03:00| host-8155| I125: Update kernel header path to /lib/modules/5.2.8-zen/build/include
2019-08-13T10:45:22.658-03:00| host-8155| I125: Validating path "/lib/modules/5.2.8-zen/build/include" for kernel release "5.2.8-zen".
2019-08-13T10:45:22.658-03:00| host-8155| I125: Failed to find /lib/modules/5.2.8-zen/build/include/linux/version.h
2019-08-13T10:45:22.658-03:00| host-8155| I125: /lib/modules/5.2.8-zen/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-08-13T10:45:22.658-03:00| host-8155| I125: using /usr/bin/gcc for preprocess check
2019-08-13T10:45:22.665-03:00| host-8155| I125: Preprocessed UTS_RELEASE, got value "5.2.8-zen".
2019-08-13T10:45:22.665-03:00| host-8155| I125: The header path "/lib/modules/5.2.8-zen/build/include" for the kernel "5.2.8-zen" is valid.  Whoohoo!
2019-08-13T10:45:22.667-03:00| host-8155| I125: Found compiler at "/usr/bin/gcc"
2019-08-13T10:45:22.669-03:00| host-8155| I125: Got gcc version "9".
2019-08-13T10:45:22.669-03:00| host-8155| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-08-13T10:45:22.672-03:00| host-8155| I125: Got gcc version "9".
2019-08-13T10:45:22.672-03:00| host-8155| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-08-13T10:45:22.675-03:00| host-8155| I125: Trying to find a suitable PBM set for kernel "5.2.8-zen".
2019-08-13T10:45:22.675-03:00| host-8155| I125: No matching PBM set was found for kernel "5.2.8-zen".
2019-08-13T10:45:22.679-03:00| host-8155| I125: Got gcc version "9".
2019-08-13T10:45:22.679-03:00| host-8155| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-08-13T10:45:22.679-03:00| host-8155| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-08-13T10:45:22.679-03:00| host-8155| I125: Validating path "/lib/modules/5.2.8-zen/build/include" for kernel release "5.2.8-zen".
2019-08-13T10:45:22.679-03:00| host-8155| I125: Failed to find /lib/modules/5.2.8-zen/build/include/linux/version.h
2019-08-13T10:45:22.679-03:00| host-8155| I125: /lib/modules/5.2.8-zen/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-08-13T10:45:22.679-03:00| host-8155| I125: using /usr/bin/gcc for preprocess check
2019-08-13T10:45:22.686-03:00| host-8155| I125: Preprocessed UTS_RELEASE, got value "5.2.8-zen".
2019-08-13T10:45:22.686-03:00| host-8155| I125: The header path "/lib/modules/5.2.8-zen/build/include" for the kernel "5.2.8-zen" is valid.  Whoohoo!
2019-08-13T10:45:22.687-03:00| host-8155| I125: The GCC version matches the kernel GCC minor version like a glove.
2019-08-13T10:45:22.687-03:00| host-8155| I125: Validating path "/lib/modules/5.2.8-zen/build/include" for kernel release "5.2.8-zen".
2019-08-13T10:45:22.687-03:00| host-8155| I125: Failed to find /lib/modules/5.2.8-zen/build/include/linux/version.h
2019-08-13T10:45:22.687-03:00| host-8155| I125: /lib/modules/5.2.8-zen/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-08-13T10:45:22.687-03:00| host-8155| I125: using /usr/bin/gcc for preprocess check
2019-08-13T10:45:22.694-03:00| host-8155| I125: Preprocessed UTS_RELEASE, got value "5.2.8-zen".
2019-08-13T10:45:22.694-03:00| host-8155| I125: The header path "/lib/modules/5.2.8-zen/build/include" for the kernel "5.2.8-zen" is valid.  Whoohoo!
2019-08-13T10:45:22.694-03:00| host-8155| I125: Using temp dir "/tmp".
2019-08-13T10:45:22.696-03:00| host-8155| I125: Obtaining info using the running kernel.
2019-08-13T10:45:22.696-03:00| host-8155| I125: Setting header path for 5.2.8-zen to "/lib/modules/5.2.8-zen/build/include".
2019-08-13T10:45:22.696-03:00| host-8155| I125: Validating path "/lib/modules/5.2.8-zen/build/include" for kernel release "5.2.8-zen".
2019-08-13T10:45:22.696-03:00| host-8155| I125: Failed to find /lib/modules/5.2.8-zen/build/include/linux/version.h
2019-08-13T10:45:22.696-03:00| host-8155| I125: /lib/modules/5.2.8-zen/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2019-08-13T10:45:22.696-03:00| host-8155| I125: using /usr/bin/gcc for preprocess check
2019-08-13T10:45:22.703-03:00| host-8155| I125: Preprocessed UTS_RELEASE, got value "5.2.8-zen".
2019-08-13T10:45:22.703-03:00| host-8155| I125: The header path "/lib/modules/5.2.8-zen/build/include" for the kernel "5.2.8-zen" is valid.  Whoohoo!
2019-08-13T10:45:22.943-03:00| host-8155| I125: found symbol version file /lib/modules/5.2.8-zen/build/Module.symvers
2019-08-13T10:45:22.943-03:00| host-8155| I125: Reading symbol versions from /lib/modules/5.2.8-zen/build/Module.symvers.
2019-08-13T10:45:22.958-03:00| host-8155| I125: Read 13107 symbol versions
2019-08-13T10:45:22.958-03:00| host-8155| I125: Invoking modinfo on "vmci".
2019-08-13T10:45:22.962-03:00| host-8155| I125: "/sbin/modinfo" exited with status 256.
2019-08-13T10:45:22.962-03:00| host-8155| I125: Invoking modinfo on "vsock".
2019-08-13T10:45:22.965-03:00| host-8155| I125: "/sbin/modinfo" exited with status 256.
2019-08-13T10:45:23.728-03:00| host-8155| I125: Setting destination path for vmci to "/lib/modules/5.2.8-zen/misc/vmci.ko".
2019-08-13T10:45:23.728-03:00| host-8155| I125: Extracting the vmci source from "/usr/lib/vmware/modules/source/vmci.tar".
2019-08-13T10:45:23.743-03:00| host-8155| I125: Successfully extracted the vmci source.
2019-08-13T10:45:23.743-03:00| host-8155| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-JFzeFV/vmci-only auto-build HEADER_DIR=/lib/modules/5.2.8-zen/build/include CC=/usr/lib64/ccache/gcc IS_GCC_3=no"
2019-08-13T10:45:27.397-03:00| host-8155| W115: Failed to build vmci.  Failed to execute the build command.
2019-08-13T10:45:27.399-03:00| host-8155| I125: Setting destination path for vsock to "/lib/modules/5.2.8-zen/misc/vsock.ko".
2019-08-13T10:45:27.400-03:00| host-8155| I125: Extracting the vsock source from "/usr/lib/vmware/modules/source/vsock.tar".
2019-08-13T10:45:27.412-03:00| host-8155| I125: Successfully extracted the vsock source.
2019-08-13T10:45:27.413-03:00| host-8155| I125: Extracting the vmci source from "/usr/lib/vmware/modules/source/vmci.tar".
2019-08-13T10:45:27.428-03:00| host-8155| I125: Successfully extracted the vmci source.
2019-08-13T10:45:27.428-03:00| host-8155| I125: Building module with command "/usr/bin/make -j4 -C /tmp/modconfig-JFzeFV/vmci-only auto-build HEADER_DIR=/lib/modules/5.2.8-zen/build/include CC=/usr/lib64/ccache/gcc IS_GCC_3=no"
2019-08-13T10:45:31.058-03:00| host-8155| W115: Failed to build vmci.  Failed to execute the build command.

uname -a

Linux new-host-17 5.2.8-zen #2 ZEN SMP Mon Aug 12 23:50:49 -03 2019 x86_64 x86_64 x86_64 GNU/Linux

I’ll be glad for any help!

Hello @estmnd1 and welcome to the community. Please read the #start-here topics when you have the time.

About your issue, maybe this topic could be helpful? [Howto] How to Resolve Issues for VMWORKSTATION and VMPLAYER (ANY KERNEL + ANY VERSION)

1 Like