Hello, I am trying to install VMware Pro (VMware-Workstation-Full-16.2.3-19376536.x86_64.bundle) on Parrot OS - Debian based (Release 5.0 (Electro Ara) 64-bit - Kernel Linux 5.16.0-12parrot1-amd64 x86_64).
But when it finishes installing, I open it and it shows me the following errors.
2022-04-07T12:29:43.032Z In(05) host-3123 Log for VMware Workstation pid=3123 version=16.2.3 build=build-19376536 option=Release 2022-04-07T12:29:43.032Z In(05) host-3123 The host is 64-bit. 2022-04-07T12:29:43.032Z In(05) host-3123 Host codepage=UTF-8 encoding=UTF-8 2022-04-07T12:29:43.032Z In(05) host-3123 Host is Linux 5.16.0-12parrot1-amd64 Parrot OS 5.0 (Electro Ara) Parrot OS 5.0 (Electro Ara) 5.0 2022-04-07T12:29:43.032Z In(05) host-3123 Host offset from UTC is +02:00. 2022-04-07T12:29:43.031Z In(05) host-3123 DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2022-04-07T12:29:43.031Z In(05) host-3123 [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory. 2022-04-07T12:29:43.031Z In(05) host-3123 PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values. 2022-04-07T12:29:43.031Z In(05) host-3123 DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory. 2022-04-07T12:29:43.031Z In(05) host-3123 [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory. 2022-04-07T12:29:43.031Z In(05) host-3123 PREF Optional preferences file not found at /root/.vmware/config. Using default values. 2022-04-07T12:29:43.031Z In(05) host-3123 DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory. 2022-04-07T12:29:43.031Z In(05) host-3123 [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory. 2022-04-07T12:29:43.031Z In(05) host-3123 PREF Optional preferences file not found at /root/.vmware/preferences. Using default values. 2022-04-07T12:29:43.124Z Wa(03) host-3123 Logging to /tmp/vmware-root/vmware-3123.log 2022-04-07T12:29:43.197Z In(05) host-3123 Obtaining info using the running kernel. 2022-04-07T12:29:43.197Z In(05) host-3123 Created new pathsHash. 2022-04-07T12:29:43.197Z In(05) host-3123 Setting header path for 5.16.0-12parrot1-amd64 to "/lib/modules/5.16.0-12parrot1-amd64/build/include". 2022-04-07T12:29:43.197Z In(05) host-3123 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.197Z In(05) host-3123 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-04-07T12:29:43.197Z In(05) host-3123 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-04-07T12:29:43.197Z In(05) host-3123 using /usr/bin/gcc-11 for preprocess check 2022-04-07T12:29:43.202Z In(05) host-3123 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.202Z In(05) host-3123 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-04-07T12:29:43.405Z In(05) host-3123 found symbol version file /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers 2022-04-07T12:29:43.405Z In(05) host-3123 Reading symbol versions from /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers. 2022-04-07T12:29:43.420Z In(05) host-3123 Read 23536 symbol versions 2022-04-07T12:29:43.420Z In(05) host-3123 Reading in info for the vmmon module. 2022-04-07T12:29:43.420Z In(05) host-3123 Reading in info for the vmnet module. 2022-04-07T12:29:43.420Z In(05) host-3123 Invoking modinfo on "vmmon". 2022-04-07T12:29:43.423Z In(05) host-3123 "/sbin/modinfo" exited with status 256. 2022-04-07T12:29:43.423Z In(05) host-3123 Invoking modinfo on "vmnet". 2022-04-07T12:29:43.425Z In(05) host-3123 "/sbin/modinfo" exited with status 256. 2022-04-07T12:29:43.435Z In(05) host-3123 to be installed: vmmon status: 0 2022-04-07T12:29:43.435Z In(05) host-3123 to be installed: vmnet status: 0 2022-04-07T12:29:43.442Z In(05) host-3123 Obtaining info using the running kernel. 2022-04-07T12:29:43.442Z In(05) host-3123 Setting header path for 5.16.0-12parrot1-amd64 to "/lib/modules/5.16.0-12parrot1-amd64/build/include". 2022-04-07T12:29:43.442Z In(05) host-3123 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.442Z In(05) host-3123 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-04-07T12:29:43.442Z In(05) host-3123 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-04-07T12:29:43.442Z In(05) host-3123 using /usr/bin/gcc-11 for preprocess check 2022-04-07T12:29:43.448Z In(05) host-3123 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.448Z In(05) host-3123 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-04-07T12:29:43.650Z In(05) host-3123 found symbol version file /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers 2022-04-07T12:29:43.650Z In(05) host-3123 Reading symbol versions from /lib/modules/5.16.0-12parrot1-amd64/build/Module.symvers. 2022-04-07T12:29:43.665Z In(05) host-3123 Read 23536 symbol versions 2022-04-07T12:29:43.666Z In(05) host-3123 Kernel header path retrieved from FileEntry: /lib/modules/5.16.0-12parrot1-amd64/build/include 2022-04-07T12:29:43.666Z In(05) host-3123 Update kernel header path to /lib/modules/5.16.0-12parrot1-amd64/build/include 2022-04-07T12:29:43.666Z In(05) host-3123 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.666Z In(05) host-3123 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-04-07T12:29:43.666Z In(05) host-3123 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-04-07T12:29:43.666Z In(05) host-3123 using /usr/bin/gcc-11 for preprocess check 2022-04-07T12:29:43.672Z In(05) host-3123 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.672Z In(05) host-3123 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-04-07T12:29:43.672Z In(05) host-3123 Found compiler at "/usr/bin/gcc" 2022-04-07T12:29:43.674Z In(05) host-3123 Got gcc version "10". 2022-04-07T12:29:43.674Z In(05) host-3123 GCC major version 10 does not match Kernel GCC major version 11. 2022-04-07T12:29:43.674Z In(05) host-3123 Attempting to use a compiler at location "/usr/bin/gcc-11". 2022-04-07T12:29:43.675Z In(05) host-3123 Got gcc version "11". 2022-04-07T12:29:43.675Z In(05) host-3123 The GCC version matches the kernel GCC minor version like a glove. 2022-04-07T12:29:43.676Z In(05) host-3123 Got gcc version "11". 2022-04-07T12:29:43.676Z In(05) host-3123 The GCC version matches the kernel GCC minor version like a glove. 2022-04-07T12:29:43.677Z In(05) host-3123 Trying to find a suitable PBM set for kernel "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.677Z In(05) host-3123 No matching PBM set was found for kernel "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.677Z In(05) host-3123 The GCC version matches the kernel GCC minor version like a glove. 2022-04-07T12:29:43.677Z In(05) host-3123 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.677Z In(05) host-3123 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-04-07T12:29:43.677Z In(05) host-3123 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-04-07T12:29:43.677Z In(05) host-3123 using /usr/bin/gcc-11 for preprocess check 2022-04-07T12:29:43.683Z In(05) host-3123 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-04-07T12:29:43.683Z In(05) host-3123 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-04-07T12:29:47.561Z In(05) host-3123 The GCC version matches the kernel GCC minor version like a glove. 2022-04-07T12:29:47.561Z In(05) host-3123 Validating path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for kernel release "5.16.0-12parrot1-amd64". 2022-04-07T12:29:47.561Z In(05) host-3123 Failed to find /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h 2022-04-07T12:29:47.561Z In(05) host-3123 /lib/modules/5.16.0-12parrot1-amd64/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead. 2022-04-07T12:29:47.561Z In(05) host-3123 using /usr/bin/gcc-11 for preprocess check 2022-04-07T12:29:47.580Z In(05) host-3123 Preprocessed UTS_RELEASE, got value "5.16.0-12parrot1-amd64". 2022-04-07T12:29:47.580Z In(05) host-3123 The header path "/lib/modules/5.16.0-12parrot1-amd64/build/include" for the kernel "5.16.0-12parrot1-amd64" is valid. Whoohoo! 2022-04-07T12:29:47.581Z In(05) host-3123 Using temp dir "/tmp". 2022-04-07T12:29:49.726Z In(05) host-3123 Stopping VMware services: 2022-04-07T12:29:49.726Z In(05) host-3123 VMware Authentication Dae done 2022-04-07T12:29:49.726Z In(05) host-3123 Virtual machine monitor done 2022-04-07T12:29:49.726Z In(05) host-3123 make: Entering directory '/tmp/modconfig-0WZiFW/vmmon-only' 2022-04-07T12:29:49.726Z In(05) host-3123 /usr/bin/make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2022-04-07T12:29:49.726Z In(05) host-3123 MODULEBUILDDIR= modules 2022-04-07T12:29:49.726Z In(05) host-3123 make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmmon-only/linux/driver.o 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmmon-only/linux/driverLog.o 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmmon-only/linux/hostif.o 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmmon-only/common/apic.o 2022-04-07T12:29:49.726Z In(05) host-3123 make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-04-07T12:29:49.726Z In(05) host-3123 make: Leaving directory '/tmp/modconfig-0WZiFW/vmmon-only' 2022-04-07T12:29:49.726Z In(05) host-3123 make: Entering directory '/tmp/modconfig-0WZiFW/vmnet-only' 2022-04-07T12:29:49.726Z In(05) host-3123 /usr/bin/make -C /lib/modules/5.16.0-12parrot1-amd64/build/include/.. M=$PWD SRCROOT=$PWD/. \ 2022-04-07T12:29:49.726Z In(05) host-3123 MODULEBUILDDIR= modules 2022-04-07T12:29:49.726Z In(05) host-3123 make[1]: Entering directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmnet-only/driver.o 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmnet-only/hub.o 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmnet-only/userif.o 2022-04-07T12:29:49.726Z In(05) host-3123 CC [M] /tmp/modconfig-0WZiFW/vmnet-only/netif.o 2022-04-07T12:29:49.726Z In(05) host-3123 make[1]: Leaving directory '/usr/src/linux-headers-5.16.0-12parrot1-amd64' 2022-04-07T12:29:49.726Z In(05) host-3123 make: Leaving directory '/tmp/modconfig-0WZiFW/vmnet-only' 2022-04-07T12:29:49.726Z In(05) host-3123 [AppLoader] GLib does not have GSettings support. 2022-04-07T12:29:49.726Z In(05) host-3123 Using kernel build system. 2022-04-07T12:29:49.726Z In(05) host-3123 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-04-07T12:29:49.726Z In(05) host-3123 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-04-07T12:29:49.726Z In(05) host-3123 warning: the compiler differs from the one used to build the kernel 2022-04-07T12:29:49.726Z In(05) host-3123 The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 2022-04-07T12:29:49.726Z In(05) host-3123 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 2022-04-07T12:29:49.726Z In(05) host-3123 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmmon-only/common/apic.c:19: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 54 | # include <stddef.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmmon-only/common/apic.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** Waiting for unfinished jobs.... 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmmon-only/linux/driverLog.h:33, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmmon-only/linux/driverLog.c:31: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmmon-only/./include/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 43 | #include <stdarg.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmmon-only/linux/driverLog.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmmon-only/linux/driverLog.h:33, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmmon-only/linux/driver.c:46: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmmon-only/./include/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 43 | #include <stdarg.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmmon-only/linux/driver.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmmon-only/./include/cpu_types.h:29, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmmon-only/./include/modulecall.h:33, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmmon-only/linux/hostif.c:58: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmmon-only/./include/vm_basic_defs.h:54:12: fatal error: stddef.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 54 | # include <stddef.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmmon-only/linux/hostif.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 make[1]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /tmp/modconfig-0WZiFW/vmmon-only] Error 2 2022-04-07T12:29:49.726Z In(05) host-3123 make: *** [Makefile:117: vmmon.ko] Error 2 2022-04-07T12:29:49.726Z In(05) host-3123 Using kernel build system. 2022-04-07T12:29:49.726Z In(05) host-3123 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-04-07T12:29:49.726Z In(05) host-3123 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-04-07T12:29:49.726Z In(05) host-3123 warning: the compiler differs from the one used to build the kernel 2022-04-07T12:29:49.726Z In(05) host-3123 The kernel was built by: gcc-11 (Parrot 11.2.0-16parrot1) 11.2.0 2022-04-07T12:29:49.726Z In(05) host-3123 You are using: gcc-11 (Parrot 11.2.0-18really16parrot1) 11.2.0 2022-04-07T12:29:49.726Z In(05) host-3123 /bin/sh: 1: /usr/src/linux-headers-5.16.0-12parrot1-common/scripts/pahole-flags.sh: not found 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmnet-only/vm_atomic.h:49, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnet.h:28, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnetInt.h:24, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/userif.c:46: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmnet-only/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 43 | #include <stdarg.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmnet-only/vm_atomic.h:49, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnet.h:28, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnetInt.h:24, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/netif.c:43: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmnet-only/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 43 | #include <stdarg.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmnet-only/vm_atomic.h:49, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnet.h:28, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnetInt.h:24, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/driver.c:48: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmnet-only/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 43 | #include <stdarg.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 In file included from /tmp/modconfig-0WZiFW/vmnet-only/vm_atomic.h:49, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnet.h:28, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/vnetInt.h:24, 2022-04-07T12:29:49.726Z In(05) host-3123 from /tmp/modconfig-0WZiFW/vmnet-only/hub.c:43: 2022-04-07T12:29:49.726Z In(05) host-3123 /tmp/modconfig-0WZiFW/vmnet-only/vm_assert.h:43:10: fatal error: stdarg.h: No such file or directory 2022-04-07T12:29:49.726Z In(05) host-3123 43 | #include <stdarg.h> 2022-04-07T12:29:49.726Z In(05) host-3123 | ^~~~~~~~~~ 2022-04-07T12:29:49.726Z In(05) host-3123 compilation terminated. 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmnet-only/userif.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** Waiting for unfinished jobs.... 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmnet-only/driver.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmnet-only/netif.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 make[2]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/scripts/Makefile.build:292: /tmp/modconfig-0WZiFW/vmnet-only/hub.o] Error 1 2022-04-07T12:29:49.726Z In(05) host-3123 make[1]: *** [/usr/src/linux-headers-5.16.0-12parrot1-common/Makefile:1870: /tmp/modconfig-0WZiFW/vmnet-only] Error 2 2022-04-07T12:29:49.726Z In(05) host-3123 make: *** [Makefile:117: vmnet.ko] Error 2 2022-04-07T12:29:49.726Z In(05) host-3123 Unable to install all modules. See log for details. 2022-04-07T12:29:49.726Z In(05) host-3123
I tracked down my issue, which was failure of the build to find standard includes. I added "-I$(srctree)/include/linux \" to line 522 of the /usr/src/linux-headers-5.16.0-kali6-common/makefile. Save it and rerun the VMWARE install.
That's wrong, kernel code is not supposed to include userspace header files. The correct solution is to fix the include directives to include <linux/stdarg.h> and <linux/stddef.h> rather than <stdarg.h> and <stddef.h>