vmware 16.2.5 arch linux vmmon vmnet module fix
Hello David in the past I was able to load vmnet vmmon modules after updating the arch kernel. Somehow now I can't. Could you assist me with repairing this?
uname -r 6.15.6-arch1-1
vmware --version VMware Workstation 16.2.5 build-20904516
cat /tmp/vmware-$USER/vmware-93225.log
2025-07-16T18:51:19.512Z In(05) host-93225 Log for VMware Workstation pid=93225 version=16.2.5 build=build-20904516 option=Release
2025-07-16T18:51:19.512Z In(05) host-93225 The host is 64-bit.
2025-07-16T18:51:19.512Z In(05) host-93225 Host codepage=UTF-8 encoding=UTF-8
2025-07-16T18:51:19.512Z In(05) host-93225 Host is Linux 6.15.6-arch1-1 Archcraft Archcraft rolling
2025-07-16T18:51:19.512Z In(05) host-93225 Host offset from UTC is +02:00.
2025-07-16T18:51:19.512Z In(05) host-93225 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2025-07-16T18:51:19.512Z In(05) host-93225 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2025-07-16T18:51:19.512Z In(05) host-93225 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2025-07-16T18:51:19.512Z In(05) host-93225 DictionaryLoad: Cannot open file "/home/$USER/.vmware/config": No such file or directory.
2025-07-16T18:51:19.512Z In(05) host-93225 [msg.dictionary.load.openFailed] Cannot open file "/home/$USER/.vmware/config": No such file or directory.
2025-07-16T18:51:19.512Z In(05) host-93225 PREF Optional preferences file not found at /home/$USER/.vmware/config. Using default values.
2025-07-16T18:51:19.537Z Wa(03) host-93225 Logging to /tmp/vmware-$USER/vmware-93225.log
2025-07-16T18:51:19.542Z In(05) host-93225 Obtaining info using the running kernel.
2025-07-16T18:51:19.542Z In(05) host-93225 Created new pathsHash.
2025-07-16T18:51:19.543Z In(05) host-93225 Setting header path for 6.15.6-arch1-1 to "/lib/modules/6.15.6-arch1-1/build/include".
2025-07-16T18:51:19.543Z In(05) host-93225 Validating path "/lib/modules/6.15.6-arch1-1/build/include" for kernel release "6.15.6-arch1-1".
2025-07-16T18:51:19.543Z In(05) host-93225 Failed to find /lib/modules/6.15.6-arch1-1/build/include/linux/version.h
2025-07-16T18:51:19.543Z In(05) host-93225 /lib/modules/6.15.6-arch1-1/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-07-16T18:51:19.543Z In(05) host-93225 using /sbin/gcc for preprocess check
2025-07-16T18:51:19.550Z In(05) host-93225 Preprocessed UTS_RELEASE, got value "6.15.6-arch1-1".
2025-07-16T18:51:19.550Z In(05) host-93225 The header path "/lib/modules/6.15.6-arch1-1/build/include" for the kernel "6.15.6-arch1-1" is valid. Whoohoo!
2025-07-16T18:51:19.807Z In(05) host-93225 found symbol version file /lib/modules/6.15.6-arch1-1/build/Module.symvers
2025-07-16T18:51:19.807Z In(05) host-93225 Reading symbol versions from /lib/modules/6.15.6-arch1-1/build/Module.symvers.
2025-07-16T18:51:19.825Z In(05) host-93225 Read 31174 symbol versions
2025-07-16T18:51:19.826Z In(05) host-93225 Reading in info for the vmmon module.
2025-07-16T18:51:19.826Z In(05) host-93225 Reading in info for the vmnet module.
2025-07-16T18:51:19.826Z In(05) host-93225 Invoking modinfo on "vmmon".
2025-07-16T18:51:19.829Z In(05) host-93225 "/sbin/modinfo" exited with status 256.
2025-07-16T18:51:19.829Z In(05) host-93225 Invoking modinfo on "vmnet".
2025-07-16T18:51:19.832Z In(05) host-93225 "/sbin/modinfo" exited with status 256.
2025-07-16T18:51:19.841Z In(05) host-93225 to be installed: vmmon status: 0
2025-07-16T18:51:19.841Z In(05) host-93225 to be installed: vmnet status: 0
2025-07-16T18:51:19.861Z In(05) host-93225 Obtaining info using the running kernel.
2025-07-16T18:51:19.861Z In(05) host-93225 Setting header path for 6.15.6-arch1-1 to "/lib/modules/6.15.6-arch1-1/build/include".
2025-07-16T18:51:19.861Z In(05) host-93225 Validating path "/lib/modules/6.15.6-arch1-1/build/include" for kernel release "6.15.6-arch1-1".
2025-07-16T18:51:19.861Z In(05) host-93225 Failed to find /lib/modules/6.15.6-arch1-1/build/include/linux/version.h
2025-07-16T18:51:19.861Z In(05) host-93225 /lib/modules/6.15.6-arch1-1/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-07-16T18:51:19.861Z In(05) host-93225 using /sbin/gcc for preprocess check
2025-07-16T18:51:19.869Z In(05) host-93225 Preprocessed UTS_RELEASE, got value "6.15.6-arch1-1".
2025-07-16T18:51:19.869Z In(05) host-93225 The header path "/lib/modules/6.15.6-arch1-1/build/include" for the kernel "6.15.6-arch1-1" is valid. Whoohoo!
2025-07-16T18:51:20.129Z In(05) host-93225 found symbol version file /lib/modules/6.15.6-arch1-1/build/Module.symvers
2025-07-16T18:51:20.129Z In(05) host-93225 Reading symbol versions from /lib/modules/6.15.6-arch1-1/build/Module.symvers.
2025-07-16T18:51:20.147Z In(05) host-93225 Read 31174 symbol versions
2025-07-16T18:51:20.147Z In(05) host-93225 Kernel header path retrieved from FileEntry: /lib/modules/6.15.6-arch1-1/build/include
2025-07-16T18:51:20.147Z In(05) host-93225 Update kernel header path to /lib/modules/6.15.6-arch1-1/build/include
2025-07-16T18:51:20.147Z In(05) host-93225 Validating path "/lib/modules/6.15.6-arch1-1/build/include" for kernel release "6.15.6-arch1-1".
2025-07-16T18:51:20.147Z In(05) host-93225 Failed to find /lib/modules/6.15.6-arch1-1/build/include/linux/version.h
2025-07-16T18:51:20.147Z In(05) host-93225 /lib/modules/6.15.6-arch1-1/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-07-16T18:51:20.147Z In(05) host-93225 using /sbin/gcc for preprocess check
2025-07-16T18:51:20.155Z In(05) host-93225 Preprocessed UTS_RELEASE, got value "6.15.6-arch1-1".
2025-07-16T18:51:20.155Z In(05) host-93225 The header path "/lib/modules/6.15.6-arch1-1/build/include" for the kernel "6.15.6-arch1-1" is valid. Whoohoo!
2025-07-16T18:51:20.155Z In(05) host-93225 Found compiler at "/sbin/gcc"
2025-07-16T18:51:20.158Z In(05) host-93225 Got gcc version "15.1.1".
2025-07-16T18:51:20.158Z In(05) host-93225 The GCC version matches the kernel GCC minor version like a glove.
2025-07-16T18:51:20.160Z In(05) host-93225 Got gcc version "15.1.1".
2025-07-16T18:51:20.160Z In(05) host-93225 The GCC version matches the kernel GCC minor version like a glove.
2025-07-16T18:51:20.161Z In(05) host-93225 Trying to find a suitable PBM set for kernel "6.15.6-arch1-1".
2025-07-16T18:51:20.161Z In(05) host-93225 No matching PBM set was found for kernel "6.15.6-arch1-1".
2025-07-16T18:51:20.161Z In(05) host-93225 The GCC version matches the kernel GCC minor version like a glove.
2025-07-16T18:51:20.161Z In(05) host-93225 Validating path "/lib/modules/6.15.6-arch1-1/build/include" for kernel release "6.15.6-arch1-1".
2025-07-16T18:51:20.161Z In(05) host-93225 Failed to find /lib/modules/6.15.6-arch1-1/build/include/linux/version.h
2025-07-16T18:51:20.161Z In(05) host-93225 /lib/modules/6.15.6-arch1-1/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-07-16T18:51:20.161Z In(05) host-93225 using /sbin/gcc for preprocess check
2025-07-16T18:51:20.168Z In(05) host-93225 Preprocessed UTS_RELEASE, got value "6.15.6-arch1-1".
2025-07-16T18:51:20.168Z In(05) host-93225 The header path "/lib/modules/6.15.6-arch1-1/build/include" for the kernel "6.15.6-arch1-1" is valid. Whoohoo!
2025-07-16T18:51:22.466Z In(05) host-93225 The GCC version matches the kernel GCC minor version like a glove.
2025-07-16T18:51:22.466Z In(05) host-93225 Validating path "/lib/modules/6.15.6-arch1-1/build/include" for kernel release "6.15.6-arch1-1".
2025-07-16T18:51:22.466Z In(05) host-93225 Failed to find /lib/modules/6.15.6-arch1-1/build/include/linux/version.h
2025-07-16T18:51:22.466Z In(05) host-93225 /lib/modules/6.15.6-arch1-1/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.
2025-07-16T18:51:22.466Z In(05) host-93225 using /sbin/gcc for preprocess check
2025-07-16T18:51:22.474Z In(05) host-93225 Preprocessed UTS_RELEASE, got value "6.15.6-arch1-1".
2025-07-16T18:51:22.474Z In(05) host-93225 The header path "/lib/modules/6.15.6-arch1-1/build/include" for the kernel "6.15.6-arch1-1" is valid. Whoohoo!
2025-07-16T18:51:22.474Z In(05) host-93225 Using temp dir "/tmp".
2025-07-16T18:51:29.486Z In(05) host-93225 Stopping VMware services:
2025-07-16T18:51:29.486Z In(05) host-93225 VMware Authentication Da done
2025-07-16T18:51:29.486Z In(05) host-93225 Virtual machine monitor done
2025-07-16T18:51:29.486Z In(05) host-93225 make: Entering directory '/tmp/modconfig-YtX82s/vmmon-only'
2025-07-16T18:51:29.486Z In(05) host-93225 /sbin/make -C /lib/modules/6.15.6-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/.
2025-07-16T18:51:29.486Z In(05) host-93225 MODULEBUILDDIR= modules
2025-07-16T18:51:29.486Z In(05) host-93225 make[1]: Entering directory '/usr/lib/modules/6.15.6-arch1-1/build'
2025-07-16T18:51:29.486Z In(05) host-93225 make[2]: Entering directory '/tmp/modconfig-YtX82s/vmmon-only'
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] linux/driver.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] linux/driverLog.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] linux/hostif.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/apic.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/comport.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/cpuid.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/crosspage.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/memtrack.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/moduleloop.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/phystrack.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/sharedAreaVmmon.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] common/statVarsVmmon.o
2025-07-16T18:51:29.486Z In(05) host-93225 make[2]: Leaving directory '/tmp/modconfig-YtX82s/vmmon-only'
2025-07-16T18:51:29.486Z In(05) host-93225 make[1]: Leaving directory '/usr/lib/modules/6.15.6-arch1-1/build'
2025-07-16T18:51:29.486Z In(05) host-93225 make: Leaving directory '/tmp/modconfig-YtX82s/vmmon-only'
2025-07-16T18:51:29.486Z In(05) host-93225 make: Entering directory '/tmp/modconfig-YtX82s/vmnet-only'
2025-07-16T18:51:29.486Z In(05) host-93225 /sbin/make -C /lib/modules/6.15.6-arch1-1/build/include/.. M=$PWD SRCROOT=$PWD/.
2025-07-16T18:51:29.486Z In(05) host-93225 MODULEBUILDDIR= modules
2025-07-16T18:51:29.486Z In(05) host-93225 make[1]: Entering directory '/usr/lib/modules/6.15.6-arch1-1/build'
2025-07-16T18:51:29.486Z In(05) host-93225 make[2]: Entering directory '/tmp/modconfig-YtX82s/vmnet-only'
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] driver.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] hub.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] userif.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] netif.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] bridge.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] procfs.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] smac_compat.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] smac.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] vnetEvent.o
2025-07-16T18:51:29.486Z In(05) host-93225 CC [M] vnetUserListener.o
2025-07-16T18:51:29.486Z In(05) host-93225 make[2]: Leaving directory '/tmp/modconfig-YtX82s/vmnet-only'
2025-07-16T18:51:29.486Z In(05) host-93225 make[1]: Leaving directory '/usr/lib/modules/6.15.6-arch1-1/build'
2025-07-16T18:51:29.486Z In(05) host-93225 make: Leaving directory '/tmp/modconfig-YtX82s/vmnet-only'
2025-07-16T18:51:29.486Z In(05) host-93225 [AppLoader] GLib does not have GSettings support.
2025-07-16T18:51:29.486Z In(05) host-93225 Using kernel build system.
2025-07-16T18:51:29.486Z In(05) host-93225 linux/driver.c:20:10: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 20 | #include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 linux/hostif.c:29:10: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 29 | #include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 common/apic.c:19:10: fatal error: vm_basic_defs.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 19 | #include "vm_basic_defs.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: linux/hostif.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** Waiting for unfinished jobs....
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: linux/driver.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/apic.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 In file included from common/comport.c:39:
2025-07-16T18:51:29.486Z In(05) host-93225 common/comport.h:25:10: fatal error: includeCheck.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 25 | #include "includeCheck.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 linux/driverLog.c:26:10: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 26 | #include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/comport.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: linux/driverLog.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 common/crosspage.c:49:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 49 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 common/memtrack.c:78:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 78 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 common/cpuid.c:21:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 21 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/crosspage.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/memtrack.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 common/moduleloop.c:29:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 29 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/cpuid.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 common/phystrack.c:37:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 37 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/moduleloop.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/phystrack.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 common/sharedAreaVmmon.c:26:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 26 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 common/statVarsVmmon.c:26:13: fatal error: driver-config.h: No such file or directory
2025-07-16T18:51:29.486Z In(05) host-93225 26 | # include "driver-config.h"
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 compilation terminated.
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/sharedAreaVmmon.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: common/statVarsVmmon.o] Error 1
2025-07-16T18:51:29.486Z In(05) host-93225 make[3]: *** [/usr/lib/modules/6.15.6-arch1-1/build/Makefile:2003: .] Error 2
2025-07-16T18:51:29.486Z In(05) host-93225 make[2]: *** [/usr/lib/modules/6.15.6-arch1-1/build/Makefile:248: __sub-make] Error 2
2025-07-16T18:51:29.486Z In(05) host-93225 make[1]: *** [Makefile:248: __sub-make] Error 2
2025-07-16T18:51:29.486Z In(05) host-93225 make: *** [Makefile:117: vmmon.ko] Error 2
2025-07-16T18:51:29.486Z In(05) host-93225 Using kernel build system.
2025-07-16T18:51:29.486Z In(05) host-93225 In file included from driver.c:49:
2025-07-16T18:51:29.486Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.486Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.486Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.486Z In(05) host-93225 from driver.c:23:
2025-07-16T18:51:29.486Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.486Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.486Z In(05) host-93225 In file included from bridge.c:57:
2025-07-16T18:51:29.486Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.486Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.486Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.486Z In(05) host-93225 from bridge.c:23:
2025-07-16T18:51:29.486Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.486Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.486Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/spinlock.h:305,
2025-07-16T18:51:29.486Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/sched.h:2213,
2025-07-16T18:51:29.486Z In(05) host-93225 from bridge.c:25:
2025-07-16T18:51:29.486Z In(05) host-93225 bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
2025-07-16T18:51:29.486Z In(05) host-93225 vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
2025-07-16T18:51:29.486Z In(05) host-93225 44 | #define dev_lock_list() read_lock(&dev_base_lock)
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~~~~~~~~~~
2025-07-16T18:51:29.486Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
2025-07-16T18:51:29.486Z In(05) host-93225 56 | #define read_lock(lock) _raw_read_lock(lock)
2025-07-16T18:51:29.486Z In(05) host-93225 | ^~~~
2025-07-16T18:51:29.486Z In(05) host-93225 bridge.c:588:4: note: in expansion of macro ‘dev_lock_list’
2025-07-16T18:51:29.487Z In(05) host-93225 588 | dev_lock_list();
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~~~~~~~~~~
2025-07-16T18:51:29.487Z In(05) host-93225 vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in
2025-07-16T18:51:29.487Z In(05) host-93225 44 | #define dev_lock_list() read_lock(&dev_base_lock)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~~~~~~~~~~
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
2025-07-16T18:51:29.487Z In(05) host-93225 56 | #define read_lock(lock) _raw_read_lock(lock)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~
2025-07-16T18:51:29.487Z In(05) host-93225 bridge.c:588:4: note: in expansion of macro ‘dev_lock_list’
2025-07-16T18:51:29.487Z In(05) host-93225 588 | dev_lock_list();
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~~~~~~~~~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from smac_compat.c:53:
2025-07-16T18:51:29.487Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.487Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.487Z In(05) host-93225 from smac_compat.c:33:
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.487Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 bridge.c: In function ‘VNetBridgeUp’:
2025-07-16T18:51:29.487Z In(05) host-93225 vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’?
2025-07-16T18:51:29.487Z In(05) host-93225 44 | #define dev_lock_list() read_lock(&dev_base_lock)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~~~~~~~~~~
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’
2025-07-16T18:51:29.487Z In(05) host-93225 56 | #define read_lock(lock) _raw_read_lock(lock)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~
2025-07-16T18:51:29.487Z In(05) host-93225 bridge.c:906:4: note: in expansion of macro ‘dev_lock_list’
2025-07-16T18:51:29.487Z In(05) host-93225 906 | dev_lock_list();
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~~~~~~~~~~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from hub.c:43:
2025-07-16T18:51:29.487Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.487Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.487Z In(05) host-93225 from hub.c:23:
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.487Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 make[4]: *** [/usr/lib/modules/6.15.6-arch1-1/build/scripts/Makefile.build:203: bridge.o] Error 1
2025-07-16T18:51:29.487Z In(05) host-93225 make[4]: *** Waiting for unfinished jobs....
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from vnetUserListener.c:39:
2025-07-16T18:51:29.487Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.487Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/jiffies.h:8,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/ktime.h:25,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/timer.h:6,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/netdevice.h:24,
2025-07-16T18:51:29.487Z In(05) host-93225 from vnetUserListener.c:33:
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.487Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from userif.c:46:
2025-07-16T18:51:29.487Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.487Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/cpumask.h:11,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/arch/x86/include/asm/paravirt.h:21,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/arch/x86/include/asm/irqflags.h:102,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/irqflags.h:18,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/spinlock.h:59,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/wait.h:9,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/wait_bit.h:8,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/fs.h:7,
2025-07-16T18:51:29.487Z In(05) host-93225 from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/highmem.h:5,
2025-07-16T18:51:29.487Z In(05) host-93225 from userif.c:26:
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.487Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from procfs.c:43:
2025-07-16T18:51:29.487Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.487Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.487Z In(05) host-93225 from procfs.c:23:
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.487Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from netif.c:43:
2025-07-16T18:51:29.487Z In(05) host-93225 vnetInt.h:49:9: warning: ‘MAX’ redefined
2025-07-16T18:51:29.487Z In(05) host-93225 49 | #define MAX(_a, _b) (((_a) > (_b)) ? (_a) : (_b))
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 In file included from /usr/lib/modules/6.15.6-arch1-1/build/include/linux/kernel.h:28,
2025-07-16T18:51:29.487Z In(05) host-93225 from netif.c:23:
2025-07-16T18:51:29.487Z In(05) host-93225 /usr/lib/modules/6.15.6-arch1-1/build/include/linux/minmax.h:315:9: note: this is the location of the previous definition
2025-07-16T18:51:29.487Z In(05) host-93225 315 | #define MAX(a, b) __cmp(max, a, b)
2025-07-16T18:51:29.487Z In(05) host-93225 | ^~~
2025-07-16T18:51:29.487Z In(05) host-93225 make[3]: *** [/usr/lib/modules/6.15.6-arch1-1/build/Makefile:2003: .] Error 2
2025-07-16T18:51:29.487Z In(05) host-93225 make[2]: *** [/usr/lib/modules/6.15.6-arch1-1/build/Makefile:248: __sub-make] Error 2
2025-07-16T18:51:29.487Z In(05) host-93225 make[1]: *** [Makefile:248: __sub-make] Error 2
2025-07-16T18:51:29.487Z In(05) host-93225 make: *** [Makefile:117: vmnet.ko] Error 2
2025-07-16T18:51:29.487Z In(05) host-93225 Unable to install all modules. See log for details.
2025-07-16T18:51:29.487Z In(05) host-93225
I found information that this is a VMware issue as their out-of-tree modules are not compatible with recent kernels. The workaround that worked for me
wget https://codeload.github.com/nan0desu/vmware-host-modules/zip/refs/heads/workstation-16.2.5
tar -xzf vmware-host-modules-workstation-17.6.0.tar.gz
cd vmware-host-modules-workstation-17.6.0
make && sudo make install
best regards