Advertisement
z3ntu

umockdev compile log

Aug 19th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.66 KB | None | 0 0
  1. localhost:~/umockdev$ make
  2. make all-recursive
  3. make[1]: Entering directory '/home/luca/umockdev'
  4. Making all in .
  5. make[2]: Entering directory '/home/luca/umockdev'
  6. CC src/umockdev_run-umockdev-run.o
  7. CCLD src/umockdev-run
  8. CC src/umockdev_record-umockdev-record.o
  9. CCLD src/umockdev-record
  10. CC tests/test_umockdev-test-umockdev.o
  11. CCLD tests/test-umockdev
  12. CC src/tests_test_ioctl_tree-ioctl_tree.o
  13. CCLD tests/test-ioctl-tree
  14. CC tests/test_umockdev_run-test-umockdev-run.o
  15. CCLD tests/test-umockdev-run
  16. VALAC tests_test_umockdev_record_vala.stamp
  17. tests/test-umockdev-record.vala:205.1-206.12: warning: method `t_system_all' never used
  18. Compilation succeeded - 1 warning(s)
  19. CC tests/test_umockdev_record-test-umockdev-record.o
  20. CCLD tests/test-umockdev-record
  21. CC src/libumockdev_preload_la-ioctl_tree.lo
  22. CC src/libumockdev_preload_la-libumockdev-preload.lo
  23. src/libumockdev-preload.c: In function 'stat':
  24. src/libumockdev-preload.c:1065:8: error: '_stat64' undeclared (first use in this function)
  25. r = (*_ ## name)(p, arg2); \
  26. ^
  27. src/libumockdev-preload.c:1242:1: note: in expansion of macro 'WRAP_2ARGS'
  28. WRAP_2ARGS(int, -1, stat64, struct stat64 *);
  29. ^~~~~~~~~~
  30. src/libumockdev-preload.c:1065:8: note: each undeclared identifier is reported only once for each function it appears in
  31. r = (*_ ## name)(p, arg2); \
  32. ^
  33. src/libumockdev-preload.c:1242:1: note: in expansion of macro 'WRAP_2ARGS'
  34. WRAP_2ARGS(int, -1, stat64, struct stat64 *);
  35. ^~~~~~~~~~
  36. src/libumockdev-preload.c: At top level:
  37. src/libumockdev-preload.c:1246:21: error: redefinition of 'stat'
  38. WRAP_2ARGS(int, -1, stat, struct stat *);
  39. ^
  40. src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
  41. rettype name(const char *path, arg2t arg2) \
  42. ^~~~
  43. src/libumockdev-preload.c:1242:21: note: previous definition of 'stat' was here
  44. WRAP_2ARGS(int, -1, stat64, struct stat64 *);
  45. ^
  46. src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
  47. rettype name(const char *path, arg2t arg2) \
  48. ^~~~
  49. src/libumockdev-preload.c:1247:26: error: redefinition of 'fopen'
  50. WRAP_2ARGS(FILE *, NULL, fopen64, const char *);
  51. ^
  52. src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
  53. rettype name(const char *path, arg2t arg2) \
  54. ^~~~
  55. In file included from /usr/include/fortify/stdio.h:20:0,
  56. from src/libumockdev-preload.c:36:
  57. /usr/include/stdio.h:63:7: note: previous definition of 'fopen' was here
  58. FILE *fopen(const char *__restrict, const char *__restrict);
  59. ^~~~~
  60. src/libumockdev-preload.c: In function 'fopen':
  61. src/libumockdev-preload.c:1065:8: error: '_fopen64' undeclared (first use in this function)
  62. r = (*_ ## name)(p, arg2); \
  63. ^
  64. src/libumockdev-preload.c:1247:1: note: in expansion of macro 'WRAP_2ARGS'
  65. WRAP_2ARGS(FILE *, NULL, fopen64, const char *);
  66. ^~~~~~~~~~
  67. src/libumockdev-preload.c: At top level:
  68. src/libumockdev-preload.c:1248:21: error: redefinition of 'lstat'
  69. WRAP_2ARGS(int, -1, lstat64, struct stat64 *);
  70. ^
  71. src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
  72. rettype name(const char *path, arg2t arg2) \
  73. ^~~~
  74. In file included from src/libumockdev-preload.c:41:0:
  75. /usr/include/sys/stat.h:75:5: note: previous definition of 'lstat' was here
  76. int lstat(const char *__restrict, struct stat *__restrict);
  77. ^~~~~
  78. src/libumockdev-preload.c: In function 'lstat':
  79. src/libumockdev-preload.c:1065:8: error: '_lstat64' undeclared (first use in this function)
  80. r = (*_ ## name)(p, arg2); \
  81. ^
  82. src/libumockdev-preload.c:1248:1: note: in expansion of macro 'WRAP_2ARGS'
  83. WRAP_2ARGS(int, -1, lstat64, struct stat64 *);
  84. ^~~~~~~~~~
  85. src/libumockdev-preload.c: At top level:
  86. src/libumockdev-preload.c:1257:14: error: no previous prototype for '__xstat' [-Werror=missing-prototypes]
  87. WRAP_VERSTAT(__x,);
  88. ^
  89. src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
  90. int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
  91. ^~~~~~
  92. src/libumockdev-preload.c:1258:14: error: no previous prototype for '__xstat64' [-Werror=missing-prototypes]
  93. WRAP_VERSTAT(__x, 64);
  94. ^
  95. src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
  96. int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
  97. ^~~~~~
  98. src/libumockdev-preload.c:1259:14: error: no previous prototype for '__lxstat' [-Werror=missing-prototypes]
  99. WRAP_VERSTAT(__lx,);
  100. ^
  101. src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
  102. int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
  103. ^~~~~~
  104. src/libumockdev-preload.c:1260:14: error: no previous prototype for '__lxstat64' [-Werror=missing-prototypes]
  105. WRAP_VERSTAT(__lx, 64);
  106. ^
  107. src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
  108. int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
  109. ^~~~~~
  110. In file included from src/libumockdev-preload.c:30:0:
  111. src/libumockdev-preload.c:1181:15: error: redefinition of 'open'
  112. int prefix ## open ## suffix (const char *path, int flags, ...) \
  113. ^
  114. src/libumockdev-preload.c:1310:1: note: in expansion of macro 'WRAP_OPEN'
  115. WRAP_OPEN(, 64);
  116. ^~~~~~~~~
  117. /usr/include/fcntl.h:34:5: note: previous definition of 'open' was here
  118. int open(const char *, int, ...);
  119. ^~~~
  120. src/libumockdev-preload.c:1271:15: error: redefinition of 'openat'
  121. int prefix ## openat ## suffix (int dirfd, const char *pathname, int flags, ...) \
  122. ^
  123. src/libumockdev-preload.c:1312:1: note: in expansion of macro 'WRAP_OPENAT'
  124. WRAP_OPENAT(, 64);
  125. ^~~~~~~~~~~
  126. /usr/include/fcntl.h:35:5: note: previous definition of 'openat' was here
  127. int openat(int, const char *, int, ...);
  128. ^~~~~~
  129. src/libumockdev-preload.c:1534:1: error: conflicting types for 'ioctl'
  130. ioctl(int d, unsigned long request, ...)
  131. ^~~~~
  132. In file included from /usr/include/linux/input.h:14:0,
  133. from src/libumockdev-preload.c:49:
  134. /usr/include/sys/ioctl.h:9:5: note: previous declaration of 'ioctl' was here
  135. int ioctl (int, int, ...);
  136. ^~~~~
  137. cc1: some warnings being treated as errors
  138. make[2]: *** [Makefile:1218: src/libumockdev_preload_la-libumockdev-preload.lo] Error 1
  139. make[2]: Leaving directory '/home/luca/umockdev'
  140. make[1]: *** [Makefile:1602: all-recursive] Error 1
  141. make[1]: Leaving directory '/home/luca/umockdev'
  142. make: *** [Makefile:881: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement