checked the vmmon-only/common/vmx86.c line 52 it has "#include <linux/timex.h>"
(base) ferran@z590i:~/Documents/PersonalPackages/vmware-host-modules$ git checkout workstation-17.5.1 branch 'workstation-17.5.1' set up to track 'origin/workstation-17.5.1'. Switched to a new branch 'workstation-17.5.1' (base) ferran@z590i:~/Documents/PersonalPackages/vmware-host-modules$ code vmmon-only/common/vmx86.c (base) ferran@z590i:~/Documents/PersonalPackages/vmware-host-modules$ make make -C vmmon-only make -C vmnet-only make[1]: Entering directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' make[1]: Entering directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only' Using kernel build system. Using kernel build system. make -C /lib/modules/6.9.0-rc7-tkg-custom/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' make -C /lib/modules/6.9.0-rc7-tkg-custom/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/linux/driver.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/linux/driverLog.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/linux/hostif.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/apic.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/comport.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/cpuid.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/crosspage.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/memtrack.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/moduleloop.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/phystrack.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/sharedAreaVmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/statVarsVmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/task.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/vmx86.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/bootstrap.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/monLoader.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/monLoaderVmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/vmmblob.o LD [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/vmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/driver.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/hub.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/userif.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/netif.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/procfs.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/smac_compat.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/smac.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vnetEvent.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vnetUserListener.o MODPOST /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/Module.symvers CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/vmmon.mod.o LD [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/vmmon.ko make[2]: Leaving directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[2]: Entering directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' make[2]: 'postbuild' is up to date. make[2]: Leaving directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' cp -f vmmon.ko ./../vmmon.o make[1]: Leaving directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' In file included from ./include/linux/spinlock.h:305, from ./include/linux/sched.h:2138, from /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:25: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeUp’: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’ 902 | dev_lock_list(); | ^~~~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:244: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.9.0-rc7-tkg-custom/Makefile:1922: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only] Error 2 make[2]: *** [Makefile:240: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' make[1]: *** [Makefile:117: vmnet.ko] Error 2 make[1]: Leaving directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only' make: *** [Makefile:21: vmnet-only] Error 2
I cannot build the modules for 6.9rc7
checked the vmmon-only/common/vmx86.c line 52 it has "#include <linux/timex.h>"
(base) ferran@z590i:~/Documents/PersonalPackages/vmware-host-modules$ git checkout workstation-17.5.1 branch 'workstation-17.5.1' set up to track 'origin/workstation-17.5.1'. Switched to a new branch 'workstation-17.5.1' (base) ferran@z590i:~/Documents/PersonalPackages/vmware-host-modules$ code vmmon-only/common/vmx86.c (base) ferran@z590i:~/Documents/PersonalPackages/vmware-host-modules$ make make -C vmmon-only make -C vmnet-only make[1]: Entering directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' make[1]: Entering directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only' Using kernel build system. Using kernel build system. make -C /lib/modules/6.9.0-rc7-tkg-custom/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' make -C /lib/modules/6.9.0-rc7-tkg-custom/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/linux/driver.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/linux/driverLog.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/linux/hostif.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/apic.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/comport.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/cpuid.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/crosspage.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/memtrack.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/moduleloop.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/phystrack.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/sharedAreaVmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/statVarsVmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/task.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/common/vmx86.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/bootstrap.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/monLoader.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/monLoaderVmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/bootstrap/vmmblob.o LD [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/vmmon.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/driver.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/hub.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/userif.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/netif.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/procfs.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/smac_compat.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/smac.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vnetEvent.o CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vnetUserListener.o MODPOST /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/Module.symvers CC [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/vmmon.mod.o LD [M] /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only/vmmon.ko make[2]: Leaving directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' make -C $PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= postbuild make[2]: Entering directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' make[2]: 'postbuild' is up to date. make[2]: Leaving directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' cp -f vmmon.ko ./../vmmon.o make[1]: Leaving directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmmon-only' In file included from ./include/linux/spinlock.h:305, from ./include/linux/sched.h:2138, from /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:25: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: note: each undeclared identifier is reported only once for each function it appears in 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion of macro ‘dev_lock_list’ 587 | dev_lock_list(); | ^~~~~~~~~~~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c: In function ‘VNetBridgeUp’: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/vmnetInt.h:44:39: error: ‘dev_base_lock’ undeclared (first use in this function); did you mean ‘device_lock’? 44 | #define dev_lock_list() read_lock(&dev_base_lock) | ^~~~~~~~~~~~~ ./include/linux/rwlock.h:56:48: note: in definition of macro ‘read_lock’ 56 | #define read_lock(lock) _raw_read_lock(lock) | ^~~~ /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.c:902:4: note: in expansion of macro ‘dev_lock_list’ 902 | dev_lock_list(); | ^~~~~~~~~~~~~ make[4]: *** [scripts/Makefile.build:244: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only/bridge.o] Error 1 make[3]: *** [/usr/src/linux-headers-6.9.0-rc7-tkg-custom/Makefile:1922: /home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only] Error 2 make[2]: *** [Makefile:240: __sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.9.0-rc7-tkg-custom' make[1]: *** [Makefile:117: vmnet.ko] Error 2 make[1]: Leaving directory '/home/ferran/Documents/PersonalPackages/vmware-host-modules/vmnet-only' make: *** [Makefile:21: vmnet-only] Error 2