Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.54 KB | None | 0 0
  1. sprink ~/repos/libhijack/src $ make
  2. gcc -fPIC -g -Wall -DDEBUG -Di686 -I../include -fvisibility=hidden -c libhijack.c
  3. In file included from libhijack.c:24:
  4. ../include/hijack.h:55: error: expected specifier-qualifier-list before 'ElfW'
  5. ../include/hijack.h:61: error: expected specifier-qualifier-list before 'ElfW'
  6. ../include/hijack.h:67: error: expected specifier-qualifier-list before 'ElfW'
  7. libhijack.c: In function 'Attach':
  8. libhijack.c:202: error: 'PTRACE_ATTACH' undeclared (first use in this function)
  9. libhijack.c:202: error: (Each undeclared identifier is reported only once
  10. libhijack.c:202: error: for each function it appears in.)
  11. libhijack.c:202: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
  12. libhijack.c: In function 'Detach':
  13. libhijack.c:231: error: 'PTRACE_DETACH' undeclared (first use in this function)
  14. libhijack.c:231: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
  15. libhijack.c: In function 'GetRegs':
  16. libhijack.c:359: error: invalid application of 'sizeof' to incomplete type 'struct user_regs_struct'
  17. libhijack.c:363: error: 'PTRACE_GETREGS' undeclared (first use in this function)
  18. libhijack.c:363: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
  19. libhijack.c: In function 'SetRegs':
  20. libhijack.c:384: error: 'PTRACE_SETREGS' undeclared (first use in this function)
  21. libhijack.c:384: warning: passing argument 4 of 'ptrace' makes integer from pointer without a cast
  22. *** Error code 1
  23.  
  24. Stop in /usr/home/sprink/repos/libhijack/src.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement