Advertisement
Guest User

Untitled

a guest
May 24th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.79 KB | None | 0 0
  1. criu/seccomp.c:30:25: error: ‘struct seccomp_metadata’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
  2. int len, struct seccomp_metadata *meta)
  3. ^~~~~~~~~~~~~~~~
  4. CC criu/sockets.o
  5. criu/seccomp.c: In function ‘find_inherited’:
  6. criu/seccomp.c:45:34: error: dereferencing pointer to incomplete type ‘struct seccomp_metadata’
  7. if (info->filter.flags != meta->flags)
  8. ^~
  9. criu/seccomp.c: In function ‘collect_filter_for_pstree’:
  10. criu/seccomp.c:57:26: error: storage size of ‘meta_buf’ isn’t known
  11. struct seccomp_metadata meta_buf, *meta = &meta_buf;
  12. ^~~~~~~~
  13. criu/seccomp.c:89:7: error: dereferencing pointer to incomplete type ‘struct seccomp_metadata’
  14. meta->flags = 0;
  15. ^~
  16. criu/seccomp.c:108:54: error: passing argument 4 of ‘find_inherited’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  17. inherited = find_inherited(item->parent, buf, len, meta);
  18. ^~~~
  19. criu/seccomp.c:30:43: note: expected ‘struct seccomp_metadata *’ but argument is of type ‘struct seccomp_metadata *’
  20. int len, struct seccomp_metadata *meta)
  21. ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
  22. criu/seccomp.c:57:26: error: unused variable ‘meta_buf’ [-Werror=unused-variable]
  23. struct seccomp_metadata meta_buf, *meta = &meta_buf;
  24. ^~~~~~~~
  25. cc1: all warnings being treated as errors
  26. make[2]: *** [/home/rst/Projects/Libvirt/criu/scripts/nmk/scripts/build.mk:111: criu/seccomp.o] Error 1
  27. make[2]: *** Waiting for unfinished jobs....
  28. make[1]: *** [criu/Makefile:78: criu/built-in.o] Error 2
  29. make: *** [Makefile:228: criu] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement