Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- /usr/share/systemtap/runtime/linux/access_process_vm.h: In function ‘__access_process_vm_’:
- /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]
- ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
- ^
- In file included from ./include/linux/pid_namespace.h:6:0,
- from ./include/linux/ptrace.h:8,
- from ./include/linux/ftrace.h:13,
- from ./include/linux/kprobes.h:42,
- from /usr/share/systemtap/runtime/linux/runtime.h:21,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- ./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 /usr/share/systemtap/runtime/linux/runtime.h:204:0,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- /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]
- ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
- ^
- In file included from ./include/linux/pid_namespace.h:6:0,
- from ./include/linux/ptrace.h:8,
- from ./include/linux/ftrace.h:13,
- from ./include/linux/kprobes.h:42,
- from /usr/share/systemtap/runtime/linux/runtime.h:21,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- ./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,
- ^
- In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- /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]
- ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
- ^
- In file included from ./include/linux/pid_namespace.h:6:0,
- from ./include/linux/ptrace.h:8,
- from ./include/linux/ftrace.h:13,
- from ./include/linux/kprobes.h:42,
- from /usr/share/systemtap/runtime/linux/runtime.h:21,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- ./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,
- ^
- In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- /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]
- ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
- ^
- In file included from ./include/linux/pid_namespace.h:6:0,
- from ./include/linux/ptrace.h:8,
- from ./include/linux/ftrace.h:13,
- from ./include/linux/kprobes.h:42,
- from /usr/share/systemtap/runtime/linux/runtime.h:21,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- ./include/linux/mm.h:1315:6: note: expected ‘struct vm_area_struct **’ but argument is of type ‘int’
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- /usr/share/systemtap/runtime/linux/access_process_vm.h:35:13: error: too many arguments to function ‘get_user_pages’
- ret = get_user_pages (tsk, mm, addr, 1, write, 1, &page, &vma);
- ^
- In file included from ./include/linux/pid_namespace.h:6:0,
- from ./include/linux/ptrace.h:8,
- from ./include/linux/ftrace.h:13,
- from ./include/linux/kprobes.h:42,
- from /usr/share/systemtap/runtime/linux/runtime.h:21,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- ./include/linux/mm.h:1315:6: note: declared here
- long get_user_pages(unsigned long start, unsigned long nr_pages,
- ^
- In file included from /usr/share/systemtap/runtime/linux/runtime.h:204:0,
- from /usr/share/systemtap/runtime/runtime.h:24,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:25:
- /usr/share/systemtap/runtime/linux/access_process_vm.h:55:7: error: implicit declaration of function ‘page_cache_release’ [-Werror=implicit-function-declaration]
- page_cache_release (page);
- ^
- In file included from /usr/share/systemtap/runtime/linux/print.c:17:0,
- from /usr/share/systemtap/runtime/print.c:17,
- from /usr/share/systemtap/runtime/runtime_context.h:22,
- from /tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.c:3717:
- /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_lock_inode’:
- /usr/share/systemtap/runtime/transport/transport.c:506:19: error: ‘struct inode’ has no member named ‘i_mutex’
- mutex_lock(&inode->i_mutex);
- ^
- /usr/share/systemtap/runtime/transport/transport.c: In function ‘_stp_unlock_inode’:
- /usr/share/systemtap/runtime/transport/transport.c:515:21: error: ‘struct inode’ has no member named ‘i_mutex’
- mutex_unlock(&inode->i_mutex);
- ^
- cc1: all warnings being treated as errors
- scripts/Makefile.build:289: recipe for target '/tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.o' failed
- make[1]: *** [/tmp/staphKhuuX/stap_433bc82ee2e1f1ad4237d7363067d32d_69716_src.o] Error 1
- Makefile:1491: recipe for target '_module_/tmp/staphKhuuX' failed
- make: *** [_module_/tmp/staphKhuuX] Error 2
- WARNING: kbuild exited with status: 2
- Pass 4: compilation failed. [man error::pass4]
- Tip: /usr/share/doc/systemtap/README.Debian should help you get started.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement