Guest User

g

a guest
Apr 15th, 2017
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.97 KB | None | 0 0
  1. 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
  2. make: Entering directory '/tmp/modconfig-1K3dod/vmnet-only'
  3. Using kernel build system.
  4. /usr/bin/make -C /lib/modules/4.8.0-22-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
  5. MODULEBUILDDIR= modules
  6. make[1]: Entering directory '/usr/src/linux-headers-4.8.0-22-generic'
  7. CC [M] /tmp/modconfig-1K3dod/vmnet-only/userif.o
  8. CC [M] /tmp/modconfig-1K3dod/vmnet-only/netif.o
  9. In file included from ./arch/x86/include/asm/processor.h:15:0,
  10. from ./arch/x86/include/asm/cpufeature.h:4,
  11. from ./arch/x86/include/asm/thread_info.h:52,
  12. from ./include/linux/thread_info.h:54,
  13. from ./arch/x86/include/asm/preempt.h:6,
  14. from ./include/linux/preempt.h:59,
  15. from ./include/linux/spinlock.h:50,
  16. from ./include/linux/wait.h:8,
  17. from ./include/linux/fs.h:5,
  18. from ./include/linux/highmem.h:4,
  19. from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
  20. /tmp/modconfig-1K3dod/vmnet-only/userif.c: In function ‘UserifLockPage’:
  21. ./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]
  22. #define current get_current()
  23. ^
  24. /tmp/modconfig-1K3dod/vmnet-only/userif.c:116:28: note: in expansion of macro ‘current’
  25. retval = get_user_pages(current, current->mm, addr,
  26. ^~~~~~~
  27. In file included from ./include/linux/highmem.h:7:0,
  28. from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
  29. ./include/linux/mm.h:1315:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
  30. long get_user_pages(unsigned long start, unsigned long nr_pages,
  31. ^~~~~~~~~~~~~~
  32. In file included from ./arch/x86/include/asm/processor.h:15:0,
  33. from ./arch/x86/include/asm/cpufeature.h:4,
  34. from ./arch/x86/include/asm/thread_info.h:52,
  35. from ./include/linux/thread_info.h:54,
  36. from ./arch/x86/include/asm/preempt.h:6,
  37. from ./include/linux/preempt.h:59,
  38. from ./include/linux/spinlock.h:50,
  39. from ./include/linux/wait.h:8,
  40. from ./include/linux/fs.h:5,
  41. from ./include/linux/highmem.h:4,
  42. from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
  43. ./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]
  44. #define current get_current()
  45. ^
  46. /tmp/modconfig-1K3dod/vmnet-only/userif.c:116:37: note: in expansion of macro ‘current’
  47. retval = get_user_pages(current, current->mm, addr,
  48. ^~~~~~~
  49. In file included from ./include/linux/highmem.h:7:0,
  50. from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
  51. ./include/linux/mm.h:1315:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
  52. long get_user_pages(unsigned long start, unsigned long nr_pages,
  53. ^~~~~~~~~~~~~~
  54. /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]
  55. 1, 1, 0, &page, NULL);
  56. ^
  57. In file included from ./include/linux/highmem.h:7:0,
  58. from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
  59. ./include/linux/mm.h:1315:6: note: expected ‘struct page **’ but argument is of type ‘int’
  60. long get_user_pages(unsigned long start, unsigned long nr_pages,
  61. ^~~~~~~~~~~~~~
  62. /tmp/modconfig-1K3dod/vmnet-only/userif.c:116:13: error: too many arguments to function ‘get_user_pages’
  63. retval = get_user_pages(current, current->mm, addr,
  64. ^~~~~~~~~~~~~~
  65. In file included from ./include/linux/highmem.h:7:0,
  66. from /tmp/modconfig-1K3dod/vmnet-only/userif.c:26:
  67. ./include/linux/mm.h:1315:6: note: declared here
  68. long get_user_pages(unsigned long start, unsigned long nr_pages,
  69. ^~~~~~~~~~~~~~
  70. scripts/Makefile.build:289: recipe for target '/tmp/modconfig-1K3dod/vmnet-only/userif.o' failed
  71. make[2]: *** [/tmp/modconfig-1K3dod/vmnet-only/userif.o] Error 1
  72. make[2]: *** Waiting for unfinished jobs....
  73. In file included from ./include/linux/pci.h:35:0,
  74. from /tmp/modconfig-1K3dod/vmnet-only/compat_netdevice.h:27,
  75. from /tmp/modconfig-1K3dod/vmnet-only/netif.c:43:
  76. ./include/linux/pci_ids.h:2253:0: warning: "PCI_VENDOR_ID_VMWARE" redefined
  77. #define PCI_VENDOR_ID_VMWARE 0x15ad
  78.  
  79. In file included from /tmp/modconfig-1K3dod/vmnet-only/net.h:38:0,
  80. from /tmp/modconfig-1K3dod/vmnet-only/vnetInt.h:26,
  81. from /tmp/modconfig-1K3dod/vmnet-only/netif.c:42:
  82. /tmp/modconfig-1K3dod/vmnet-only/vm_device_version.h:56:0: note: this is the location of the previous definition
  83. #define PCI_VENDOR_ID_VMWARE 0x15AD
  84.  
  85. /tmp/modconfig-1K3dod/vmnet-only/netif.c: In function ‘VNetNetifStartXmit’:
  86. /tmp/modconfig-1K3dod/vmnet-only/netif.c:468:7: error: ‘struct net_device’ has no member named ‘trans_start’; did you mean ‘mem_start’?
  87. dev->trans_start = jiffies;
  88. ^~
  89. scripts/Makefile.build:289: recipe for target '/tmp/modconfig-1K3dod/vmnet-only/netif.o' failed
  90. make[2]: *** [/tmp/modconfig-1K3dod/vmnet-only/netif.o] Error 1
  91. Makefile:1489: recipe for target '_module_/tmp/modconfig-1K3dod/vmnet-only' failed
  92. make[1]: *** [_module_/tmp/modconfig-1K3dod/vmnet-only] Error 2
  93. make[1]: Leaving directory '/usr/src/linux-headers-4.8.0-22-generic'
  94. Makefile:120: recipe for target 'vmnet.ko' failed
  95. make: *** [vmnet.ko] Error 2
  96. make: Leaving directory '/tmp/modconfig-1K3dod/vmnet-only'
Add Comment
Please, Sign In to add comment