Closed romabess closed 1 year ago
===sudo make
You only need to run make install
as root, there is no need to run make
as root.
*----------------------------------------------------------------------------- * Branch workstation-16.2.1 has been retired on 2022-04-04 and has not been * receiving any updates since. Please switch to latest 16.x version * available. * Latest kernel version this branch is intended to work with is 5.17. *-----------------------------------------------------------------------------
Did you read this part of the output?
===sudo make *-----------------------------------------------------------------------------
/home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.c: In function ‘isVAReadable’: /home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.c:2384:4: error: unknown type name ‘mm_segment_t’ 2384 | mm_segment_t old_fs; | ^
~~~ /home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.c:2386:13: error: implicit declaration of function ‘get_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration] 2386 | old_fs = get_fs(); | ^~| sget_fc /home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.c:2387:4: error: implicit declaration of function ‘set_fs’; did you mean ‘sget_fc’? [-Werror=implicit-function-declaration] 2387 | set_fs(KERNEL_DS); | ^~| sget_fc /home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.c:2387:11: error: ‘KERNEL_DS’ undeclared (first use in this function); did you mean ‘KERNEL_2_1’? 2387 | set_fs(KERNEL_DS); | ^~~~~ | KERNEL_2_1 /home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.c:2387:11: note: each undeclared identifier is reported only once for each function it appears in cc1: some warnings being treated as errors make[3]: [scripts/Makefile.build:252: /home/evil/Programs/vmware-host-modules/vmmon-only/linux/hostif.o] Error 1 make[2]: [Makefile:2019: /home/evil/Programs/vmware-host-modules/vmmon-only] Error 2 make[1]: [Makefile:117: vmmon.ko] Error 2 make[1]: Leaving directory '/home/evil/Programs/vmware-host-modules/vmmon-only' make: [Makefile:21: vmmon-only] Error 2Here is the proble