Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- administrator@administrator:~/Desktop/VMware Workstation v12.0.0 Linux x64 Incl Keymaker-EMBRACE$ sudo /usr/bin/make -j2 -C /tmp/modconfig-1K3dod/vmnet-only auto-build HEADER_DIR=/lib/modules/4.8.0-22-generic/build/include CC=/usr/bin/gcc IS_GCC_3=no
- make: Entering directory '/tmp/modconfig-1K3dod/vmnet-only'
- Using kernel build system.
- /usr/bin/make -C /lib/modules/4.8.0-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
- MODULEBUILDDIR= modules
- make[1]: Entering directory '/usr/src/linux-headers-4.8.0-22-generic'
- CC [M] /tmp/modconfig-1K3dod/vmnet-only/userif.o
- CC [M] /tmp/modconfig-1K3dod/vmnet-only/netif.o
- In file included from ./arch/x86/include/asm/processor.h:15:0,
- from ./arch/x86/include/asm/cpufeature.h:4,
- from ./arch/x86/include/asm/thread_info.h:52,
- from ./include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/wait.h:8,
- from ./include/linux/fs.h:5,
- from ./include/linux/highmem.h:4,
- from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
- /tmp/modconfig-1K3dod/vmnet-only/userif.c: In function ‘UserifLockPage’:
- ./arch/x86/include/asm/current.h:17:17: warning: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
- #define current get_current()
- ^
- /tmp/modconfig-1K3dod/vmnet-only/userif.c:116:28: note: in expansion of macro ‘current’
- retval = get_user_pages(current, current->mm, addr,
- ^~~~~~~
- In file included from ./include/linux/highmem.h:7:0,
- from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
- ./include/linux/mm.h:1315:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^~~~~~~~~~~~~~
- In file included from ./arch/x86/include/asm/processor.h:15:0,
- from ./arch/x86/include/asm/cpufeature.h:4,
- from ./arch/x86/include/asm/thread_info.h:52,
- from ./include/linux/thread_info.h:54,
- from ./arch/x86/include/asm/preempt.h:6,
- from ./include/linux/preempt.h:59,
- from ./include/linux/spinlock.h:50,
- from ./include/linux/wait.h:8,
- from ./include/linux/fs.h:5,
- from ./include/linux/highmem.h:4,
- from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
- ./arch/x86/include/asm/current.h:17:17: warning: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Wint-conversion]
- #define current get_current()
- ^
- /tmp/modconfig-1K3dod/vmnet-only/userif.c:116:37: note: in expansion of macro ‘current’
- retval = get_user_pages(current, current->mm, addr,
- ^~~~~~~
- In file included from ./include/linux/highmem.h:7:0,
- from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
- ./include/linux/mm.h:1315:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^~~~~~~~~~~~~~
- /tmp/modconfig-1K3dod/vmnet-only/userif.c:117:10: warning: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [-Wint-conversion]
- 1, 1, 0, &page, NULL);
- ^
- In file included from ./include/linux/highmem.h:7:0,
- from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
- ./include/linux/mm.h:1315:6: note: expected ‘struct page **’ but argument is of type ‘int’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^~~~~~~~~~~~~~
- /tmp/modconfig-1K3dod/vmnet-only/userif.c:116:13: error: too many arguments to function ‘get_user_pages’
- retval = get_user_pages(current, current->mm, addr,
- ^~~~~~~~~~~~~~
- In file included from ./include/linux/highmem.h:7:0,
- from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
- ./include/linux/mm.h:1315:6: note: declared here
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^~~~~~~~~~~~~~
- scripts/Makefile.build:289: recipe for target '/tmp/modconfig-1K3dod/vmnet-only/userif.o' failed
- make[2]: *** [/tmp/modconfig-1K3dod/vmnet-only/userif.o] Error 1
- make[2]: *** Waiting for unfinished jobs....
- In file included from ./include/linux/pci.h:35:0,
- from /tmp/modconfig-1K3dod/vmnet-only/compat_netdevice.h:27,
- from /tmp/modconfig-1K3dod/vmnet-only/netif.c:43:
- ./include/linux/pci_ids.h:2253:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
- #define PCI_VENDOR_ID_VMWARE 0x15ad
- In file included from /tmp/modconfig-1K3dod/vmnet-only/net.h:38:0,
- from /tmp/modconfig-1K3dod/vmnet-only/vnetInt.h:26,
- from /tmp/modconfig-1K3dod/vmnet-only/netif.c:42:
- /tmp/modconfig-1K3dod/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
- #define PCI_VENDOR_ID_VMWARE 0x15AD
- /tmp/modconfig-1K3dod/vmnet-only/netif.c: In function ‘VNetNetifStartXmit’:
- /tmp/modconfig-1K3dod/vmnet-only/netif.c:468:7: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
- dev->trans_start = jiffies;
- ^~
- scripts/Makefile.build:289: recipe for target '/tmp/modconfig-1K3dod/vmnet-only/netif.o' failed
- make[2]: *** [/tmp/modconfig-1K3dod/vmnet-only/netif.o] Error 1
- Makefile:1489: recipe for target '_module_/tmp/modconfig-1K3dod/vmnet-only' failed
- make[1]: *** [_module_/tmp/modconfig-1K3dod/vmnet-only] Error 2
- make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-22-generic'
- Makefile:120: recipe for target 'vmnet.ko' failed
- make: *** [vmnet.ko] Error 2
- make: Leaving directory '/tmp/modconfig-1K3dod/vmnet-only'
Add Comment
Please, Sign In to add comment