LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2017, 01:24 PM   #1
brenainn
LQ Newbie
 
Registered: Oct 2005
Location: Ocean City, NJ
Distribution: PLD
Posts: 13

Rep: Reputation: 0
Installing VMware Workstation - modules fail to build


I have been trying to install VMware workstation 14 on Opensuse Leap 42.3, and have been unable to build the modules. I am running kernel 4.14.0-1.gc6cd519-default, gcc 7.1, and all the necessary (I believe) headers and devel packages.
This is the output of 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-fNFMUl/vmmon-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.14.0-1.gc6cd519-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.14.0-1.gc6cd519-obj/x86_64/default'
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/linux/driver.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/linux/driverLog.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/apic.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/memtrack.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.o
In file included from /tmp/modconfig-fNFMUl/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/driver.h:32,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/driver.c:47:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:21,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/spinlock.h:51,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/wait.h:9,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/wait_bit.h:8,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/fs.h:6,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/highmem.h:5,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/driver.c:25:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/cpuid.o
In file included from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/driver.c:49:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/spinlock.h:51,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/wait.h:9,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/wait_bit.h:8,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/fs.h:6,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/highmem.h:5,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/driver.c:25:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

In file included from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm.h:43:0,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:21,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rcupdate.h:40,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rculist.h:11,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pid.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/sched.h:14,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/binfmts.h:5,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.c:60:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/irqflags.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/irqflags.h:16,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rcupdate.h:39,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rculist.h:11,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pid.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/sched.h:14,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/binfmts.h:5,
from /tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.c:32:
/usr/src/linux-4.14.0-1.gc6cd519/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-fNFMUl/vmmon-only/common/task.o
/tmp/modconfig-fNFMUl/vmmon-only/linux/driver.c:981:1: warning: always_inline function might not be inlinable [-Wattributes]
LinuxDriverSyncReadTSCs(uint64 *delta) // OUT: TSC max - TSC min
^~~~~~~~~~~~~~~~~~~~~~~
/tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.c: In function ‘HostIF_EstimateLockedPageLimit’:
/tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.c:1519:31: error: implicit declaration of function ‘global_page_state’; did you mean ‘global_numa_state’? [-Werror=implicit-function-declaration]
unsigned int lockedPages = global_page_state(NR_PAGETABLE) +
^~~~~~~~~~~~~~~~~
global_numa_state
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/hashFunc.o
In file included from /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.c:43:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:21,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rcupdate.h:40,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rculist.h:11,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pid.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/sched.h:14,
from /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.c:31:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.c:46:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86_basic_defs.h:78:0: warning: "CR3_PCID_MASK" redefined
#define CR3_PCID_MASK 0xFFF

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/irqflags.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/irqflags.h:16,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rcupdate.h:39,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rculist.h:11,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pid.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/sched.h:14,
from /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.c:31:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor-flags.h:39:0: note: this is the location of the previous definition
#define CR3_PCID_MASK 0xFFFull

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/spinlock.h:51,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/mmu.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/desc.h:7,
from /tmp/modconfig-fNFMUl/vmmon-only/common/task.c:70:
/usr/src/linux-4.14.0-1.gc6cd519/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-fNFMUl/vmmon-only/./include/vm_asm_x86.h:41:0,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm_x86_64.h:40,
from /tmp/modconfig-fNFMUl/vmmon-only/./include/vm_asm.h:46,
from /tmp/modconfig-fNFMUl/vmmon-only/common/task.c:53:
/tmp/modconfig-fNFMUl/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 /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:21,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/spinlock.h:51,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/mmu.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/desc.h:7,
from /tmp/modconfig-fNFMUl/vmmon-only/common/task.c:70:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr-index.h:572:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x00000140

In file included from /tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.h:32:0,
from /tmp/modconfig-fNFMUl/vmmon-only/common/task.c:51:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86msr.h:115:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x140

CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/comport.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/common/phystrack.o
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/vmcore/moduleloop.o
/tmp/modconfig-fNFMUl/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Free() falls through to next function PhysTrack_Add()
/tmp/modconfig-fNFMUl/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Add() falls through to next function PhysTrack_Remove()
/tmp/modconfig-fNFMUl/vmmon-only/common/phystrack.o: warning: objtool: PhysTrack_Remove() falls through to next function PhysTrack_Test()
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoaderVmmon.o
In file included from /tmp/modconfig-fNFMUl/vmmon-only/./common/vmx86.h:32:0,
from /tmp/modconfig-fNFMUl/vmmon-only/vmcore/moduleloop.c:35:
/tmp/modconfig-fNFMUl/vmmon-only/./include/x86msr.h:115:0: warning: "MSR_MISC_FEATURES_ENABLES" redefined
#define MSR_MISC_FEATURES_ENABLES 0x140

In file included from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr.h:5:0,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/processor.h:21,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/cpufeature.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/thread_info.h:53,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/thread_info.h:38,
from /usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/preempt.h:7,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/preempt.h:81,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rcupdate.h:40,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/rculist.h:11,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pid.h:5,
from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/sched.h:14,
from /tmp/modconfig-fNFMUl/vmmon-only/vmcore/moduleloop.c:31:
/usr/src/linux-4.14.0-1.gc6cd519/arch/x86/include/asm/msr-index.h:572:0: note: this is the location of the previous definition
#define MSR_MISC_FEATURES_ENABLES 0x00000140

cc1: some warnings being treated as errors
CC [M] /tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoader.o
/usr/src/linux-4.14.0-1.gc6cd519/scripts/Makefile.build:315: recipe for target '/tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.o' failed
make[4]: *** [/tmp/modconfig-fNFMUl/vmmon-only/linux/hostif.o] Error 1
make[4]: *** Waiting for unfinished jobs....
/tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_AllocMPN() falls through to next function MonLoaderCallout_MapMPNInPTE()
/tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_FillPage() falls through to next function MonLoaderCallout_CopyFromBlob()
/tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_CopyFromBlob() falls through to next function MonLoaderCallout_GetSharedUserPage()
/tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: MonLoaderCallout_GetSharedHostPage() falls through to next function MonLoaderCallout_IsPrivileged()
/tmp/modconfig-fNFMUl/vmmon-only/bootstrap/monLoaderVmmon.o: warning: objtool: .text: unexpected end of section
/tmp/modconfig-fNFMUl/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
/tmp/modconfig-fNFMUl/vmmon-only/common/vmx86.o: warning: objtool: Vmx86EnableHVOnCPU() falls through to next function Vmx86GetMSR()
make[4]: *** wait: No child processes. Stop.
/usr/src/linux-4.14.0-1.gc6cd519/Makefile:1508: recipe for target '_module_/tmp/modconfig-fNFMUl/vmmon-only' failed
make[3]: *** [_module_/tmp/modconfig-fNFMUl/vmmon-only] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[2]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make[1]: *** [__sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-4.14.0-1.gc6cd519-obj/x86_64/default'
Makefile:110: recipe for target 'vmmon.ko' failed
make: *** [vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-fNFMUl/vmmon-only'
make: Entering directory '/tmp/modconfig-fNFMUl/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/4.14.0-1.gc6cd519-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-4.14.0-1.gc6cd519-obj/x86_64/default'
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/driver.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/hub.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/userif.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/netif.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/bridge.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/procfs.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-fNFMUl/vmnet-only/smac.o
In file included from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci.h:37:0,
from /tmp/modconfig-fNFMUl/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-fNFMUl/vmnet-only/netif.c:43:
/usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci_ids.h:2261:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /tmp/modconfig-fNFMUl/vmnet-only/net.h:38:0,
from /tmp/modconfig-fNFMUl/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-fNFMUl/vmnet-only/netif.c:42:
/tmp/modconfig-fNFMUl/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 /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci.h:37:0,
from /tmp/modconfig-fNFMUl/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-fNFMUl/vmnet-only/netif.c:43:
/usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci_ids.h:2262:0: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

In file included from /tmp/modconfig-fNFMUl/vmnet-only/net.h:38:0,
from /tmp/modconfig-fNFMUl/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-fNFMUl/vmnet-only/netif.c:42:
/tmp/modconfig-fNFMUl/vmnet-only/vm_device_version.h:73:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0

CC [M] /tmp/modconfig-fNFMUl/vmnet-only/vnetEvent.o
In file included from /tmp/modconfig-fNFMUl/vmnet-only/net.h:38:0,
from /tmp/modconfig-fNFMUl/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-fNFMUl/vmnet-only/bridge.c:53:
/tmp/modconfig-fNFMUl/vmnet-only/vm_device_version.h:56:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD

In file included from /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci.h:37:0,
from /tmp/modconfig-fNFMUl/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-fNFMUl/vmnet-only/bridge.c:52:
/usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad

In file included from /tmp/modconfig-fNFMUl/vmnet-only/net.h:38:0,
from /tmp/modconfig-fNFMUl/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-fNFMUl/vmnet-only/bridge.c:53:
/tmp/modconfig-fNFMUl/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 /usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci.h:37:0,
from /tmp/modconfig-fNFMUl/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-fNFMUl/vmnet-only/bridge.c:52:
/usr/src/linux-4.14.0-1.gc6cd519/include/linux/pci_ids.h:2262:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0

CC [M] /tmp/modconfig-fNFMUl/vmnet-only/vnetUserListener.o
LD [M] /tmp/modconfig-fNFMUl/vmnet-only/vmnet.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/modconfig-fNFMUl/vmnet-only/vmnet.mod.o
LD [M] /tmp/modconfig-fNFMUl/vmnet-only/vmnet.ko
make[1]: Leaving directory '/usr/src/linux-4.14.0-1.gc6cd519-obj/x86_64/default'
/usr/bin/make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: Entering directory '/tmp/modconfig-fNFMUl/vmnet-only'
make[1]: 'postbuild' is up to date.
make[1]: Leaving directory '/tmp/modconfig-fNFMUl/vmnet-only'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory '/tmp/modconfig-fNFMUl/vmnet-only'
Unable to install all modules. See log for details.

Here is the log file:

2017-11-16T13:18:55.710-05:00| modconfig| I125: Log for VMware Workstation pid=14513 version=14.0.0 build=build-6661328 option=Release
2017-11-16T13:18:55.710-05:00| modconfig| I125: The process is 64-bit.
2017-11-16T13:18:55.710-05:00| modconfig| I125: Host codepage=UTF-8 encoding=UTF-8
2017-11-16T13:18:55.710-05:00| modconfig| I125: Host is Linux 4.14.0-1.gc6cd519-default openSUSE Leap 42.3
2017-11-16T13:18:55.710-05:00| modconfig| I125: DictionaryLoad: Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2017-11-16T13:18:55.710-05:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file "/usr/lib/vmware/settings": No such file or directory.
2017-11-16T13:18:55.710-05:00| modconfig| I125: PREF Optional preferences file not found at /usr/lib/vmware/settings. Using default values.
2017-11-16T13:18:55.710-05:00| modconfig| I125: DictionaryLoad: Cannot open file "/root/.vmware/config": No such file or directory.
2017-11-16T13:18:55.710-05:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/config": No such file or directory.
2017-11-16T13:18:55.710-05:00| modconfig| I125: PREF Optional preferences file not found at /root/.vmware/config. Using default values.
2017-11-16T13:18:55.710-05:00| modconfig| I125: DictionaryLoad: Cannot open file "/root/.vmware/preferences": No such file or directory.
2017-11-16T13:18:55.710-05:00| modconfig| I125: [msg.dictionary.load.openFailed] Cannot open file "/root/.vmware/preferences": No such file or directory.
2017-11-16T13:18:55.710-05:00| modconfig| I125: PREF Optional preferences file not found at /root/.vmware/preferences. Using default values.
2017-11-16T13:18:55.722-05:00| modconfig| I125: Initialized! Lets do this thing...
2017-11-16T13:18:55.722-05:00| modconfig| I125: System distribution is SuSE
2017-11-16T13:18:55.722-05:00| modconfig| I125: System version is 42.3
2017-11-16T13:18:55.722-05:00| modconfig| I125: Obtaining info using the running kernel.
2017-11-16T13:18:55.723-05:00| modconfig| I125: Created new pathsHash.
2017-11-16T13:18:55.723-05:00| modconfig| I125: Setting header path for 4.14.0-1.gc6cd519-default to "/lib/modules/4.14.0-1.gc6cd519-default/build/include".
2017-11-16T13:18:55.723-05:00| modconfig| I125: Validating path "/lib/modules/4.14.0-1.gc6cd519-default/build/include" for kernel release "4.14.0-1.gc6cd519-default".
2017-11-16T13:18:55.723-05:00| modconfig| I125: using /usr/bin/gcc-7 for preprocess check
2017-11-16T13:18:55.731-05:00| modconfig| I125: Preprocessed UTS_RELEASE, got value "4.14.0-1.gc6cd519-default".
2017-11-16T13:18:55.731-05:00| modconfig| I125: The header path "/lib/modules/4.14.0-1.gc6cd519-default/build/include" for the kernel "4.14.0-1.gc6cd519-default" is valid. Whoohoo!
2017-11-16T13:18:55.872-05:00| modconfig| I125: found symbol version file /lib/modules/4.14.0-1.gc6cd519-default/build/Module.symvers
2017-11-16T13:18:55.872-05:00| modconfig| I125: Reading symbol versions from /lib/modules/4.14.0-1.gc6cd519-default/build/Module.symvers.
2017-11-16T13:18:55.895-05:00| modconfig| I125: Read 20778 symbol versions
2017-11-16T13:18:55.895-05:00| modconfig| I125: Reading in info for the vmmon module.
2017-11-16T13:18:55.895-05:00| modconfig| I125: Reading in info for the vmnet module.
2017-11-16T13:18:55.895-05:00| modconfig| I125: Reading in info for the vmblock module.
2017-11-16T13:18:55.895-05:00| modconfig| I125: Reading in info for the vmci module.
2017-11-16T13:18:55.895-05:00| modconfig| I125: Reading in info for the vsock module.
2017-11-16T13:18:55.895-05:00| modconfig| I125: Setting vsock to depend on vmci.
2017-11-16T13:18:55.908-05:00| modconfig| I125: Trying to find a suitable PBM set for kernel "4.14.0-1.gc6cd519-default".
2017-11-16T13:18:55.908-05:00| modconfig| I125: No matching PBM set was found for kernel "4.14.0-1.gc6cd519-default".
2017-11-16T13:18:55.908-05:00| modconfig| I125: Found compiler at "/usr/bin/gcc"
2017-11-16T13:18:55.912-05:00| modconfig| I125: Got gcc version "7".
2017-11-16T13:18:55.912-05:00| modconfig| I125: The GCC version matches the kernel GCC minor version like a glove.
2017-11-16T13:18:55.912-05:00| modconfig| I125: Using temp dir "/tmp".
2017-11-16T13:18:56.034-05:00| modconfig| I125: Setting destination path for vmmon to "/lib/modules/4.14.0-1.gc6cd519-default/misc/vmmon.ko".
2017-11-16T13:18:56.034-05:00| modconfig| I125: Extracting the vmmon source from "/usr/lib/vmware/modules/source/vmmon.tar".
2017-11-16T13:18:56.043-05:00| modconfig| I125: Successfully extracted the vmmon source.
2017-11-16T13:18:56.043-05:00| modconfig| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-fNFMUl/vmmon-only auto-build HEADER_DIR=/lib/modules/4.14.0-1.gc6cd519-default/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-11-16T13:18:58.362-05:00| modconfig| W115: Failed to build vmmon. Failed to execute the build command.
2017-11-16T13:18:58.362-05:00| modconfig| I125: Setting destination path for vmnet to "/lib/modules/4.14.0-1.gc6cd519-default/misc/vmnet.ko".
2017-11-16T13:18:58.362-05:00| modconfig| I125: Extracting the vmnet source from "/usr/lib/vmware/modules/source/vmnet.tar".
2017-11-16T13:18:58.367-05:00| modconfig| I125: Successfully extracted the vmnet source.
2017-11-16T13:18:58.367-05:00| modconfig| I125: Building module with command "/usr/bin/make -j8 -C /tmp/modconfig-fNFMUl/vmnet-only auto-build HEADER_DIR=/lib/modules/4.14.0-1.gc6cd519-default/build/include CC=/usr/bin/gcc IS_GCC_3=no"
2017-11-16T13:19:01.658-05:00| modconfig| I125: Successfully built vmnet. Module is currently at "/tmp/modconfig-fNFMUl/vmnet.o".
2017-11-16T13:19:01.658-05:00| modconfig| I125: Found the vmnet symvers file at "/tmp/modconfig-fNFMUl/vmnet-only/Module.symvers".
2017-11-16T13:19:01.658-05:00| modconfig| I125: Installing vmnet from /tmp/modconfig-fNFMUl/vmnet.o to /lib/modules/4.14.0-1.gc6cd519-default/misc/vmnet.ko.
2017-11-16T13:19:01.667-05:00| modconfig| I125: Registering file "/lib/modules/4.14.0-1.gc6cd519-default/misc/vmnet.ko".
2017-11-16T13:19:01.873-05:00| modconfig| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.
2017-11-16T13:19:01.873-05:00| modconfig| I125: Registering file "/usr/lib/vmware/symvers/vmnet-4.14.0-1.gc6cd519-default".
2017-11-16T13:19:02.074-05:00| modconfig| I125: "/usr/lib/vmware-installer/2.1.0/vmware-installer" exited with status 0.
2017-11-16T13:19:02.087-05:00| modconfig| I125: We are now shutdown. Ready to die!

I've searched everywhere for a solution but came up empty. Any help with the problem would be greatly appreciated.
 
Old 11-17-2017, 12:48 PM   #2
DVOM
Member
 
Registered: Nov 2010
Posts: 179

Rep: Reputation: 40
Did you install "make"?
 
Old 11-17-2017, 04:34 PM   #3
brenainn
LQ Newbie
 
Registered: Oct 2005
Location: Ocean City, NJ
Distribution: PLD
Posts: 13

Original Poster
Rep: Reputation: 0
Yes, I have all development packages installed. Vmnet builds but vmmom fails.
 
Old 11-17-2017, 04:56 PM   #4
DVOM
Member
 
Registered: Nov 2010
Posts: 179

Rep: Reputation: 40
Have you tried a different kernel? I see that your OS originally comes with kernel 4.4.xx. Does that kernel work?
 
Old 11-17-2017, 04:58 PM   #5
brenainn
LQ Newbie
 
Registered: Oct 2005
Location: Ocean City, NJ
Distribution: PLD
Posts: 13

Original Poster
Rep: Reputation: 0
No, I tried the stock kernel as well.
 
Old 12-07-2017, 02:56 AM   #6
drmanuel
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Rep: Reputation: Disabled
Hi, I've the same issue, how did you solve it?
Thanks in advance.
M.
 
Old 12-12-2017, 12:17 AM   #7
Ziferius
LQ Newbie
 
Registered: Jul 2015
Posts: 3

Rep: Reputation: Disabled
vmware for kernel 4.14

git clone https://github.com/pavlinux/vmware-modules

tar each one up
copy tar files to /usr/lib/vmware/modules/source

vmware-modconfig --console --install-all
 
1 members found this post helpful.
Old 12-12-2017, 03:08 AM   #8
drmanuel
LQ Newbie
 
Registered: Dec 2017
Posts: 2

Rep: Reputation: Disabled
Great, it worked!
Thank you very much!
Bye.
M.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] VMWare Workstation, Slackware64 14.1, multilib, FAIL dimm0k Slackware 1 11-11-2015 12:26 AM
[SOLVED] VMWare Workstation, Slackware64 14.0, FAIL dimm0k Slackware 1 02-17-2013 02:34 AM
VMware Workstation 7.1.4 - Modules and Daemon kasl33 Arch 4 09-06-2011 03:34 PM
VmWare Workstation Prebuilt VMMON modules sevs Linux - Software 11 09-12-2008 02:39 PM
ATI kernel modules build fail french_frogger VectorLinux 1 02-20-2006 05:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration