Recently I haven't been able to make the modules. Tried troubleshooting this myself, but I can't figure it out. Any guidance? I'm guessing it's not an issue with this module but rather an incompatibility with the kernel, but I'm not sure how I can make this work.
make -C vmmon-only
make[1]: Entering directory '/home/user/vmware-host-modules-workstation-16.2.5/vmmon-only'
Using kernel build system.
make -C /lib/modules/6.5.0-17-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[2]: Entering directory '/usr/src/linux-headers-6.5.0-17-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/linux/driver.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/linux/driverLog.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/linux/hostif.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/apic.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/comport.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/cpuid.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/crosspage.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/memtrack.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/moduleloop.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/phystrack.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/sharedAreaVmmon.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/statVarsVmmon.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/task.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/common/vmx86.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/bootstrap/bootstrap.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/bootstrap/monLoader.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/bootstrap/monLoaderVmmon.o
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/bootstrap/vmmblob.o
LD [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/vmmon.o
MODPOST /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/Module.symvers
CC [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/vmmon.mod.o
LD [M] /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/vmmon.ko
make[5]: true: Permission denied
make[5]: *** [arch/x86/Makefile.postlink:38: /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/vmmon.ko] Error 127
make[4]: *** [scripts/Makefile.modfinal:59: /home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/vmmon.ko] Error 2
make[4]: *** Deleting file '/home/user/vmware-host-modules-workstation-16.2.5/vmmon-only/vmmon.ko'
make[3]: *** [/usr/src/linux-headers-6.5.0-17-generic/Makefile:1957: modules] Error 2
make[2]: *** [Makefile:234: __sub-make] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-6.5.0-17-generic'
make[1]: *** [Makefile:117: vmmon.ko] Error 2
make[1]: Leaving directory '/home/user/vmware-host-modules-workstation-16.2.5/vmmon-only'
make: *** [Makefile:21: vmmon-only] Error 2
Recently I haven't been able to make the modules. Tried troubleshooting this myself, but I can't figure it out. Any guidance? I'm guessing it's not an issue with this module but rather an incompatibility with the kernel, but I'm not sure how I can make this work.