relevant bits:
In file included from ./include/linux/pci.h:36:0,
from /tmp/modconfig-hMGHAt/vmnet-only/compat_netdevice.h:27,
from /tmp/modconfig-hMGHAt/vmnet-only/bridge.c:51:
./include/linux/pci_ids.h:2261:0: note: this is the location of the previous definition
#define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0
^
/tmp/modconfig-hMGHAt/vmnet-only/bridge.c: In function ‘VNetBridgeReceiveFromVNet’:
/tmp/modconfig-hMGHAt/vmnet-only/bridge.c:639:14: error: passing argument 1 of ‘atomic_inc’ from incompatible pointer type [-Werror=incompatible-pointer-types]
atomic_inc(&clone->users);
^
In file included from ./include/linux/atomic.h:4:0,
from ./include/linux/rcupdate.h:38,
from ./include/linux/rculist.h:10,
from ./include/linux/pid.h:4,
from ./include/linux/sched.h:13,
from /tmp/modconfig-hMGHAt/vmnet-only/bridge.c:25:
./arch/x86/include/asm/atomic.h:89:29: note: expected ‘atomic_t * {aka struct <anonymous> *}’ but argument is of type ‘refcount_t * {aka struct refcount_struct *}’
static __always_inline void atomic_inc(atomic_t *v)
^
cc1: some warnings being treated as errors
scripts/Makefile.build:308: recipe for target '/tmp/modconfig-hMGHAt/vmnet-only/bridge.o' failed
make[2]: *** [/tmp/modconfig-hMGHAt/vmnet-only/bridge.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Makefile:1550: recipe for target '_module_/tmp/modconfig-hMGHAt/vmnet-only' failed
make[1]: *** [_module_/tmp/modconfig-hMGHAt/vmnet-only] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-32-generic'
Makefile:120: recipe for target 'vmnet.ko' failed
make: *** [vmnet.ko] Error 2
make: Leaving directory '/tmp/modconfig-hMGHAt/vmnet-only'
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet failed
VMware Authentication Daemon done