ppc/trace.c is using waitstatus bits without including the appropiate headers, leading to a build failure:
libtool: link: /home/gustavoz/b/test/output/host/usr/bin/powerpc-buildroot-linux-uclibc-gcc -Wall -Wsign-compare -Wfloat-equal -Wformat-security -pipe -Os -o ltrace main.o ./.libs/libltrace.a -lelf ./.libs/libltrace.a(lt1-trace.o): In function `syscall_p': trace.c:(.text+0x28): undefined reference to `WIFSTOPPED' trace.c:(.text+0x40): undefined reference to `WSTOPSIG' Signed-off-by: Gustavo Zacarias <[email protected]> --- sysdeps/linux-gnu/ppc/trace.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/sysdeps/linux-gnu/ppc/trace.c b/sysdeps/linux-gnu/ppc/trace.c index c152101..4357a1e 100644 --- a/sysdeps/linux-gnu/ppc/trace.c +++ b/sysdeps/linux-gnu/ppc/trace.c @@ -29,6 +29,8 @@ #include <errno.h> #include <signal.h> #include <string.h> +#include <sys/types.h> +#include <sys/wait.h> #include "backend.h" #include "breakpoint.h" -- 1.7.8.6 _______________________________________________ Ltrace-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/ltrace-devel
