VMware Communities
dridk
Contributor
Contributor

cannot compile vmnet and vmmon for vmware-player on a fresh linux

Hi,

i cannot run vmplayer on ubuntu server  20.04.3 LTS.

 

➜  ~ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal

 

 

➜  ~ uname -a 
Linux proton 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

 

 

 

# Install VMWARE : ok 
wget https://github.com/mkubecek/vmware-host-modules/archive/workstation-16.2.1.tar.gz
sudo ./VMware-Player-Full-16.2.1-18811642.x86_64.bundle

 

 

The following command fails to install vmmon and vmnet modules.

 

root@proton:/home/sacha# vmware-modconfig --console --install-all   
[AppLoader] GLib does not have GSettings support.
Stopping VMware services:
   VMware Authentication Daemon                                        done
   Virtual machine monitor                                             done
make: Entering directory '/tmp/modconfig-GqAuej/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.4.0-96-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-96-generic'
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/linux/driver.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/linux/hostif.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/linux/driverLog.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/apic.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/statVarsVmmon.o
gcc: malloc.c:2379: sysmalloc: Assertion `(old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)' failed.
double free or corruption (!prev)
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/memtrack.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/sharedAreaVmmon.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/cpuid.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/task.o
double free or corruption (!prev)
double free or corruption (!prev)
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/crosspage.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/comport.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/common/phystrack.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/bootstrap/monLoaderVmmon.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/bootstrap/monLoader.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/bootstrap/vmmblob.o
  CC [M]  /tmp/modconfig-GqAuej/vmmon-only/bootstrap/bootstrap.o
/tmp/modconfig-GqAuej/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-GqAuej/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-GqAuej/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
In file included from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:42:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:150: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  150 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:707: note: this is the location of the previous definition
  707 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:42:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:588: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  588 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:517: note: this is the location of the previous definition
  517 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:42:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:795: warning: "MSR_TSX_FORCE_ABORT" redefined
  795 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/msr-index.h:716: note: this is the location of the previous definition
  716 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.c:34:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:150: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  150 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:707: note: this is the location of the previous definition
  707 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.c:34:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:588: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  588 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:517: note: this is the location of the previous definition
  517 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.c:34:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:795: warning: "MSR_TSX_FORCE_ABORT" redefined
  795 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/moduleloop.c:31:
./arch/x86/include/asm/msr-index.h:716: note: this is the location of the previous definition
  716 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
Aborted
make[2]: *** [scripts/Makefile.build:270: /tmp/modconfig-GqAuej/vmmon-only/linux/driverLog.o] Error 134
make[2]: *** Waiting for unfinished jobs....
Aborted (core dumped)
make[2]: *** [scripts/Makefile.build:270: /tmp/modconfig-GqAuej/vmmon-only/common/task.o] Error 134
In file included from /tmp/modconfig-GqAuej/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-GqAuej/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-GqAuej/vmmon-only/./include/x86vt.h:40,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:52:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 from ./include/linux/rculist.h:11,
                 from ./include/linux/pid.h:5,
                 from ./include/linux/sched.h:14,
                 from /tmp/modconfig-GqAuej/vmmon-only/common/vmx86.c:31:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
Aborted (core dumped)
make[2]: *** [scripts/Makefile.build:270: /tmp/modconfig-GqAuej/vmmon-only/common/apic.o] Error 134
Aborted
make[2]: *** [scripts/Makefile.build:270: /tmp/modconfig-GqAuej/vmmon-only/common/statVarsVmmon.o] Error 134
In file included from /tmp/modconfig-GqAuej/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.c:47:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:150: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  150 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 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:39,
                 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-GqAuej/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:707: note: this is the location of the previous definition
  707 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.c:47:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:588: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  588 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 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:39,
                 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-GqAuej/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:517: note: this is the location of the previous definition
  517 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.c:47:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:795: warning: "MSR_TSX_FORCE_ABORT" redefined
  795 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 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:39,
                 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-GqAuej/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/msr-index.h:716: note: this is the location of the previous definition
  716 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.c:49:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/processor.h:5,
                 from ./arch/x86/include/asm/cpufeature.h:5,
                 from ./arch/x86/include/asm/thread_info.h:53,
                 from ./include/linux/thread_info.h:39,
                 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-GqAuej/vmmon-only/linux/driver.c:25:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/hostif.c:59:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:150: warning: "MSR_MISC_FEATURES_ENABLES" redefined
  150 | #define MSR_MISC_FEATURES_ENABLES            0x140
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-GqAuej/vmmon-only/linux/hostif.c:31:
./arch/x86/include/asm/msr-index.h:707: note: this is the location of the previous definition
  707 | #define MSR_MISC_FEATURES_ENABLES 0x00000140
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/hostif.c:59:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:588: warning: "MSR_K7_HWCR_SMMLOCK" redefined
  588 | #define MSR_K7_HWCR_SMMLOCK        0x00000001ULL // Lock SMM environment
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-GqAuej/vmmon-only/linux/hostif.c:31:
./arch/x86/include/asm/msr-index.h:517: note: this is the location of the previous definition
  517 | #define MSR_K7_HWCR_SMMLOCK  BIT_ULL(MSR_K7_HWCR_SMMLOCK_BIT)
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./common/vmx86.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/driver.h:32,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/hostif.c:59:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86msr.h:795: warning: "MSR_TSX_FORCE_ABORT" redefined
  795 | #define MSR_TSX_FORCE_ABORT                      0x0000010f
      | 
In file included from ./arch/x86/include/asm/nospec-branch.h:11,
                 from ./arch/x86/include/asm/irqflags.h:9,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-GqAuej/vmmon-only/linux/hostif.c:31:
./arch/x86/include/asm/msr-index.h:716: note: this is the location of the previous definition
  716 | #define MSR_TSX_FORCE_ABORT  0x0000010F
      | 
In file included from /tmp/modconfig-GqAuej/vmmon-only/./include/vm_asm_x86.h:41,
                 from /tmp/modconfig-GqAuej/vmmon-only/./include/vm_asm.h:44,
                 from /tmp/modconfig-GqAuej/vmmon-only/./include/x86svm.h:51,
                 from /tmp/modconfig-GqAuej/vmmon-only/linux/hostif.c:71:
/tmp/modconfig-GqAuej/vmmon-only/./include/x86_basic_defs.h:78: warning: "CR3_PCID_MASK" redefined
   78 | #define CR3_PCID_MASK  0xFFF
      | 
In file included from ./arch/x86/include/asm/irqflags.h:5,
                 from ./include/linux/irqflags.h:16,
                 from ./include/linux/rcupdate.h:26,
                 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-GqAuej/vmmon-only/linux/hostif.c:31:
./arch/x86/include/asm/processor-flags.h:39: note: this is the location of the previous definition
   39 | #define CR3_PCID_MASK 0xFFFull
      | 
make[1]: *** [Makefile:1762: /tmp/modconfig-GqAuej/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-96-generic'
make: *** [Makefile:117: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-GqAuej/vmmon-only'
make: Entering directory '/tmp/modconfig-GqAuej/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.4.0-96-generic/build/include/.. M=$PWD SRCROOT=$PWD/. \
  MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.4.0-96-generic'
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/driver.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/hub.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/userif.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/netif.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/bridge.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/procfs.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/smac_compat.o
double free or corruption (!prev)
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/smac.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/vnetEvent.o
  CC [M]  /tmp/modconfig-GqAuej/vmnet-only/vnetUserListener.o
Aborted (core dumped)
make[2]: *** [scripts/Makefile.build:270: /tmp/modconfig-GqAuej/vmnet-only/smac_compat.o] Error 134
make[2]: *** Waiting for unfinished jobs....
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-GqAuej/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-GqAuej/vmnet-only/netif.c:44:
./include/linux/pci_ids.h:2294: warning: "PCI_VENDOR_ID_VMWARE" redefined
 2294 | #define PCI_VENDOR_ID_VMWARE  0x15ad
      | 
In file included from /tmp/modconfig-GqAuej/vmnet-only/net.h:38,
                 from /tmp/modconfig-GqAuej/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-GqAuej/vmnet-only/netif.c:43:
/tmp/modconfig-GqAuej/vmnet-only/vm_device_version.h:57: note: this is the location of the previous definition
   57 | #define PCI_VENDOR_ID_VMWARE                    0x15AD
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-GqAuej/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-GqAuej/vmnet-only/netif.c:44:
./include/linux/pci_ids.h:2295: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
 2295 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
      | 
In file included from /tmp/modconfig-GqAuej/vmnet-only/net.h:38,
                 from /tmp/modconfig-GqAuej/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-GqAuej/vmnet-only/netif.c:43:
/tmp/modconfig-GqAuej/vmnet-only/vm_device_version.h:77: note: this is the location of the previous definition
   77 | #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
      | 
In file included from /tmp/modconfig-GqAuej/vmnet-only/net.h:38,
                 from /tmp/modconfig-GqAuej/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-GqAuej/vmnet-only/bridge.c:53:
/tmp/modconfig-GqAuej/vmnet-only/vm_device_version.h:57: warning: "PCI_VENDOR_ID_VMWARE" redefined
   57 | #define PCI_VENDOR_ID_VMWARE                    0x15AD
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-GqAuej/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-GqAuej/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2294: note: this is the location of the previous definition
 2294 | #define PCI_VENDOR_ID_VMWARE  0x15ad
      | 
In file included from /tmp/modconfig-GqAuej/vmnet-only/net.h:38,
                 from /tmp/modconfig-GqAuej/vmnet-only/vnetInt.h:26,
                 from /tmp/modconfig-GqAuej/vmnet-only/bridge.c:53:
/tmp/modconfig-GqAuej/vmnet-only/vm_device_version.h:77: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
   77 | #define PCI_DEVICE_ID_VMWARE_VMXNET3            0x07B0
      | 
In file included from ./include/linux/pci.h:43,
                 from /tmp/modconfig-GqAuej/vmnet-only/compat_netdevice.h:27,
                 from /tmp/modconfig-GqAuej/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2295: note: this is the location of the previous definition
 2295 | #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
      | 
make[1]: *** [Makefile:1762: /tmp/modconfig-GqAuej/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.4.0-96-generic'
make: *** [Makefile:117: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-GqAuej/vmnet-only'
Unable to install all modules.  See log for details.

 

 

 

 

 

 

 

0 Kudos
0 Replies