Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- localhost:~/umockdev$ make
- make all-recursive
- make[1]: Entering directory '/home/luca/umockdev'
- Making all in .
- make[2]: Entering directory '/home/luca/umockdev'
- CC src/umockdev_run-umockdev-run.o
- CCLD src/umockdev-run
- CC src/umockdev_record-umockdev-record.o
- CCLD src/umockdev-record
- CC tests/test_umockdev-test-umockdev.o
- CCLD tests/test-umockdev
- CC src/tests_test_ioctl_tree-ioctl_tree.o
- CCLD tests/test-ioctl-tree
- CC tests/test_umockdev_run-test-umockdev-run.o
- CCLD tests/test-umockdev-run
- VALAC tests_test_umockdev_record_vala.stamp
- tests/test-umockdev-record.vala:205.1-206.12: warning: method `t_system_all' never used
- Compilation succeeded - 1 warning(s)
- CC tests/test_umockdev_record-test-umockdev-record.o
- CCLD tests/test-umockdev-record
- CC src/libumockdev_preload_la-ioctl_tree.lo
- CC src/libumockdev_preload_la-libumockdev-preload.lo
- src/libumockdev-preload.c: In function 'stat':
- src/libumockdev-preload.c:1065:8: error: '_stat64' undeclared (first use in this function)
- r = (*_ ## name)(p, arg2); \
- ^
- src/libumockdev-preload.c:1242:1: note: in expansion of macro 'WRAP_2ARGS'
- WRAP_2ARGS(int, -1, stat64, struct stat64 *);
- ^~~~~~~~~~
- src/libumockdev-preload.c:1065:8: note: each undeclared identifier is reported only once for each function it appears in
- r = (*_ ## name)(p, arg2); \
- ^
- src/libumockdev-preload.c:1242:1: note: in expansion of macro 'WRAP_2ARGS'
- WRAP_2ARGS(int, -1, stat64, struct stat64 *);
- ^~~~~~~~~~
- src/libumockdev-preload.c: At top level:
- src/libumockdev-preload.c:1246:21: error: redefinition of 'stat'
- WRAP_2ARGS(int, -1, stat, struct stat *);
- ^
- src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
- rettype name(const char *path, arg2t arg2) \
- ^~~~
- src/libumockdev-preload.c:1242:21: note: previous definition of 'stat' was here
- WRAP_2ARGS(int, -1, stat64, struct stat64 *);
- ^
- src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
- rettype name(const char *path, arg2t arg2) \
- ^~~~
- src/libumockdev-preload.c:1247:26: error: redefinition of 'fopen'
- WRAP_2ARGS(FILE *, NULL, fopen64, const char *);
- ^
- src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
- rettype name(const char *path, arg2t arg2) \
- ^~~~
- In file included from /usr/include/fortify/stdio.h:20:0,
- from src/libumockdev-preload.c:36:
- /usr/include/stdio.h:63:7: note: previous definition of 'fopen' was here
- FILE *fopen(const char *__restrict, const char *__restrict);
- ^~~~~
- src/libumockdev-preload.c: In function 'fopen':
- src/libumockdev-preload.c:1065:8: error: '_fopen64' undeclared (first use in this function)
- r = (*_ ## name)(p, arg2); \
- ^
- src/libumockdev-preload.c:1247:1: note: in expansion of macro 'WRAP_2ARGS'
- WRAP_2ARGS(FILE *, NULL, fopen64, const char *);
- ^~~~~~~~~~
- src/libumockdev-preload.c: At top level:
- src/libumockdev-preload.c:1248:21: error: redefinition of 'lstat'
- WRAP_2ARGS(int, -1, lstat64, struct stat64 *);
- ^
- src/libumockdev-preload.c:1055:9: note: in definition of macro 'WRAP_2ARGS'
- rettype name(const char *path, arg2t arg2) \
- ^~~~
- In file included from src/libumockdev-preload.c:41:0:
- /usr/include/sys/stat.h:75:5: note: previous definition of 'lstat' was here
- int lstat(const char *__restrict, struct stat *__restrict);
- ^~~~~
- src/libumockdev-preload.c: In function 'lstat':
- src/libumockdev-preload.c:1065:8: error: '_lstat64' undeclared (first use in this function)
- r = (*_ ## name)(p, arg2); \
- ^
- src/libumockdev-preload.c:1248:1: note: in expansion of macro 'WRAP_2ARGS'
- WRAP_2ARGS(int, -1, lstat64, struct stat64 *);
- ^~~~~~~~~~
- src/libumockdev-preload.c: At top level:
- src/libumockdev-preload.c:1257:14: error: no previous prototype for '__xstat' [-Werror=missing-prototypes]
- WRAP_VERSTAT(__x,);
- ^
- src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
- int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
- ^~~~~~
- src/libumockdev-preload.c:1258:14: error: no previous prototype for '__xstat64' [-Werror=missing-prototypes]
- WRAP_VERSTAT(__x, 64);
- ^
- src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
- int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
- ^~~~~~
- src/libumockdev-preload.c:1259:14: error: no previous prototype for '__lxstat' [-Werror=missing-prototypes]
- WRAP_VERSTAT(__lx,);
- ^
- src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
- int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
- ^~~~~~
- src/libumockdev-preload.c:1260:14: error: no previous prototype for '__lxstat64' [-Werror=missing-prototypes]
- WRAP_VERSTAT(__lx, 64);
- ^
- src/libumockdev-preload.c:1150:5: note: in definition of macro 'WRAP_VERSTAT'
- int prefix ## stat ## suffix (int ver, const char *path, struct stat ## suffix *st) \
- ^~~~~~
- In file included from src/libumockdev-preload.c:30:0:
- src/libumockdev-preload.c:1181:15: error: redefinition of 'open'
- int prefix ## open ## suffix (const char *path, int flags, ...) \
- ^
- src/libumockdev-preload.c:1310:1: note: in expansion of macro 'WRAP_OPEN'
- WRAP_OPEN(, 64);
- ^~~~~~~~~
- /usr/include/fcntl.h:34:5: note: previous definition of 'open' was here
- int open(const char *, int, ...);
- ^~~~
- src/libumockdev-preload.c:1271:15: error: redefinition of 'openat'
- int prefix ## openat ## suffix (int dirfd, const char *pathname, int flags, ...) \
- ^
- src/libumockdev-preload.c:1312:1: note: in expansion of macro 'WRAP_OPENAT'
- WRAP_OPENAT(, 64);
- ^~~~~~~~~~~
- /usr/include/fcntl.h:35:5: note: previous definition of 'openat' was here
- int openat(int, const char *, int, ...);
- ^~~~~~
- src/libumockdev-preload.c:1534:1: error: conflicting types for 'ioctl'
- ioctl(int d, unsigned long request, ...)
- ^~~~~
- In file included from /usr/include/linux/input.h:14:0,
- from src/libumockdev-preload.c:49:
- /usr/include/sys/ioctl.h:9:5: note: previous declaration of 'ioctl' was here
- int ioctl (int, int, ...);
- ^~~~~
- cc1: some warnings being treated as errors
- make[2]: *** [Makefile:1218: src/libumockdev_preload_la-libumockdev-preload.lo] Error 1
- make[2]: Leaving directory '/home/luca/umockdev'
- make[1]: *** [Makefile:1602: all-recursive] Error 1
- make[1]: Leaving directory '/home/luca/umockdev'
- make: *** [Makefile:881: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement