Installing VMware on 18.10: Failed to build vmmonCould not find wx-config error when building Audacity from...
Recruiter wants very extensive technical details about all of my previous work
How to explain that I do not want to visit a country due to personal safety concern?
Does this sum go infinity?
Is honey really a supersaturated solution? Does heating to un-crystalize redissolve it or melt it?
How do I change two letters closest to a string and one letter immediately after a string using Notepad++?
Official degrees of earth’s rotation per day
How difficult is it to simply disable/disengage the MCAS on Boeing 737 Max 8 & 9 Aircraft?
A single argument pattern definition applies to multiple-argument patterns?
Is it insecure to send a password in a `curl` command?
What's the meaning of a knight fighting a snail in medieval book illustrations?
How do I hide Chekhov's Gun?
The German vowel “a” changes to the English “i”
How well should I expect Adam to work?
Is a party consisting of only a bard, a cleric, and a warlock functional long-term?
Are ETF trackers fundamentally better than individual stocks?
Describing a chess game in a novel
Why does energy conservation give me the wrong answer in this inelastic collision problem?
Are all passive ability checks floors for active ability checks?
What options are left, if Britain cannot decide?
How to pronounce "I ♥ Huckabees"?
Shortcut for setting origin to vertex
Can I use USB data pins as power source
Do I need life insurance if I can cover my own funeral costs?
Is there a place to find the pricing for things not mentioned in the PHB? (non-magical)
Installing VMware on 18.10: Failed to build vmmon
Could not find wx-config error when building Audacity from sourceVmware Workstation on Ubuntu 17.04Installing Gallium 0.4 on SVGA3D; build: RELEASE; LLVM; Virtual machineUbuntu 16.04 LTS install VMware 12 Kernel module updaterTrying to install Tp-Link card | Make won't workUbuntu 16.04 VMware 12.5 doesn't start (failed to compile)VMware module compilation problem: Failed to build vmmonInstalling VMware on 18.04: Failed to build vmmontp-link ac600 driver__write_overflow declared with attribute error
Trying to build the VMware modules on Ubuntu-18.10 with linux-5.0.1-050001-generic
vmware-modconfig --console --install-all
Here's the whole output:
https://pastebin.com/d61HGWJR
In file included from /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:42:
./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here
static inline unsigned long totalram_pages(void)
^~~~~~~~~~~~~~
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:1787:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
do_gettimeofday(&tv);
^~~~~~~~~~~~~~~
do_settimeofday64
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4db: indirect call found in RETPOLINE build
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmmon-only'
make: Entering directory '/tmp/modconfig-QBnnBd/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.0.1-050001-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.1-050001-generic'
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-QBnnBd/vmnet-only/driver.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/hub.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/userif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/netif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/bridge.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/procfs.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac.o
/tmp/modconfig-QBnnBd/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears in
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2278: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2279: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/vnetEvent.o
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2278: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2279: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmnet-only'
Unable to install all modules. See log for details.
compiling vmware 18.10
add a comment |
Trying to build the VMware modules on Ubuntu-18.10 with linux-5.0.1-050001-generic
vmware-modconfig --console --install-all
Here's the whole output:
https://pastebin.com/d61HGWJR
In file included from /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:42:
./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here
static inline unsigned long totalram_pages(void)
^~~~~~~~~~~~~~
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:1787:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
do_gettimeofday(&tv);
^~~~~~~~~~~~~~~
do_settimeofday64
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4db: indirect call found in RETPOLINE build
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmmon-only'
make: Entering directory '/tmp/modconfig-QBnnBd/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.0.1-050001-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.1-050001-generic'
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-QBnnBd/vmnet-only/driver.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/hub.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/userif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/netif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/bridge.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/procfs.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac.o
/tmp/modconfig-QBnnBd/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears in
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2278: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2279: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/vnetEvent.o
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2278: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2279: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmnet-only'
Unable to install all modules. See log for details.
compiling vmware 18.10
add a comment |
Trying to build the VMware modules on Ubuntu-18.10 with linux-5.0.1-050001-generic
vmware-modconfig --console --install-all
Here's the whole output:
https://pastebin.com/d61HGWJR
In file included from /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:42:
./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here
static inline unsigned long totalram_pages(void)
^~~~~~~~~~~~~~
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:1787:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
do_gettimeofday(&tv);
^~~~~~~~~~~~~~~
do_settimeofday64
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4db: indirect call found in RETPOLINE build
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmmon-only'
make: Entering directory '/tmp/modconfig-QBnnBd/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.0.1-050001-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.1-050001-generic'
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-QBnnBd/vmnet-only/driver.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/hub.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/userif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/netif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/bridge.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/procfs.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac.o
/tmp/modconfig-QBnnBd/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears in
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2278: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2279: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/vnetEvent.o
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2278: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2279: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmnet-only'
Unable to install all modules. See log for details.
compiling vmware 18.10
Trying to build the VMware modules on Ubuntu-18.10 with linux-5.0.1-050001-generic
vmware-modconfig --console --install-all
Here's the whole output:
https://pastebin.com/d61HGWJR
In file included from /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:42:
./include/linux/mm.h:52:29: note: previous definition of ‘totalram_pages’ was here
static inline unsigned long totalram_pages(void)
^~~~~~~~~~~~~~
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIFReadUptimeWork’:
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c:1787:4: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
do_gettimeofday(&tv);
^~~~~~~~~~~~~~~
do_settimeofday64
/tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.c: In function ‘HostIF_MapUserMem’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmmon-only/linux/hostif.c:3408:9: note: each undeclared identifier is reported only once for each function it appears in
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmmon-only/linux/hostif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: Task_Switch()+0x4db: indirect call found in RETPOLINE build
/tmp/modconfig-QBnnBd/vmmon-only/common/task.o: warning: objtool: .text: unexpected end of section
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmmon-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmmon.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmmon-only'
make: Entering directory '/tmp/modconfig-QBnnBd/vmnet-only'
Using kernel build system.
/usr/bin/make -C /lib/modules/5.0.1-050001-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/.
MODULEBUILDDIR= modules
make[1]: Entering directory '/usr/src/linux-headers-5.0.1-050001-generic'
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-QBnnBd/vmnet-only/driver.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/hub.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/userif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/netif.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/bridge.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/procfs.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac_compat.o
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/smac.o
/tmp/modconfig-QBnnBd/vmnet-only/userif.c: In function ‘VNetUserIfMapPtr’:
/tmp/modconfig-QBnnBd/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-QBnnBd/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-QBnnBd/vmnet-only/userif.c:145:9: note: each undeclared identifier is reported only once for each function it appears in
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2278: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:43:
./include/linux/pci_ids.h:2279: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/netif.c:42:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
CC [M] /tmp/modconfig-QBnnBd/vmnet-only/vnetEvent.o
make[2]: *** [scripts/Makefile.build:277: /tmp/modconfig-QBnnBd/vmnet-only/userif.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:56: warning: "PCI_VENDOR_ID_VMWARE" redefined
#define PCI_VENDOR_ID_VMWARE 0x15AD
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2278: note: this is the location of the previous definition
#define PCI_VENDOR_ID_VMWARE 0x15ad
In file included from /tmp/modconfig-QBnnBd/vmnet-only/net.h:38,
from /tmp/modconfig-QBnnBd/vmnet-only/vnetInt.h:26,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:53:
/tmp/modconfig-QBnnBd/vmnet-only/vm_device_version.h:73: warning: "PCI_DEVICE_ID_VMWARE_VMXNET3" redefined
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07B0
In file included from ./include/linux/pci.h:37,
from /tmp/modconfig-QBnnBd/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-QBnnBd/vmnet-only/bridge.c:52:
./include/linux/pci_ids.h:2279: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
make[1]: *** [Makefile:1553: _module_/tmp/modconfig-QBnnBd/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.0.1-050001-generic'
make: *** [Makefile:110: vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-QBnnBd/vmnet-only'
Unable to install all modules. See log for details.
compiling vmware 18.10
compiling vmware 18.10
asked 5 mins ago
Jason HunterJason Hunter
414
414
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126288%2finstalling-vmware-on-18-10-failed-to-build-vmmon%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1126288%2finstalling-vmware-on-18-10-failed-to-build-vmmon%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown