Vmware linux/driverLog.c:26:10: fatal error: driver-config.h: No such file or directory

vmware compiled modules failed, vmware’s file disappears?
I use sudo find / -name "vm_basic_defs.h", no find, driver-config.h also.
I just upgraded the system.sudo dnf update

2025-06-27T08:19:39.244Z In(05) host-3075 Log for VMware Workstation pid=3075 version=17.6.3 build=build-24583834 option=Release
2025-06-27T08:19:39.244Z In(05) host-3075 The host is x86_64.
2025-06-27T08:19:39.244Z In(05) host-3075 Host codepage=UTF-8 encoding=UTF-8
2025-06-27T08:19:39.244Z In(05) host-3075 Host is Linux 6.15.3-200.fc42.x86_64 Fedora Linux 42 (COSMIC) 42 Fedora Linux 42 (COSMIC) cpe:/o:fedoraproject:fedora:42
2025-06-27T08:19:39.244Z In(05) host-3075 Host offset from UTC is +08:00.
2025-06-27T08:19:39.244Z In(05) host-3075 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2025-06-27T08:19:39.244Z In(05) host-3075 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2025-06-27T08:19:39.244Z In(05) host-3075 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2025-06-27T08:19:39.244Z In(05) host-3075 DictionaryLoad: Cannot open file "/home/xiaguangbo/.vmware/config": No such file or directory.
2025-06-27T08:19:39.244Z In(05) host-3075 [msg.dictionary.load.openFailed] Cannot open file "/home/xiaguangbo/.vmware/config": No such file or directory.
2025-06-27T08:19:39.244Z In(05) host-3075 PREF Optional preferences file not found at /home/xiaguangbo/.vmware/config. Using default values.
2025-06-27T08:19:39.245Z Wa(03) host-3075 Logging to /tmp/vmware-xiaguangbo/vmware-3075.log
2025-06-27T08:19:39.283Z In(05) host-3075 Obtaining info using the running kernel.
2025-06-27T08:19:39.283Z In(05) host-3075 Created new pathsHash.
2025-06-27T08:19:39.283Z In(05) host-3075 Setting header path for 6.15.3-200.fc42.x86_64 to "/lib/modules/6.15.3-200.fc42.x86_64/build/include".
2025-06-27T08:19:39.283Z In(05) host-3075 Validating path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for kernel release "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:39.284Z In(05) host-3075 Failed to find /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h
2025-06-27T08:19:39.284Z In(05) host-3075 /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-06-27T08:19:39.285Z In(05) host-3075 using /sbin/gcc for preprocess check
2025-06-27T08:19:39.314Z In(05) host-3075 Preprocessed UTS_RELEASE, got value "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:39.315Z In(05) host-3075 The header path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for the kernel "6.15.3-200.fc42.x86_64" is valid.  Whoohoo!
2025-06-27T08:19:39.708Z In(05) host-3075 found symbol version file /lib/modules/6.15.3-200.fc42.x86_64/build/Module.symvers
2025-06-27T08:19:39.708Z In(05) host-3075 Reading symbol versions from /lib/modules/6.15.3-200.fc42.x86_64/build/Module.symvers.
2025-06-27T08:19:39.743Z In(05) host-3075 Read 30028 symbol versions
2025-06-27T08:19:39.743Z In(05) host-3075 Reading in info for the vmmon module.
2025-06-27T08:19:39.743Z In(05) host-3075 Reading in info for the vmnet module.
2025-06-27T08:19:39.743Z In(05) host-3075 Invoking modinfo on "vmmon".
2025-06-27T08:19:39.746Z In(05) host-3075 "/sbin/modinfo" exited with status 256.
2025-06-27T08:19:39.746Z In(05) host-3075 Invoking modinfo on "vmnet".
2025-06-27T08:19:39.749Z In(05) host-3075 "/sbin/modinfo" exited with status 256.
2025-06-27T08:19:39.764Z In(05) host-3075 to be installed: vmmon status: 0
2025-06-27T08:19:39.764Z In(05) host-3075 to be installed: vmnet status: 0
2025-06-27T08:19:39.779Z In(05) host-3075 Obtaining info using the running kernel.
2025-06-27T08:19:39.779Z In(05) host-3075 Setting header path for 6.15.3-200.fc42.x86_64 to "/lib/modules/6.15.3-200.fc42.x86_64/build/include".
2025-06-27T08:19:39.779Z In(05) host-3075 Validating path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for kernel release "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:39.780Z In(05) host-3075 Failed to find /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h
2025-06-27T08:19:39.780Z In(05) host-3075 /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-06-27T08:19:39.780Z In(05) host-3075 using /sbin/gcc for preprocess check
2025-06-27T08:19:39.789Z In(05) host-3075 Preprocessed UTS_RELEASE, got value "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:39.789Z In(05) host-3075 The header path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for the kernel "6.15.3-200.fc42.x86_64" is valid.  Whoohoo!
2025-06-27T08:19:40.175Z In(05) host-3075 found symbol version file /lib/modules/6.15.3-200.fc42.x86_64/build/Module.symvers
2025-06-27T08:19:40.175Z In(05) host-3075 Reading symbol versions from /lib/modules/6.15.3-200.fc42.x86_64/build/Module.symvers.
2025-06-27T08:19:40.197Z In(05) host-3075 Read 30028 symbol versions
2025-06-27T08:19:40.206Z In(05) host-3075 Kernel header path retrieved from FileEntry: /lib/modules/6.15.3-200.fc42.x86_64/build/include
2025-06-27T08:19:40.207Z In(05) host-3075 Update kernel header path to /lib/modules/6.15.3-200.fc42.x86_64/build/include
2025-06-27T08:19:40.207Z In(05) host-3075 Validating path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for kernel release "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:40.207Z In(05) host-3075 Failed to find /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h
2025-06-27T08:19:40.207Z In(05) host-3075 /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-06-27T08:19:40.207Z In(05) host-3075 using /sbin/gcc for preprocess check
2025-06-27T08:19:40.216Z In(05) host-3075 Preprocessed UTS_RELEASE, got value "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:40.216Z In(05) host-3075 The header path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for the kernel "6.15.3-200.fc42.x86_64" is valid.  Whoohoo!
2025-06-27T08:19:40.217Z In(05) host-3075 Found compiler at "/sbin/gcc"
2025-06-27T08:19:40.220Z In(05) host-3075 Got gcc version "15".
2025-06-27T08:19:40.220Z In(05) host-3075 The GCC version matches the kernel GCC minor version like a glove.
2025-06-27T08:19:40.223Z In(05) host-3075 Got gcc version "15".
2025-06-27T08:19:40.223Z In(05) host-3075 The GCC version matches the kernel GCC minor version like a glove.
2025-06-27T08:19:40.224Z In(05) host-3075 Trying to find a suitable PBM set for kernel "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:40.224Z In(05) host-3075 No matching PBM set was found for kernel "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:40.224Z In(05) host-3075 The GCC version matches the kernel GCC minor version like a glove.
2025-06-27T08:19:40.224Z In(05) host-3075 Validating path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for kernel release "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:40.224Z In(05) host-3075 Failed to find /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h
2025-06-27T08:19:40.224Z In(05) host-3075 /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-06-27T08:19:40.224Z In(05) host-3075 using /sbin/gcc for preprocess check
2025-06-27T08:19:40.233Z In(05) host-3075 Preprocessed UTS_RELEASE, got value "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:40.233Z In(05) host-3075 The header path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for the kernel "6.15.3-200.fc42.x86_64" is valid.  Whoohoo!
2025-06-27T08:19:42.474Z In(05) host-3075 The GCC version matches the kernel GCC minor version like a glove.
2025-06-27T08:19:42.474Z In(05) host-3075 Validating path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for kernel release "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:42.474Z In(05) host-3075 Failed to find /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h
2025-06-27T08:19:42.474Z In(05) host-3075 /lib/modules/6.15.3-200.fc42.x86_64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-06-27T08:19:42.474Z In(05) host-3075 using /sbin/gcc for preprocess check
2025-06-27T08:19:42.485Z In(05) host-3075 Preprocessed UTS_RELEASE, got value "6.15.3-200.fc42.x86_64".
2025-06-27T08:19:42.485Z In(05) host-3075 The header path "/lib/modules/6.15.3-200.fc42.x86_64/build/include" for the kernel "6.15.3-200.fc42.x86_64" is valid.  Whoohoo!
2025-06-27T08:19:42.485Z In(05) host-3075 Using temp dir "/tmp".
2025-06-27T08:19:52.008Z In(05) host-3075 make: Entering directory '/tmp/modconfig-B8Opyg/vmmon-only'
2025-06-27T08:19:52.008Z In(05) host-3075 /sbin/make -C /lib/modules/6.15.3-200.fc42.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \
2025-06-27T08:19:52.008Z In(05) host-3075   MODULEBUILDDIR= modules
2025-06-27T08:19:52.008Z In(05) host-3075 make[1]: Entering directory '/usr/src/kernels/6.15.3-200.fc42.x86_64'
2025-06-27T08:19:52.008Z In(05) host-3075 make[2]: Entering directory '/tmp/modconfig-B8Opyg/vmmon-only'
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  linux/driver.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  linux/driverLog.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  linux/hostif.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/apic.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/comport.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/cpuid.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/crosspage.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/memtrack.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/moduleloop.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/phystrack.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/sharedAreaVmmon.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  common/statVarsVmmon.o
2025-06-27T08:19:52.008Z In(05) host-3075 make[2]: Leaving directory '/tmp/modconfig-B8Opyg/vmmon-only'
2025-06-27T08:19:52.008Z In(05) host-3075 make[1]: Leaving directory '/usr/src/kernels/6.15.3-200.fc42.x86_64'
2025-06-27T08:19:52.008Z In(05) host-3075 make: Leaving directory '/tmp/modconfig-B8Opyg/vmmon-only'
2025-06-27T08:19:52.008Z In(05) host-3075 make: Entering directory '/tmp/modconfig-B8Opyg/vmnet-only'
2025-06-27T08:19:52.008Z In(05) host-3075 /sbin/make -C /lib/modules/6.15.3-200.fc42.x86_64/build/include/.. M=$PWD SRCROOT=$PWD/. \
2025-06-27T08:19:52.008Z In(05) host-3075   MODULEBUILDDIR= modules
2025-06-27T08:19:52.008Z In(05) host-3075 make[1]: Entering directory '/usr/src/kernels/6.15.3-200.fc42.x86_64'
2025-06-27T08:19:52.008Z In(05) host-3075 make[2]: Entering directory '/tmp/modconfig-B8Opyg/vmnet-only'
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  driver.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  hub.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  userif.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  netif.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  bridge.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  procfs.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  smac_compat.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  smac.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  vnetEvent.o
2025-06-27T08:19:52.008Z In(05) host-3075   CC [M]  vnetUserListener.o
2025-06-27T08:19:52.008Z In(05) host-3075   LD [M]  vmnet.o
2025-06-27T08:19:52.008Z In(05) host-3075 make[2]: Leaving directory '/tmp/modconfig-B8Opyg/vmnet-only'
2025-06-27T08:19:52.008Z In(05) host-3075 make[1]: Leaving directory '/usr/src/kernels/6.15.3-200.fc42.x86_64'
2025-06-27T08:19:52.008Z In(05) host-3075 make: Leaving directory '/tmp/modconfig-B8Opyg/vmnet-only'
2025-06-27T08:19:52.008Z In(05) host-3075 [AppLoader] GLib does not have GSettings support.
2025-06-27T08:19:52.008Z In(05) host-3075 Using kernel build system.
2025-06-27T08:19:52.008Z In(05) host-3075 linux/driver.c:21:10: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    21 | #include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |          ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 linux/driverLog.c:26:10: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    26 | #include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |          ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 linux/hostif.c:30:10: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    30 | #include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |          ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: linux/driver.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** Waiting for unfinished jobs....
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: linux/driverLog.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/apic.c:20:10: fatal error: vm_basic_defs.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    20 | #include "vm_basic_defs.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |          ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: linux/hostif.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/apic.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 In file included from common/comport.c:40:
2025-06-27T08:19:52.008Z In(05) host-3075 common/comport.h:25:10: fatal error: includeCheck.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    25 | #include "includeCheck.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |          ^~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/comport.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/cpuid.c:22:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    22 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/cpuid.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/crosspage.c:50:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    50 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/crosspage.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/memtrack.c:79:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    79 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/memtrack.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/moduleloop.c:30:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    30 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/moduleloop.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/phystrack.c:38:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    38 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/phystrack.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/sharedAreaVmmon.c:27:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    27 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/sharedAreaVmmon.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 common/statVarsVmmon.c:27:13: fatal error: driver-config.h: No such file or directory
2025-06-27T08:19:52.008Z In(05) host-3075    27 | #   include "driver-config.h"
2025-06-27T08:19:52.008Z In(05) host-3075       |             ^~~~~~~~~~~~~~~~~
2025-06-27T08:19:52.008Z In(05) host-3075 compilation terminated.
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:203: common/statVarsVmmon.o] Error 1
2025-06-27T08:19:52.008Z In(05) host-3075 make[3]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/Makefile:2043: .] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 make[2]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/Makefile:260: __sub-make] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 make[1]: *** [Makefile:260: __sub-make] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 make: *** [Makefile:117: vmmon.ko] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 Using kernel build system.
2025-06-27T08:19:52.008Z In(05) host-3075 vmnet.o: warning: objtool: VNetCsumAndCopyToUser+0x3f: call to csum_partial_copy_nocheck() with UACCESS enabled
2025-06-27T08:19:52.008Z In(05) host-3075 vmnet.o: error: objtool: init_module(): Magic init_module() function name is deprecated, use module_init(fn) instead
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/scripts/Makefile.build:408: vmnet.o] Error 255
2025-06-27T08:19:52.008Z In(05) host-3075 make[4]: *** Deleting file 'vmnet.o'
2025-06-27T08:19:52.008Z In(05) host-3075 make[3]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/Makefile:2043: .] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 make[2]: *** [/usr/src/kernels/6.15.3-200.fc42.x86_64/Makefile:260: __sub-make] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 make[1]: *** [Makefile:260: __sub-make] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 make: *** [Makefile:117: vmnet.ko] Error 2
2025-06-27T08:19:52.008Z In(05) host-3075 Unable to install all modules.  See log for details.
2025-06-27T08:19:52.008Z In(05) host-3075 

It is not unusual for vmware to break with a new kernel series comes out.

I see this web search finds a number of promising hits that may help you: vmware linux 6.15 missing include.

Or you could continue to the a 6.14 kernel until VMware fixes their code.

This is a VMware issue; their out-of-tree modules are not compatible with recent kernels (they often break, as the kernel has no stable API/ABI).

You can check Workstation 17.6.3 problem with building modules on kernel 6.15.rcX · Issue #306 · mkubecek/vmware-host-modules · GitHub for a workaround.

1 Like

Unless you must use VMware you could consider converting your VMs into the QEMU/KVM format. Then you will not have to worry about this issue even again.

I converted my Windows 11 VM from VMware for example.

1 Like

download https://github.com/user-attachments/files/19986002/vmware-host-modules-workstation-17.6.0.tar.gz, extract, runmake && sudo make install

1 Like