04-27-2019, 01:14 PM
After running that I get this message.
Quote: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 done
make: 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= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.0'
Makefile:189: ================= WARNING ================
Makefile:190: 'SUBDIRS' will be removed after Linux 5.3
Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile: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.o
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: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.o
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: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.o
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 ./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.o
cc1: some warnings being treated as errors
scripts/Makefile.build:276: recipe for target '/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.o' failed
make[2]: *** [/tmp/modconfig-8q6y8Q/vmmon-only/linux/hostif.o] Error 1
make[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' failed
make[1]: *** [_module_/tmp/modconfig-8q6y8Q/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0'
Makefile:110: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
make: 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= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.0'
Makefile:189: ================= WARNING ================
Makefile:190: 'SUBDIRS' will be removed after Linux 5.3
Makefile:191: Please use 'M=' or 'KBUILD_EXTMOD' instead
Makefile: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.o
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: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 in
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: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' failed
make[2]: *** [/tmp/modconfig-8q6y8Q/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1553: recipe for target '_module_/tmp/modconfig-8q6y8Q/vmnet-only' failed
make[1]: *** [_module_/tmp/modconfig-8q6y8Q/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.0'
Makefile:110: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: 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-dkms
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-headers-5.0.0
E: 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 ~
Goliath - Threadripper 3960x, 64GB DDR4 3200, 1TB PCIe 4.0 M.2, 6TB HDD for Games, Creative AES 7 Soundcard, AMD 5700XT
Work Machine - Lenovo 13 Ryzen 4750U, 16GB DDR4, 2TB PCIe 3.1 M.2
Work Machine - Lenovo 13 Ryzen 4750U, 16GB DDR4, 2TB PCIe 3.1 M.2