0 Members and 2 Guests are viewing this topic.
sudo apt-get install gcc build-essentialwget https://github.com/mkubecek/vmware-host-modules/archive/workstation-15.0.4.tar.gztar -xzf workstation-15.0.4.tar.gzcd vmware-host-modules-workstation-15.0.4makesudo make install
sudo vmware-modconfig --console --install-all[AppLoader] GLib does not have GSettings support.Stopping VMware services: VMware Authentication Daemon done VM communication interface socket family done Virtual machine communication interface done Virtual machine monitor done Blocking file system donemake: Entering directory '/tmp/modconfig-8q6y8Q/vmmon-only'Using kernel build system./usr/bin/make -C /lib/modules/5.0.0/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modulesmake[1]: Entering directory '/usr/src/linux-headers-5.0.0'Makefile:189: ================= WARNING ================Makefile:190: 'SUBDIRS' will be removed after Linux 5.3Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' insteadMakefile:192: ========================================== CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/linux/driverLog.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/memtrack.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/apic.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/cpuid.o CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/task.oIn file included from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.c:43:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:130:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x140 ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt.h:10, from ./arch/x86/include/asm/irqflags.h:68, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.c:31:./arch/x86/include/asm/msr-index.h:661:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x00000140 ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.c:43:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:466:0: warning: "MSR_K7_HWCR_SMMLOCK" redefined #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt.h:10, from ./arch/x86/include/asm/irqflags.h:68, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.c:31:./arch/x86/include/asm/msr-index.h:470:0: note: this is the location of the previous definition #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86_64.h:40, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm.h:46, from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.c:46:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined #define CR3_PCID_MASK 0xFFF ^In file included from ./arch/x86/include/asm/irqflags.h:5:0, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.c:31:./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition #define CR3_PCID_MASK 0xFFFull ^ CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/comport.oIn file included from /tmp/modconfig-8q6y8Q/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.h:32, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:47:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:130:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x140 ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:25:./arch/x86/include/asm/msr-index.h:661:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x00000140 ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.h:32, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:47:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:466:0: warning: "MSR_K7_HWCR_SMMLOCK" redefined #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:25:./arch/x86/include/asm/msr-index.h:470:0: note: this is the location of the previous definition #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86_64.h:40, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm.h:46, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:49:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined #define CR3_PCID_MASK 0xFFF ^In file included from ./arch/x86/include/asm/processor.h:5:0, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./include/linux/wait.h:9, from ./include/linux/wait_bit.h:8, from ./include/linux/fs.h:6, from ./include/linux/highmem.h:5, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:25:./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition #define CR3_PCID_MASK 0xFFFull ^ CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/common/phystrack.oIn file included from ./arch/x86/include/asm/processor.h:5:0, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-8q6y8Q/vmmon-only/common/task.c:70:./arch/x86/include/asm/processor-flags.h:39:0: warning: "CR3_PCID_MASK" redefined #define CR3_PCID_MASK 0xFFFull ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86_64.h:40, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm.h:46, from /tmp/modconfig-8q6y8Q/vmmon-only/common/task.c:53:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86_basic_defs.h:78:0: note: this is the location of the previous definition #define CR3_PCID_MASK 0xFFF ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-8q6y8Q/vmmon-only/common/task.c:70:./arch/x86/include/asm/msr-index.h:470:0: warning: "MSR_K7_HWCR_SMMLOCK" redefined #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/common/task.c:51:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:466:0: note: this is the location of the previous definition #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt_types.h:46, from ./arch/x86/include/asm/ptrace.h:94, from ./arch/x86/include/asm/math_emu.h:5, from ./arch/x86/include/asm/processor.h:12, from ./arch/x86/include/asm/cpufeature.h:5, from ./arch/x86/include/asm/thread_info.h:53, from ./include/linux/thread_info.h:38, from ./arch/x86/include/asm/preempt.h:7, from ./include/linux/preempt.h:78, from ./include/linux/spinlock.h:51, from ./arch/x86/include/asm/mmu.h:5, from ./arch/x86/include/asm/desc.h:7, from /tmp/modconfig-8q6y8Q/vmmon-only/common/task.c:70:./arch/x86/include/asm/msr-index.h:661:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x00000140 ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/common/task.c:51:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:130:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x140 ^/tmp/modconfig-8q6y8Q/vmmon-only/linux/driver.c:986:1: warning: always_inline function might not be inlinable [-Wattributes] LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm.h:43:0, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:60:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:130:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x140 ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt.h:10, from ./arch/x86/include/asm/irqflags.h:68, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:32:./arch/x86/include/asm/msr-index.h:661:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x00000140 ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm.h:43:0, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:60:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:466:0: warning: "MSR_K7_HWCR_SMMLOCK" redefined #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt.h:10, from ./arch/x86/include/asm/irqflags.h:68, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:32:./arch/x86/include/asm/msr-index.h:470:0: note: this is the location of the previous definition #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86.h:41:0, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm_x86_64.h:40, from /tmp/modconfig-8q6y8Q/vmmon-only/./include/vm_asm.h:46, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:60:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined #define CR3_PCID_MASK 0xFFF ^In file included from ./arch/x86/include/asm/irqflags.h:5:0, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from ./include/linux/binfmts.h:5, from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:32:./arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition #define CR3_PCID_MASK 0xFFFull ^ CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/vmcore/moduleloop.o/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:1641:25: error: ‘totalram_pages’ redeclared as different kind of symbol extern unsigned long totalram_pages; ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:42:0:./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here static inline unsigned long totalram_pages(void) ^/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:1787:4: error: implicit declaration of function ‘do_gettimeofday’ [-Werror=implicit-function-declaration] do_gettimeofday(&tv); ^/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:3408:40: error: macro "access_ok" passed 3 arguments, but takes just 2 if (!access_ok(VERIFY_WRITE, p, size)) { ^/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:3408:9: error: ‘access_ok’ undeclared (first use in this function) if (!access_ok(VERIFY_WRITE, p, size)) { ^/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in CC [M] /tmp/modconfig-8q6y8Q/vmmon-only/bootstrap/monLoaderVmmon.occ1: some warnings being treated as errorsscripts/Makefile.build:276: recipe for target '/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.o' failedmake[2]: *** [/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.o] Error 1make[2]: *** Waiting for unfinished jobs....In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/vmcore/moduleloop.c:35:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:130:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined #define MSR_MISC_FEATURES_ENABLES 0x140 ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt.h:10, from ./arch/x86/include/asm/irqflags.h:68, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-8q6y8Q/vmmon-only/vmcore/moduleloop.c:31:./arch/x86/include/asm/msr-index.h:661:0: note: this is the location of the previous definition #define MSR_MISC_FEATURES_ENABLES 0x00000140 ^In file included from /tmp/modconfig-8q6y8Q/vmmon-only/./common/vmx86.h:32:0, from /tmp/modconfig-8q6y8Q/vmmon-only/vmcore/moduleloop.c:35:/tmp/modconfig-8q6y8Q/vmmon-only/./include/x86msr.h:466:0: warning: "MSR_K7_HWCR_SMMLOCK" redefined #define MSR_K7_HWCR_SMMLOCK 0x00000001ULL // Lock SMM environment ^In file included from ./arch/x86/include/asm/nospec-branch.h:11:0, from ./arch/x86/include/asm/paravirt.h:10, from ./arch/x86/include/asm/irqflags.h:68, from ./include/linux/irqflags.h:16, from ./include/linux/rcupdate.h:39, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from /tmp/modconfig-8q6y8Q/vmmon-only/vmcore/moduleloop.c:31:./arch/x86/include/asm/msr-index.h:470:0: note: this is the location of the previous definition #define MSR_K7_HWCR_SMMLOCK BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT) ^Makefile:1553: recipe for target '_module_/tmp/modconfig-8q6y8Q/vmmon-only' failedmake[1]: *** [_module_/tmp/modconfig-8q6y8Q/vmmon-only] Error 2make[1]: Leaving directory '/usr/src/linux-headers-5.0.0'Makefile:110: recipe for target 'vmmon.ko' failedmake: *** [vmmon.ko] Error 2make: Leaving directory '/tmp/modconfig-8q6y8Q/vmmon-only'make: Entering directory '/tmp/modconfig-8q6y8Q/vmnet-only'Using kernel build system./usr/bin/make -C /lib/modules/5.0.0/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modulesmake[1]: Entering directory '/usr/src/linux-headers-5.0.0'Makefile:189: ================= WARNING ================Makefile:190: 'SUBDIRS' will be removed after Linux 5.3Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' insteadMakefile:192: ========================================== CC [M] /tmp/modconfig-8q6y8Q/vmnet-only/driver.o CC [M] /tmp/modconfig-8q6y8Q/vmnet-only/hub.o CC [M] /tmp/modconfig-8q6y8Q/vmnet-only/userif.o CC [M] /tmp/modconfig-8q6y8Q/vmnet-only/netif.o CC [M] /tmp/modconfig-8q6y8Q/vmnet-only/procfs.o CC [M] /tmp/modconfig-8q6y8Q/vmnet-only/bridge.oIn file included from ./include/linux/pci.h:37:0, from /tmp/modconfig-8q6y8Q/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-8q6y8Q/vmnet-only/netif.c:43:./include/linux/pci_ids.h:2278:0: warning: "PCI_VENDOR_ID_VMWARE" redefined #define PCI_VENDOR_ID_VMWARE 0x15ad ^In file included from /tmp/modconfig-8q6y8Q/vmnet-only/net.h:38:0, from /tmp/modconfig-8q6y8Q/vmnet-only/vnetInt.h:26, from /tmp/modconfig-8q6y8Q/vmnet-only/netif.c:42:/tmp/modconfig-8q6y8Q/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition #define PCI_VENDOR_ID_VMWARE 0x15AD ^In file included from ./include/linux/pci.h:37:0, from /tmp/modconfig-8q6y8Q/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-8q6y8Q/vmnet-only/netif.c:43:./include/linux/pci_ids.h:2279:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 ^In file included from /tmp/modconfig-8q6y8Q/vmnet-only/net.h:38:0, from /tmp/modconfig-8q6y8Q/vmnet-only/vnetInt.h:26, from /tmp/modconfig-8q6y8Q/vmnet-only/netif.c:42:/tmp/modconfig-8q6y8Q/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 ^/tmp/modconfig-8q6y8Q/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:/tmp/modconfig-8q6y8Q/vmnet-only/userif.c:145:52: error: macro "access_ok" passed 3 arguments, but takes just 2 if (!access_ok(VERIFY_WRITE, (void *)uAddr, size) || ^/tmp/modconfig-8q6y8Q/vmnet-only/userif.c:145:9: error: ‘access_ok’ undeclared (first use in this function) if (!access_ok(VERIFY_WRITE, (void *)uAddr, size) || ^/tmp/modconfig-8q6y8Q/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears inIn file included from /tmp/modconfig-8q6y8Q/vmnet-only/net.h:38:0, from /tmp/modconfig-8q6y8Q/vmnet-only/vnetInt.h:26, from /tmp/modconfig-8q6y8Q/vmnet-only/bridge.c:53:/tmp/modconfig-8q6y8Q/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined #define PCI_VENDOR_ID_VMWARE 0x15AD ^In file included from ./include/linux/pci.h:37:0, from /tmp/modconfig-8q6y8Q/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-8q6y8Q/vmnet-only/bridge.c:52:./include/linux/pci_ids.h:2278:0: note: this is the location of the previous definition #define PCI_VENDOR_ID_VMWARE 0x15ad ^In file included from /tmp/modconfig-8q6y8Q/vmnet-only/net.h:38:0, from /tmp/modconfig-8q6y8Q/vmnet-only/vnetInt.h:26, from /tmp/modconfig-8q6y8Q/vmnet-only/bridge.c:53:/tmp/modconfig-8q6y8Q/vmnet-only/vm_device_version.h:73:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0 ^In file included from ./include/linux/pci.h:37:0, from /tmp/modconfig-8q6y8Q/vmnet-only/compat_netdevice.h:27, from /tmp/modconfig-8q6y8Q/vmnet-only/bridge.c:52:./include/linux/pci_ids.h:2279:0: note: this is the location of the previous definition #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 ^scripts/Makefile.build:276: recipe for target '/tmp/modconfig-8q6y8Q/vmnet-only/userif.o' failedmake[2]: *** [/tmp/modconfig-8q6y8Q/vmnet-only/userif.o] Error 1make[2]: *** Waiting for unfinished jobs....Makefile:1553: recipe for target '_module_/tmp/modconfig-8q6y8Q/vmnet-only' failedmake[1]: *** [_module_/tmp/modconfig-8q6y8Q/vmnet-only] Error 2make[1]: Leaving directory '/usr/src/linux-headers-5.0.0'Makefile:110: recipe for target 'vmnet.ko' failedmake: *** [vmnet.ko] Error 2make: Leaving directory '/tmp/modconfig-8q6y8Q/vmnet-only'Unable to install all modules. See log for details. james ~ sudo apt-get install build-essential linux-headers-$(uname -r) open-vm-dkmsReading package lists... DoneBuilding dependency tree Reading state information... DoneE: Unable to locate package linux-headers-5.0.0E: Couldn't find any package by glob 'linux-headers-5.0.0'E: Couldn't find any package by regex 'linux-headers-5.0.0'E: Unable to locate package open-vm-dkms james ~
Can you run all your hardware on the stock 4.15 kernels?Sent from my Mobile phone using Tapatalk
2019-04-24T15:25:00.502-04:00| host-18123| I125: Log for VMware Workstation pid=18123 version=15.0.4 build=build-12990004 option=Release2019-04-24T15:25:00.502-04:00| host-18123| I125: The process is 64-bit.2019-04-24T15:25:00.502-04:00| host-18123| I125: Host codepage=UTF-8 encoding=UTF-82019-04-24T15:25:00.502-04:00| host-18123| I125: Host is Linux 5.0.0 Linux Lite 4.42019-04-24T15:25:00.502-04:00| host-18123| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.2019-04-24T15:25:00.502-04:00| host-18123| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.2019-04-24T15:25:00.502-04:00| host-18123| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.2019-04-24T15:25:00.502-04:00| host-18123| I125: DictionaryLoad: Cannot open file "/home/james/.vmware/config": No such file or directory.2019-04-24T15:25:00.502-04:00| host-18123| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/james/.vmware/config": No such file or directory.2019-04-24T15:25:00.502-04:00| host-18123| I125: PREF Optional preferences file not found at /home/james/.vmware/config. Using default values.2019-04-24T15:25:00.502-04:00| host-18123| I125: DictionaryLoad: Cannot open file "/home/james/.vmware/preferences": No such file or directory.2019-04-24T15:25:00.502-04:00| host-18123| I125: [msg.dictionary.load.openFailed] Cannot open file "/home/james/.vmware/preferences": No such file or directory.2019-04-24T15:25:00.502-04:00| host-18123| I125: PREF Optional preferences file not found at /home/james/.vmware/preferences. Using default values.2019-04-24T15:25:00.524-04:00| host-18123| W115: Logging to /tmp/vmware-root/vmware-18123.log2019-04-24T15:25:00.538-04:00| host-18123| I125: Obtaining info using the running kernel.2019-04-24T15:25:00.538-04:00| host-18123| I125: Created new pathsHash.2019-04-24T15:25:00.538-04:00| host-18123| I125: Setting header path for 5.0.0 to "/lib/modules/5.0.0/build/include".2019-04-24T15:25:00.538-04:00| host-18123| I125: Validating path "/lib/modules/5.0.0/build/include" for kernel release "5.0.0".2019-04-24T15:25:00.538-04:00| host-18123| I125: Failed to find /lib/modules/5.0.0/build/include/linux/version.h2019-04-24T15:25:00.538-04:00| host-18123| I125: /lib/modules/5.0.0/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.2019-04-24T15:25:00.538-04:00| host-18123| I125: using /usr/bin/gcc-5 for preprocess check2019-04-24T15:25:00.541-04:00| host-18123| I125: Preprocessed UTS_RELEASE, got value "5.0.0".2019-04-24T15:25:00.541-04:00| host-18123| I125: The header path "/lib/modules/5.0.0/build/include" for the kernel "5.0.0" is valid. Whoohoo!2019-04-24T15:25:00.636-04:00| host-18123| I125: found symbol version file /lib/modules/5.0.0/build/Module.symvers2019-04-24T15:25:00.636-04:00| host-18123| I125: Reading symbol versions from /lib/modules/5.0.0/build/Module.symvers.2019-04-24T15:25:00.646-04:00| host-18123| I125: Read 21228 symbol versions2019-04-24T15:25:00.646-04:00| host-18123| I125: Reading in info for the vmmon module.2019-04-24T15:25:00.646-04:00| host-18123| I125: Reading in info for the vmnet module.2019-04-24T15:25:00.646-04:00| host-18123| I125: Reading in info for the vmci module.2019-04-24T15:25:00.646-04:00| host-18123| I125: Reading in info for the vsock module.2019-04-24T15:25:00.646-04:00| host-18123| I125: Setting vsock to depend on vmci.2019-04-24T15:25:00.646-04:00| host-18123| I125: Invoking modinfo on "vmmon".2019-04-24T15:25:00.648-04:00| host-18123| I125: "/sbin/modinfo" exited with status 256.2019-04-24T15:25:00.648-04:00| host-18123| I125: Invoking modinfo on "vmnet".2019-04-24T15:25:00.648-04:00| host-18123| I125: "/sbin/modinfo" exited with status 256.2019-04-24T15:25:00.648-04:00| host-18123| I125: Invoking modinfo on "vmci".2019-04-24T15:25:00.649-04:00| host-18123| I125: "/sbin/modinfo" exited with status 256.2019-04-24T15:25:00.649-04:00| host-18123| I125: Invoking modinfo on "vsock".2019-04-24T15:25:00.650-04:00| host-18123| I125: "/sbin/modinfo" exited with status 0.2019-04-24T15:25:00.657-04:00| host-18123| I125: to be installed: vmmon status: 02019-04-24T15:25:00.657-04:00| host-18123| I125: to be installed: vmnet status: 02019-04-24T15:25:00.661-04:00| host-18123| I125: Obtaining info using the running kernel.2019-04-24T15:25:00.661-04:00| host-18123| I125: Setting header path for 5.0.0 to "/lib/modules/5.0.0/build/include".2019-04-24T15:25:00.661-04:00| host-18123| I125: Validating path "/lib/modules/5.0.0/build/include" for kernel release "5.0.0".2019-04-24T15:25:00.661-04:00| host-18123| I125: Failed to find /lib/modules/5.0.0/build/include/linux/version.h2019-04-24T15:25:00.661-04:00| host-18123| I125: /lib/modules/5.0.0/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.2019-04-24T15:25:00.661-04:00| host-18123| I125: using /usr/bin/gcc-5 for preprocess check2019-04-24T15:25:00.664-04:00| host-18123| I125: Preprocessed UTS_RELEASE, got value "5.0.0".2019-04-24T15:25:00.664-04:00| host-18123| I125: The header path "/lib/modules/5.0.0/build/include" for the kernel "5.0.0" is valid. Whoohoo!2019-04-24T15:25:00.757-04:00| host-18123| I125: found symbol version file /lib/modules/5.0.0/build/Module.symvers2019-04-24T15:25:00.757-04:00| host-18123| I125: Reading symbol versions from /lib/modules/5.0.0/build/Module.symvers.2019-04-24T15:25:00.767-04:00| host-18123| I125: Read 21228 symbol versions2019-04-24T15:25:00.768-04:00| host-18123| I125: Kernel header path retrieved from FileEntry: /lib/modules/5.0.0/build/include2019-04-24T15:25:00.768-04:00| host-18123| I125: Update kernel header path to /lib/modules/5.0.0/build/include2019-04-24T15:25:00.768-04:00| host-18123| I125: Validating path "/lib/modules/5.0.0/build/include" for kernel release "5.0.0".2019-04-24T15:25:00.768-04:00| host-18123| I125: Failed to find /lib/modules/5.0.0/build/include/linux/version.h2019-04-24T15:25:00.768-04:00| host-18123| I125: /lib/modules/5.0.0/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.2019-04-24T15:25:00.768-04:00| host-18123| I125: using /usr/bin/gcc-5 for preprocess check2019-04-24T15:25:00.771-04:00| host-18123| I125: Preprocessed UTS_RELEASE, got value "5.0.0".2019-04-24T15:25:00.771-04:00| host-18123| I125: The header path "/lib/modules/5.0.0/build/include" for the kernel "5.0.0" is valid. Whoohoo!2019-04-24T15:25:00.772-04:00| host-18123| I125: Found compiler at "/usr/bin/gcc"2019-04-24T15:25:00.773-04:00| host-18123| I125: Got gcc version "7".2019-04-24T15:25:00.773-04:00| host-18123| I125: GCC major version 7 does not match Kernel GCC major version 5.2019-04-24T15:25:00.773-04:00| host-18123| I125: Attempting to use a compiler at location "/usr/bin/gcc-5".2019-04-24T15:25:00.774-04:00| host-18123| I125: Got gcc version "5.5.0".2019-04-24T15:25:00.774-04:00| host-18123| I125: GCC minor version 5 does not match Kernel GCC minor version 5. But that is ok.2019-04-24T15:25:00.776-04:00| host-18123| I125: Got gcc version "5.5.0".2019-04-24T15:25:00.776-04:00| host-18123| I125: GCC minor version 5 does not match Kernel GCC minor version 5. But that is ok.2019-04-24T15:25:00.777-04:00| host-18123| I125: Trying to find a suitable PBM set for kernel "5.0.0".2019-04-24T15:25:00.777-04:00| host-18123| I125: No matching PBM set was found for kernel "5.0.0".2019-04-24T15:25:00.777-04:00| host-18123| I125: GCC minor version 5 does not match Kernel GCC minor version 5. But that is ok.2019-04-24T15:25:00.777-04:00| host-18123| I125: Validating path "/lib/modules/5.0.0/build/include" for kernel release "5.0.0".2019-04-24T15:25:00.777-04:00| host-18123| I125: Failed to find /lib/modules/5.0.0/build/include/linux/version.h2019-04-24T15:25:00.777-04:00| host-18123| I125: /lib/modules/5.0.0/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.2019-04-24T15:25:00.777-04:00| host-18123| I125: using /usr/bin/gcc-5 for preprocess check2019-04-24T15:25:00.780-04:00| host-18123| I125: Preprocessed UTS_RELEASE, got value "5.0.0".2019-04-24T15:25:00.780-04:00| host-18123| I125: The header path "/lib/modules/5.0.0/build/include" for the kernel "5.0.0" is valid. Whoohoo!2019-04-24T15:25:00.780-04:00| host-18123| I125: GCC minor version 5 does not match Kernel GCC minor version 5. But that is ok.2019-04-24T15:25:00.780-04:00| host-18123| I125: Validating path "/lib/modules/5.0.0/build/include" for kernel release "5.0.0".2019-04-24T15:25:00.780-04:00| host-18123| I125: Failed to find /lib/modules/5.0.0/build/include/linux/version.h2019-04-24T15:25:00.780-04:00| host-18123| I125: /lib/modules/5.0.0/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.2019-04-24T15:25:00.780-04:00| host-18123| I125: using /usr/bin/gcc-5 for preprocess check2019-04-24T15:25:00.783-04:00| host-18123| I125: Preprocessed UTS_RELEASE, got value "5.0.0".2019-04-24T15:25:00.783-04:00| host-18123| I125: The header path "/lib/modules/5.0.0/build/include" for the kernel "5.0.0" is valid. Whoohoo!2019-04-24T15:25:00.783-04:00| host-18123| I125: Using temp dir "/tmp".2019-04-24T15:25:00.784-04:00| host-18123| I125: Obtaining info using the running kernel.2019-04-24T15:25:00.784-04:00| host-18123| I125: Setting header path for 5.0.0 to "/lib/modules/5.0.0/build/include".2019-04-24T15:25:00.784-04:00| host-18123| I125: Validating path "/lib/modules/5.0.0/build/include" for kernel release "5.0.0".2019-04-24T15:25:00.784-04:00| host-18123| I125: Failed to find /lib/modules/5.0.0/build/include/linux/version.h2019-04-24T15:25:00.784-04:00| host-18123| I125: /lib/modules/5.0.0/build/include/linux/version.h not found, looking for generated/uapi/linux/version.h instead.2019-04-24T15:25:00.784-04:00| host-18123| I125: using /usr/bin/gcc-5 for preprocess check2019-04-24T15:25:00.787-04:00| host-18123| I125: Preprocessed UTS_RELEASE, got value "5.0.0".2019-04-24T15:25:00.787-04:00| host-18123| I125: The header path "/lib/modules/5.0.0/build/include" for the kernel "5.0.0" is valid. Whoohoo!2019-04-24T15:25:00.879-04:00| host-18123| I125: found symbol version file /lib/modules/5.0.0/build/Module.symvers2019-04-24T15:25:00.880-04:00| host-18123| I125: Reading symbol versions from /lib/modules/5.0.0/build/Module.symvers.2019-04-24T15:25:00.889-04:00| host-18123| I125: Read 21228 symbol versions2019-04-24T15:25:00.889-04:00| host-18123| I125: Invoking modinfo on "vmmon".2019-04-24T15:25:00.891-04:00| host-18123| I125: "/sbin/modinfo" exited with status 256.2019-04-24T15:25:00.891-04:00| host-18123| I125: Invoking modinfo on "vmnet".2019-04-24T15:25:00.892-04:00| host-18123| I125: "/sbin/modinfo" exited with status 256.2019-04-24T15:25:00.980-04:00| host-18123| I125: Setting destination path for vmmon to "/lib/modules/5.0.0/misc/vmmon.ko".2019-04-24T15:25:00.980-04:00| host-18123| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".2019-04-24T15:25:00.983-04:00| host-18123| I125: Successfully extracted the vmmon source.2019-04-24T15:25:00.983-04:00| host-18123| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-BA3zNu/vmmon-only auto-build HEADER_DIR=/lib/modules/5.0.0/build/include CC=/usr/bin/gcc-5 IS_GCC_3=no"2019-04-24T15:25:02.324-04:00| host-18123| W115: Failed to build vmmon. Failed to execute the build command.2019-04-24T15:25:02.325-04:00| host-18123| I125: Setting destination path for vmnet to "/lib/modules/5.0.0/misc/vmnet.ko".2019-04-24T15:25:02.325-04:00| host-18123| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".2019-04-24T15:25:02.327-04:00| host-18123| I125: Successfully extracted the vmnet source.2019-04-24T15:25:02.327-04:00| host-18123| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-BA3zNu/vmnet-only auto-build HEADER_DIR=/lib/modules/5.0.0/build/include CC=/usr/bin/gcc-5 IS_GCC_3=no"2019-04-24T15:25:03.528-04:00| host-18123| W115: Failed to build vmnet. Failed to execute the build command.