Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.41 KB | None | 0 0
  1. In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
  2. from /usr/share/systemtap/runtime/runtime.h:24,
  3. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  4. /usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’:
  5. /usr/share/systemtap/runtime/linux/access_process_vm.h:35:29: error: passing argument 1 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
  6. ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
  7. ^
  8. In file included from ./include/linux/pid_namespace.h:6:0,
  9. from ./include/linux/ptrace.h:8,
  10. from ./include/linux/ftrace.h:13,
  11. from ./include/linux/kprobes.h:42,
  12. from /usr/share/systemtap/runtime/linux/runtime.h:21,
  13. from /usr/share/systemtap/runtime/runtime.h:24,
  14. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  15. ./include/linux/mm.h:1315:6: note: expected ‘long unsigned int’ but argument is of type ‘struct task_struct *’
  16. long get_user_pages(unsigned long start, unsigned long nr_pages,
  17. ^
  18. In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
  19. from /usr/share/systemtap/runtime/runtime.h:24,
  20. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  21. /usr/share/systemtap/runtime/linux/access_process_vm.h:35:34: error: passing argument 2 of ‘get_user_pages’ makes integer from pointer without a cast [-Werror=int-conversion]
  22. ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
  23. ^
  24. In file included from ./include/linux/pid_namespace.h:6:0,
  25. from ./include/linux/ptrace.h:8,
  26. from ./include/linux/ftrace.h:13,
  27. from ./include/linux/kprobes.h:42,
  28. from /usr/share/systemtap/runtime/linux/runtime.h:21,
  29. from /usr/share/systemtap/runtime/runtime.h:24,
  30. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  31. ./include/linux/mm.h:1315:6: note: expected ‘long unsigned int’ but argument is of type ‘struct mm_struct *’
  32. long get_user_pages(unsigned long start, unsigned long nr_pages,
  33. ^
  34. In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
  35. from /usr/share/systemtap/runtime/runtime.h:24,
  36. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  37. /usr/share/systemtap/runtime/linux/access_process_vm.h:35:47: error: passing argument 5 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
  38. ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
  39. ^
  40. In file included from ./include/linux/pid_namespace.h:6:0,
  41. from ./include/linux/ptrace.h:8,
  42. from ./include/linux/ftrace.h:13,
  43. from ./include/linux/kprobes.h:42,
  44. from /usr/share/systemtap/runtime/linux/runtime.h:21,
  45. from /usr/share/systemtap/runtime/runtime.h:24,
  46. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  47. ./include/linux/mm.h:1315:6: note: expected ‘struct page **’ but argument is of type ‘int’
  48. long get_user_pages(unsigned long start, unsigned long nr_pages,
  49. ^
  50. In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
  51. from /usr/share/systemtap/runtime/runtime.h:24,
  52. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  53. /usr/share/systemtap/runtime/linux/access_process_vm.h:35:54: error: passing argument 6 of ‘get_user_pages’ makes pointer from integer without a cast [-Werror=int-conversion]
  54. ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
  55. ^
  56. In file included from ./include/linux/pid_namespace.h:6:0,
  57. from ./include/linux/ptrace.h:8,
  58. from ./include/linux/ftrace.h:13,
  59. from ./include/linux/kprobes.h:42,
  60. from /usr/share/systemtap/runtime/linux/runtime.h:21,
  61. from /usr/share/systemtap/runtime/runtime.h:24,
  62. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  63. ./include/linux/mm.h:1315:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’
  64. long get_user_pages(unsigned long start, unsigned long nr_pages,
  65. ^
  66. In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
  67. from /usr/share/systemtap/runtime/runtime.h:24,
  68. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  69. /usr/share/systemtap/runtime/linux/access_process_vm.h:35:13: error: too many arguments to function ‘get_user_pages’
  70. ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
  71. ^
  72. In file included from ./include/linux/pid_namespace.h:6:0,
  73. from ./include/linux/ptrace.h:8,
  74. from ./include/linux/ftrace.h:13,
  75. from ./include/linux/kprobes.h:42,
  76. from /usr/share/systemtap/runtime/linux/runtime.h:21,
  77. from /usr/share/systemtap/runtime/runtime.h:24,
  78. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  79. ./include/linux/mm.h:1315:6: note: declared here
  80. long get_user_pages(unsigned long start, unsigned long nr_pages,
  81. ^
  82. In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
  83. from /usr/share/systemtap/runtime/runtime.h:24,
  84. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
  85. /usr/share/systemtap/runtime/linux/access_process_vm.h:55:7: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration]
  86. page_cache_release (page);
  87. ^
  88. In file included from /usr/share/systemtap/runtime/linux/print.c:17:0,
  89. from /usr/share/systemtap/runtime/print.c:17,
  90. from /usr/share/systemtap/runtime/runtime_context.h:22,
  91. from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:3717:
  92. /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_lock_inode’:
  93. /usr/share/systemtap/runtime/transport/transport.c:506:19: error: ‘struct inode’ has no member named ‘i_mutex’
  94. mutex_lock(&inode->i_mutex);
  95. ^
  96. /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_unlock_inode’:
  97. /usr/share/systemtap/runtime/transport/transport.c:515:21: error: ‘struct inode’ has no member named ‘i_mutex’
  98. mutex_unlock(&inode->i_mutex);
  99. ^
  100. cc1: all warnings being treated as errors
  101. scripts/Makefile.build:289: recipe for target '/tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.o' failed
  102. make[1]: *** [/tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.o] Error 1
  103. Makefile:1491: recipe for target '_module_/tmp/staphKhuuX' failed
  104. make: *** [_module_/tmp/staphKhuuX] Error 2
  105. WARNING: kbuild exited with status: 2
  106. Pass 4: compilation failed. [man error::pass4]
  107. Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement