mkubecek / vmware-host-modules

Patches needed to build VMware (Player and Workstation) host modules against recent kernels
GNU General Public License v2.0
2.29k stars 368 forks source link

17.5 build failed #274

Closed sunzy993 closed 1 month ago

sunzy993 commented 1 month ago

2024-08-16T09:10:35.967Z In(05) host-52540 Log for VMware Workstation pid=52540 version=17.5.0 build=build-22583795 option=Release 2024-08-16T09:10:35.967Z In(05) host-52540 The host is x86_64. 2024-08-16T09:10:35.967Z In(05) host-52540 Host codepage=UTF-8 encoding=UTF-8 2024-08-16T09:10:35.967Z In(05) host-52540 Host is Linux 6.8.0-40-generic Ubuntu 22.04.4 LTS Ubuntu 22.04 22.04.4 LTS (Jammy Jellyfish) 2024-08-16T09:10:35.967Z In(05) host-52540 Host offset from UTC is +08:00. 2024-08-16T09:10:35.967Z In(05) host-52540 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2024-08-16T09:10:35.967Z In(05) host-52540 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2024-08-16T09:10:35.967Z In(05) host-52540 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2024-08-16T09:10:35.967Z In(05) host-52540 DictionaryLoad: Cannot open file "/home/sunzy/.vmware/config": No such file or directory. 2024-08-16T09:10:35.967Z In(05) host-52540 [msg.dictionary.load.openFailed] Cannot open file "/home/sunzy/.vmware/config": No such file or directory. 2024-08-16T09:10:35.967Z In(05) host-52540 PREF Optional preferences file not found at /home/sunzy/.vmware/config. Using default values. 2024-08-16T09:10:36.040Z Wa(03) host-52540 Logging to /tmp/vmware-sunzy/vmware-52540.log 2024-08-16T09:10:36.062Z In(05) host-52540 Obtaining info using the running kernel. 2024-08-16T09:10:36.062Z In(05) host-52540 Created new pathsHash. 2024-08-16T09:10:36.062Z In(05) host-52540 Setting header path for 6.8.0-40-generic to "/lib/modules/6.8.0-40-generic/build/include". 2024-08-16T09:10:36.062Z In(05) host-52540 Validating path "/lib/modules/6.8.0-40-generic/build/include" for kernel release "6.8.0-40-generic". 2024-08-16T09:10:36.062Z In(05) host-52540 Failed to find /lib/modules/6.8.0-40-generic/build/include/linux/version.h 2024-08-16T09:10:36.062Z In(05) host-52540 /lib/modules/6.8.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-08-16T09:10:36.062Z In(05) host-52540 using /usr/bin/gcc-12 for preprocess check 2024-08-16T09:10:36.071Z In(05) host-52540 Preprocessed UTS_RELEASE, got value "6.8.0-40-generic". 2024-08-16T09:10:36.071Z In(05) host-52540 The header path "/lib/modules/6.8.0-40-generic/build/include" for the kernel "6.8.0-40-generic" is valid. Whoohoo! 2024-08-16T09:10:36.336Z In(05) host-52540 found symbol version file /lib/modules/6.8.0-40-generic/build/Module.symvers 2024-08-16T09:10:36.336Z In(05) host-52540 Reading symbol versions from /lib/modules/6.8.0-40-generic/build/Module.symvers. 2024-08-16T09:10:36.355Z In(05) host-52540 Read 28974 symbol versions 2024-08-16T09:10:36.355Z In(05) host-52540 Reading in info for the vmmon module. 2024-08-16T09:10:36.355Z In(05) host-52540 Reading in info for the vmnet module. 2024-08-16T09:10:36.355Z In(05) host-52540 Invoking modinfo on "vmmon". 2024-08-16T09:10:36.360Z In(05) host-52540 "/sbin/modinfo" exited with status 256. 2024-08-16T09:10:36.360Z In(05) host-52540 Invoking modinfo on "vmnet". 2024-08-16T09:10:36.364Z In(05) host-52540 "/sbin/modinfo" exited with status 256. 2024-08-16T09:10:36.377Z In(05) host-52540 to be installed: vmmon status: 0 2024-08-16T09:10:36.377Z In(05) host-52540 to be installed: vmnet status: 0 2024-08-16T09:10:36.396Z In(05) host-52540 Obtaining info using the running kernel. 2024-08-16T09:10:36.396Z In(05) host-52540 Setting header path for 6.8.0-40-generic to "/lib/modules/6.8.0-40-generic/build/include". 2024-08-16T09:10:36.396Z In(05) host-52540 Validating path "/lib/modules/6.8.0-40-generic/build/include" for kernel release "6.8.0-40-generic". 2024-08-16T09:10:36.396Z In(05) host-52540 Failed to find /lib/modules/6.8.0-40-generic/build/include/linux/version.h 2024-08-16T09:10:36.396Z In(05) host-52540 /lib/modules/6.8.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-08-16T09:10:36.396Z In(05) host-52540 using /usr/bin/gcc-12 for preprocess check 2024-08-16T09:10:36.404Z In(05) host-52540 Preprocessed UTS_RELEASE, got value "6.8.0-40-generic". 2024-08-16T09:10:36.404Z In(05) host-52540 The header path "/lib/modules/6.8.0-40-generic/build/include" for the kernel "6.8.0-40-generic" is valid. Whoohoo! 2024-08-16T09:10:36.648Z In(05) host-52540 found symbol version file /lib/modules/6.8.0-40-generic/build/Module.symvers 2024-08-16T09:10:36.648Z In(05) host-52540 Reading symbol versions from /lib/modules/6.8.0-40-generic/build/Module.symvers. 2024-08-16T09:10:36.665Z In(05) host-52540 Read 28974 symbol versions 2024-08-16T09:10:36.669Z In(05) host-52540 Kernel header path retrieved from FileEntry: /lib/modules/6.8.0-40-generic/build/include 2024-08-16T09:10:36.669Z In(05) host-52540 Update kernel header path to /lib/modules/6.8.0-40-generic/build/include 2024-08-16T09:10:36.669Z In(05) host-52540 Validating path "/lib/modules/6.8.0-40-generic/build/include" for kernel release "6.8.0-40-generic". 2024-08-16T09:10:36.669Z In(05) host-52540 Failed to find /lib/modules/6.8.0-40-generic/build/include/linux/version.h 2024-08-16T09:10:36.669Z In(05) host-52540 /lib/modules/6.8.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-08-16T09:10:36.669Z In(05) host-52540 using /usr/bin/gcc-12 for preprocess check 2024-08-16T09:10:36.678Z In(05) host-52540 Preprocessed UTS_RELEASE, got value "6.8.0-40-generic". 2024-08-16T09:10:36.678Z In(05) host-52540 The header path "/lib/modules/6.8.0-40-generic/build/include" for the kernel "6.8.0-40-generic" is valid. Whoohoo! 2024-08-16T09:10:36.679Z In(05) host-52540 Found compiler at "/usr/bin/gcc" 2024-08-16T09:10:36.686Z In(05) host-52540 Got gcc version "11". 2024-08-16T09:10:36.686Z In(05) host-52540 GCC major version 11 does not match Kernel GCC major version 12. 2024-08-16T09:10:36.687Z In(05) host-52540 Attempting to use a compiler at location "/usr/bin/gcc-12". 2024-08-16T09:10:36.689Z In(05) host-52540 Got gcc version "12". 2024-08-16T09:10:36.689Z In(05) host-52540 The GCC version matches the kernel GCC minor version like a glove. 2024-08-16T09:10:36.690Z In(05) host-52540 Got gcc version "12". 2024-08-16T09:10:36.690Z In(05) host-52540 The GCC version matches the kernel GCC minor version like a glove. 2024-08-16T09:10:36.691Z In(05) host-52540 Trying to find a suitable PBM set for kernel "6.8.0-40-generic". 2024-08-16T09:10:36.691Z In(05) host-52540 No matching PBM set was found for kernel "6.8.0-40-generic". 2024-08-16T09:10:36.691Z In(05) host-52540 The GCC version matches the kernel GCC minor version like a glove. 2024-08-16T09:10:36.691Z In(05) host-52540 Validating path "/lib/modules/6.8.0-40-generic/build/include" for kernel release "6.8.0-40-generic". 2024-08-16T09:10:36.691Z In(05) host-52540 Failed to find /lib/modules/6.8.0-40-generic/build/include/linux/version.h 2024-08-16T09:10:36.691Z In(05) host-52540 /lib/modules/6.8.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-08-16T09:10:36.691Z In(05) host-52540 using /usr/bin/gcc-12 for preprocess check 2024-08-16T09:10:36.698Z In(05) host-52540 Preprocessed UTS_RELEASE, got value "6.8.0-40-generic". 2024-08-16T09:10:36.698Z In(05) host-52540 The header path "/lib/modules/6.8.0-40-generic/build/include" for the kernel "6.8.0-40-generic" is valid. Whoohoo! 2024-08-16T09:10:43.873Z In(05) host-52540 The GCC version matches the kernel GCC minor version like a glove. 2024-08-16T09:10:43.874Z In(05) host-52540 Validating path "/lib/modules/6.8.0-40-generic/build/include" for kernel release "6.8.0-40-generic". 2024-08-16T09:10:43.874Z In(05) host-52540 Failed to find /lib/modules/6.8.0-40-generic/build/include/linux/version.h 2024-08-16T09:10:43.874Z In(05) host-52540 /lib/modules/6.8.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-08-16T09:10:43.874Z In(05) host-52540 using /usr/bin/gcc-12 for preprocess check 2024-08-16T09:10:43.882Z In(05) host-52540 Preprocessed UTS_RELEASE, got value "6.8.0-40-generic". 2024-08-16T09:10:43.882Z In(05) host-52540 The header path "/lib/modules/6.8.0-40-generic/build/include" for the kernel "6.8.0-40-generic" is valid. Whoohoo! 2024-08-16T09:10:43.882Z In(05) host-52540 Using temp dir "/tmp". 2024-08-16T09:10:53.310Z In(05) host-52540 Stopping VMware services: 2024-08-16T09:10:53.310Z In(05) host-52540 VMware Authentication Daemon done 2024-08-16T09:10:53.310Z In(05) host-52540 Virtual machine monitor done 2024-08-16T09:10:53.310Z In(05) host-52540 make: Entering directory '/tmp/modconfig-2aiT3s/vmmon-only' 2024-08-16T09:10:53.310Z In(05) host-52540 /usr/bin/make -C /lib/modules/6.8.0-40-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-08-16T09:10:53.310Z In(05) host-52540 MODULEBUILDDIR= modules 2024-08-16T09:10:53.310Z In(05) host-52540 make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/linux/driver.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/linux/driverLog.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/linux/hostif.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/apic.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/comport.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/cpuid.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/crosspage.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/memtrack.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/moduleloop.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/phystrack.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/sharedAreaVmmon.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/statVarsVmmon.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/task.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/common/vmx86.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/bootstrap/bootstrap.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/bootstrap/monLoader.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/bootstrap/monLoaderVmmon.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmmon-only/bootstrap/vmmblob.o 2024-08-16T09:10:53.310Z In(05) host-52540 make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:10:53.310Z In(05) host-52540 make: Leaving directory '/tmp/modconfig-2aiT3s/vmmon-only' 2024-08-16T09:10:53.310Z In(05) host-52540 make: Entering directory '/tmp/modconfig-2aiT3s/vmnet-only' 2024-08-16T09:10:53.310Z In(05) host-52540 /usr/bin/make -C /lib/modules/6.8.0-40-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-08-16T09:10:53.310Z In(05) host-52540 MODULEBUILDDIR= modules 2024-08-16T09:10:53.310Z In(05) host-52540 make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/driver.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/hub.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/userif.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/netif.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/bridge.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/procfs.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/smac_compat.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/smac.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/vnetEvent.o 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/vnetUserListener.o 2024-08-16T09:10:53.310Z In(05) host-52540 LD [M] /tmp/modconfig-2aiT3s/vmnet-only/vmnet.o 2024-08-16T09:10:53.310Z In(05) host-52540 MODPOST /tmp/modconfig-2aiT3s/vmnet-only/Module.symvers 2024-08-16T09:10:53.310Z In(05) host-52540 CC [M] /tmp/modconfig-2aiT3s/vmnet-only/vmnet.mod.o 2024-08-16T09:10:53.310Z In(05) host-52540 LD [M] /tmp/modconfig-2aiT3s/vmnet-only/vmnet.ko 2024-08-16T09:10:53.310Z In(05) host-52540 BTF [M] /tmp/modconfig-2aiT3s/vmnet-only/vmnet.ko 2024-08-16T09:10:53.311Z In(05) host-52540 make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:10:53.311Z In(05) host-52540 /usr/bin/make -C $PWD SRCROOT=$PWD/. \ 2024-08-16T09:10:53.311Z In(05) host-52540 MODULEBUILDDIR= postbuild 2024-08-16T09:10:53.311Z In(05) host-52540 make[1]: Entering directory '/tmp/modconfig-2aiT3s/vmnet-only' 2024-08-16T09:10:53.311Z In(05) host-52540 make[1]: 'postbuild' is up to date. 2024-08-16T09:10:53.311Z In(05) host-52540 make[1]: Leaving directory '/tmp/modconfig-2aiT3s/vmnet-only' 2024-08-16T09:10:53.311Z In(05) host-52540 cp -f vmnet.ko ./../vmnet.o 2024-08-16T09:10:53.311Z In(05) host-52540 make: Leaving directory '/tmp/modconfig-2aiT3s/vmnet-only' 2024-08-16T09:10:53.311Z In(05) host-52540 [AppLoader] GLib does not have GSettings support. 2024-08-16T09:10:53.311Z In(05) host-52540 Using kernel build system. 2024-08-16T09:10:53.311Z In(05) host-52540 warning: the compiler differs from the one used to build the kernel 2024-08-16T09:10:53.311Z In(05) host-52540 The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:10:53.311Z In(05) host-52540 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build 2024-08-16T09:10:53.311Z In(05) host-52540 make[3]: [scripts/Makefile.build:243: /tmp/modconfig-2aiT3s/vmmon-only/common/crosspage.o] Error 255 2024-08-16T09:10:53.311Z In(05) host-52540 make[3]: Deleting file '/tmp/modconfig-2aiT3s/vmmon-only/common/crosspage.o' 2024-08-16T09:10:53.311Z In(05) host-52540 make[3]: Waiting for unfinished jobs.... 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove() 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test() 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 548 | TaskGetFlatWriteableDataSegment(void) 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 In file included from /tmp/modconfig-2aiT3s/vmmon-only/common/vmx86.c:52: 2024-08-16T09:10:53.311Z In(05) host-52540 ./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’: 2024-08-16T09:10:53.311Z In(05) host-52540 ./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Werror=implicit-function-declaration] 2024-08-16T09:10:53.311Z In(05) host-52540 12 | return random_get_entropy_fallback(); 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 | random_get_entropy 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/vmx86.c: At top level: 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 700 | Vmx86FreeVMDriver(VMDriver vm) 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 733 | Vmx86AllocVMDriver(uint32 numVCPUs) 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 2926 | HostIFCheckTrackedMPN(VMDriver vm, // IN: The VM instance 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 3046 | HostIFWritePhysicalWork(MA ma, // MA to be written to 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 3205 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change? 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 271 | LinuxDriverInit(void) 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 339 | LinuxDriverExit(void) 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section 2024-08-16T09:10:53.311Z In(05) host-52540 cc1: some warnings being treated as errors 2024-08-16T09:10:53.311Z In(05) host-52540 make[3]: [scripts/Makefile.build:243: /tmp/modconfig-2aiT3s/vmmon-only/common/vmx86.o] Error 1 2024-08-16T09:10:53.311Z In(05) host-52540 make[2]: [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /tmp/modconfig-2aiT3s/vmmon-only] Error 2 2024-08-16T09:10:53.311Z In(05) host-52540 make[1]: [Makefile:240: __sub-make] Error 2 2024-08-16T09:10:53.311Z In(05) host-52540 make: [Makefile:117: vmmon.ko] Error 2 2024-08-16T09:10:53.311Z In(05) host-52540 Using kernel build system. 2024-08-16T09:10:53.311Z In(05) host-52540 warning: the compiler differs from the one used to build the kernel 2024-08-16T09:10:53.311Z In(05) host-52540 The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:10:53.311Z In(05) host-52540 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 87 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 173 | VNetNetIf_Create(char devName, // IN: 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 1091 | VNetUserIf_Create(VNetPort ret) // OUT 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 258 | VNetBridge_Create(const char devName, // IN: name of device (e.g., "eth0") 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes] 2024-08-16T09:10:53.311Z In(05) host-52540 1411 | VNetBridgeSendLargePacket(struct sk_buff skb, // IN: packet to split 2024-08-16T09:10:53.311Z In(05) host-52540 | ^~~~~~~~~ 2024-08-16T09:10:53.311Z In(05) host-52540 /tmp/modconfig-2aiT3s/vmnet-only/userif.o: warning: objtool: VNetCsumAndCopyToUser+0x2d: call to csum_partial_copy_nocheck() with UACCESS enabled 2024-08-16T09:10:53.311Z In(05) host-52540 Skipping BTF generation for /tmp/modconfig-2aiT3s/vmnet-only/vmnet.ko due to unavailability of vmlinux 2024-08-16T09:10:53.311Z In(05) host-52540 Unable to install all modules. See log for details. 2024-08-16T09:10:53.311Z In(05) host-52540 2024-08-16T09:11:03.193Z In(05) host-52540 The GCC version matches the kernel GCC minor version like a glove. 2024-08-16T09:11:03.193Z In(05) host-52540 Validating path "/lib/modules/6.8.0-40-generic/build/include" for kernel release "6.8.0-40-generic". 2024-08-16T09:11:03.194Z In(05) host-52540 Failed to find /lib/modules/6.8.0-40-generic/build/include/linux/version.h 2024-08-16T09:11:03.194Z In(05) host-52540 /lib/modules/6.8.0-40-generic/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2024-08-16T09:11:03.194Z In(05) host-52540 using /usr/bin/gcc-12 for preprocess check 2024-08-16T09:11:03.202Z In(05) host-52540 Preprocessed UTS_RELEASE, got value "6.8.0-40-generic". 2024-08-16T09:11:03.202Z In(05) host-52540 The header path "/lib/modules/6.8.0-40-generic/build/include" for the kernel "6.8.0-40-generic" is valid. Whoohoo! 2024-08-16T09:11:03.202Z In(05) host-52540 Using temp dir "/tmp". 2024-08-16T09:11:11.941Z In(05) host-52540 Stopping VMware services: 2024-08-16T09:11:11.941Z In(05) host-52540 VMware Authentication Daemon done 2024-08-16T09:11:11.941Z In(05) host-52540 Virtual machine monitor done 2024-08-16T09:11:11.941Z In(05) host-52540 make: Entering directory '/tmp/modconfig-DBrosH/vmmon-only' 2024-08-16T09:11:11.941Z In(05) host-52540 /usr/bin/make -C /lib/modules/6.8.0-40-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-08-16T09:11:11.941Z In(05) host-52540 MODULEBUILDDIR= modules 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/linux/driver.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/linux/driverLog.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/linux/hostif.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/apic.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/comport.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/cpuid.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/crosspage.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/memtrack.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/moduleloop.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/phystrack.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/sharedAreaVmmon.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/statVarsVmmon.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/task.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/common/vmx86.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/bootstrap/bootstrap.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/bootstrap/monLoader.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/bootstrap/monLoaderVmmon.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmmon-only/bootstrap/vmmblob.o 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:11:11.941Z In(05) host-52540 make: Leaving directory '/tmp/modconfig-DBrosH/vmmon-only' 2024-08-16T09:11:11.941Z In(05) host-52540 make: Entering directory '/tmp/modconfig-DBrosH/vmnet-only' 2024-08-16T09:11:11.941Z In(05) host-52540 /usr/bin/make -C /lib/modules/6.8.0-40-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2024-08-16T09:11:11.941Z In(05) host-52540 MODULEBUILDDIR= modules 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: Entering directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/driver.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/hub.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/userif.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/netif.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/bridge.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/procfs.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/smac_compat.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/smac.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/vnetEvent.o 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/vnetUserListener.o 2024-08-16T09:11:11.941Z In(05) host-52540 LD [M] /tmp/modconfig-DBrosH/vmnet-only/vmnet.o 2024-08-16T09:11:11.941Z In(05) host-52540 MODPOST /tmp/modconfig-DBrosH/vmnet-only/Module.symvers 2024-08-16T09:11:11.941Z In(05) host-52540 CC [M] /tmp/modconfig-DBrosH/vmnet-only/vmnet.mod.o 2024-08-16T09:11:11.941Z In(05) host-52540 LD [M] /tmp/modconfig-DBrosH/vmnet-only/vmnet.ko 2024-08-16T09:11:11.941Z In(05) host-52540 BTF [M] /tmp/modconfig-DBrosH/vmnet-only/vmnet.ko 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: Leaving directory '/usr/src/linux-headers-6.8.0-40-generic' 2024-08-16T09:11:11.941Z In(05) host-52540 /usr/bin/make -C $PWD SRCROOT=$PWD/. \ 2024-08-16T09:11:11.941Z In(05) host-52540 MODULEBUILDDIR= postbuild 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: Entering directory '/tmp/modconfig-DBrosH/vmnet-only' 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: 'postbuild' is up to date. 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: Leaving directory '/tmp/modconfig-DBrosH/vmnet-only' 2024-08-16T09:11:11.941Z In(05) host-52540 cp -f vmnet.ko ./../vmnet.o 2024-08-16T09:11:11.941Z In(05) host-52540 make: Leaving directory '/tmp/modconfig-DBrosH/vmnet-only' 2024-08-16T09:11:11.941Z In(05) host-52540 [AppLoader] GLib does not have GSettings support. 2024-08-16T09:11:11.941Z In(05) host-52540 Using kernel build system. 2024-08-16T09:11:11.941Z In(05) host-52540 warning: the compiler differs from the one used to build the kernel 2024-08-16T09:11:11.941Z In(05) host-52540 The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:11:11.941Z In(05) host-52540 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/crosspage.o: warning: objtool: CrossPage_CodePage+0x207: 'naked' return found in RETHUNK build 2024-08-16T09:11:11.941Z In(05) host-52540 make[3]: [scripts/Makefile.build:243: /tmp/modconfig-DBrosH/vmmon-only/common/crosspage.o] Error 255 2024-08-16T09:11:11.941Z In(05) host-52540 make[3]: Deleting file '/tmp/modconfig-DBrosH/vmmon-only/common/crosspage.o' 2024-08-16T09:11:11.941Z In(05) host-52540 make[3]: Waiting for unfinished jobs.... 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove() 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test() 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/task.c:548:1: warning: no previous prototype for ‘TaskGetFlatWriteableDataSegment’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 548 | TaskGetFlatWriteableDataSegment(void) 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 In file included from /tmp/modconfig-DBrosH/vmmon-only/common/vmx86.c:52: 2024-08-16T09:11:11.941Z In(05) host-52540 ./arch/x86/include/asm/timex.h: In function ‘random_get_entropy’: 2024-08-16T09:11:11.941Z In(05) host-52540 ./arch/x86/include/asm/timex.h:12:24: error: implicit declaration of function ‘random_get_entropy_fallback’; did you mean ‘random_get_entropy’? [-Werror=implicit-function-declaration] 2024-08-16T09:11:11.941Z In(05) host-52540 12 | return random_get_entropy_fallback(); 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 | random_get_entropy 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/vmx86.c: At top level: 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/vmx86.c:700:1: warning: no previous prototype for ‘Vmx86FreeVMDriver’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 700 | Vmx86FreeVMDriver(VMDriver vm) 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/vmx86.c:733:1: warning: no previous prototype for ‘Vmx86AllocVMDriver’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 733 | Vmx86AllocVMDriver(uint32 numVCPUs) 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/linux/hostif.c:2926:1: warning: no previous prototype for ‘HostIFCheckTrackedMPN’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 2926 | HostIFCheckTrackedMPN(VMDriver vm, // IN: The VM instance 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/linux/hostif.c:3046:1: warning: no previous prototype for ‘HostIFWritePhysicalWork’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 3046 | HostIFWritePhysicalWork(MA ma, // MA to be written to 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/linux/driver.c:271:1: warning: no previous prototype for ‘LinuxDriverInit’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 271 | LinuxDriverInit(void) 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/linux/driver.c:339:1: warning: no previous prototype for ‘LinuxDriverExit’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 339 | LinuxDriverExit(void) 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/linux/hostif.c:3205:1: warning: no previous prototype for ‘HostIFStartTimer’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 3205 | HostIFStartTimer(Bool rateChanged, //IN: Did rate change? 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section 2024-08-16T09:11:11.941Z In(05) host-52540 cc1: some warnings being treated as errors 2024-08-16T09:11:11.941Z In(05) host-52540 make[3]: [scripts/Makefile.build:243: /tmp/modconfig-DBrosH/vmmon-only/common/vmx86.o] Error 1 2024-08-16T09:11:11.941Z In(05) host-52540 make[2]: [/usr/src/linux-headers-6.8.0-40-generic/Makefile:1926: /tmp/modconfig-DBrosH/vmmon-only] Error 2 2024-08-16T09:11:11.941Z In(05) host-52540 make[1]: [Makefile:240: __sub-make] Error 2 2024-08-16T09:11:11.941Z In(05) host-52540 make: [Makefile:117: vmmon.ko] Error 2 2024-08-16T09:11:11.941Z In(05) host-52540 Using kernel build system. 2024-08-16T09:11:11.941Z In(05) host-52540 warning: the compiler differs from the one used to build the kernel 2024-08-16T09:11:11.941Z In(05) host-52540 The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:11:11.941Z In(05) host-52540 You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmnet-only/vnetUserListener.c:87:1: warning: no previous prototype for ‘VNetUserListener_Create’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 87 | VNetUserListener_Create(uint32 classMask, // IN: the listener's class mask 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmnet-only/netif.c:173:1: warning: no previous prototype for ‘VNetNetIf_Create’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 173 | VNetNetIf_Create(char devName, // IN: 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmnet-only/userif.c:1091:1: warning: no previous prototype for ‘VNetUserIf_Create’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 1091 | VNetUserIf_Create(VNetPort ret) // OUT 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmnet-only/bridge.c:258:1: warning: no previous prototype for ‘VNetBridge_Create’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 258 | VNetBridge_Create(const char devName, // IN: name of device (e.g., "eth0") 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmnet-only/bridge.c:1411:1: warning: no previous prototype for ‘VNetBridgeSendLargePacket’ [-Wmissing-prototypes] 2024-08-16T09:11:11.941Z In(05) host-52540 1411 | VNetBridgeSendLargePacket(struct sk_buff skb, // IN: packet to split 2024-08-16T09:11:11.941Z In(05) host-52540 | ^~~~~~~~~ 2024-08-16T09:11:11.941Z In(05) host-52540 /tmp/modconfig-DBrosH/vmnet-only/userif.o: warning: objtool: VNetCsumAndCopyToUser+0x2d: call to csum_partial_copy_nocheck() with UACCESS enabled 2024-08-16T09:11:11.941Z In(05) host-52540 Skipping BTF generation for /tmp/modconfig-DBrosH/vmnet-only/vmnet.ko due to unavailability of vmlinux 2024-08-16T09:11:11.941Z In(05) host-52540 Unable to install all modules. See log for details. 2024-08-16T09:11:11.941Z In(05) host-52540

nikclos commented 1 month ago

I fixed it this way, it works for me

cd ~/temp/vmware wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.5.1.tar.gz tar -xzf workstation-17.5.1.tar.gz && cd vmware-host-modules-workstation-17.5.1 tar -cf vmmon.tar vmmon-only && tar -cf vmnet.tar vmnet-only sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ sudo vmware-modconfig --console --install-all history

ryusei-S commented 1 month ago

I had the same problem. @nikclos solution was effective for me.

git clone https://github.com/mkubecek/vmware-host-modules.git -b workstation-17.5.1
tar -cf vmmon.tar vmmon-only
tar -cf vmnet.tar vmnet-only
sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/
sudo vmware-modconfig --console --install-all
sunzy993 commented 1 month ago

I fixed it this way, it works for me

cd ~/temp/vmware wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.5.1.tar.gz tar -xzf workstation-17.5.1.tar.gz && cd vmware-host-modules-workstation-17.5.1 tar -cf vmmon.tar vmmon-only && tar -cf vmnet.tar vmnet-only sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ sudo vmware-modconfig --console --install-all history

nikclos' comment works for me, thank you all.

HarimbolaSantatra commented 1 month ago

I fixed it this way, it works for me

cd ~/temp/vmware wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-17.5.1.tar.gz tar -xzf workstation-17.5.1.tar.gz && cd vmware-host-modules-workstation-17.5.1 tar -cf vmmon.tar vmmon-only && tar -cf vmnet.tar vmnet-only sudo cp -v vmmon.tar vmnet.tar /usr/lib/vmware/modules/source/ sudo vmware-modconfig --console --install-all history

Thanks you!