DKMS make.log for open-vm-tools-10.1.10 for kernel 4.15.0-20-generic (x86_64) Tue May 8 15:50:37 PDT 2018 make: Entering directory '/var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet' Using kernel build system. make -C /lib/modules/4.15.0-20-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR=/var/lib/dkms/open-vm-tools/10.1.10/build modules make[1]: Entering directory '/usr/src/linux-headers-4.15.0-20-generic' CC [M] /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.o In file included from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:54:0: /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/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 /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/compat_pci.h:27, from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:31: ./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 /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:54:0: /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/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 /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/compat_pci.h:27, from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:31: ./include/linux/pci_ids.h:2262:0: note: this is the location of the previous definition #define PCI_DEVICE_ID_VMWARE_VMXNET3 0x07b0 In file included from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/eth_public.h:50:0, from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:57: /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/vm_basic_defs.h:778:0: warning: "DO_ONCE" redefined #define DO_ONCE(code) \ In file included from ./include/linux/random.h:11:0, from ./include/linux/net.h:22, from ./include/linux/skbuff.h:29, from ./include/linux/if_ether.h:23, from ./include/uapi/linux/ethtool.h:19, from ./include/linux/ethtool.h:18, from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/compat_ethtool.h:33, from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:34: ./include/linux/once.h:38:0: note: this is the location of the previous definition #define DO_ONCE(func, ...) \ In file included from /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:33:0: /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c: In function ‘vmxnet_probe_device’: /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/./shared/compat_timer.h:97:48: error: implicit declaration of function ‘init_timer_deferrable’; did you mean ‘compat_init_timer_deferrable’? [-Werror=implicit-function-declaration] # define compat_init_timer_deferrable(timer) init_timer_deferrable(timer) ^ /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:1165:4: note: in expansion of macro ‘compat_init_timer_deferrable’ compat_init_timer_deferrable(&lp->linkCheckTimer); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:1166:22: error: ‘struct timer_list’ has no member named ‘data’ lp->linkCheckTimer.data = (unsigned long)dev; ^ /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:1167:32: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] lp->linkCheckTimer.function = vmxnet_link_check; ^ /var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.c:1168:40: error: ‘struct timer_list’ has no member named ‘data’ vmxnet_link_check(lp->linkCheckTimer.data); ^ cc1: some warnings being treated as errors scripts/Makefile.build:339: recipe for target '/var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.o' failed make[2]: *** [/var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet/vmxnet.o] Error 1 Makefile:1552: recipe for target '_module_/var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet' failed make[1]: *** [_module_/var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-20-generic' Makefile:120: recipe for target 'vmxnet.ko' failed make: *** [vmxnet.ko] Error 2 make: Leaving directory '/var/lib/dkms/open-vm-tools/10.1.10/build/vmxnet'