mkubecek / vmware-host-modules

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

can't run make #232

Closed RaitonGG closed 7 months ago

RaitonGG commented 7 months ago

/vmware-host-modules-w17.0.2$ make make -C vmmon-only make[1]: Entering directory '/home/raiton/Downloads/vmware-host-modules-w17.0.2/vmmon-only' Using kernel build system. make -C /lib/modules/6.5.0-13-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[2]: Entering directory '/usr/src/linux-headers-6.5.0-13-generic' warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 You are using: gcc-13 (Ubuntu 13.2.0-4ubuntu3) 13.2.0 MODPOST /home/raiton/Downloads/vmware-host-modules-w17.0.2/vmmon-only/Module.symvers ERROR: modpost: "pte_offset_map" [/home/raiton/Downloads/vmware-host-modules-w17.0.2/vmmon-only/vmmon.ko] undefined! make[4]: [scripts/Makefile.modpost:144: /home/raiton/Downloads/vmware-host-modules-w17.0.2/vmmon-only/Module.symvers] Error 1 make[3]: [/usr/src/linux-headers-6.5.0-13-generic/Makefile:1989: modpost] Error 2 make[2]: *** [Makefile:234: sub-make] Error 2 make[2]: Leaving directory '/usr/src/linux-headers-6.5.0-13-generic' make[1]: [Makefile:117: vmmon.ko] Error 2 make[1]: Leaving directory '/home/raiton/Downloads/vmware-host-modules-w17.0.2/vmmon-only' make: [Makefile:21: vmmon-only] Error 2

mkubecek commented 7 months ago

ERROR: modpost: "__pte_offset_map" [/home/raiton/Downloads/vmware-host-modules-w17.0.2/vmmon-only/vmmon.ko] undefined!

This is obviously not building current head of workstation-17.0.2 branch. Based on the name of your directory, you most likely have tag w17.0.2 (unpatched source from VMware) checked out rather than up-to-date workstation-17.0.2 branch. Please read the INSTALL file carefully and follow the instructions.

RaitonGG commented 7 months ago

Thank you..

I ran the branch one. when i open vmware and try to run a VM i get again a pop up saying "Could not open /dev/vmmon: No such file or directory. Please make sure that the kernel module `vmmon' is loaded."