strace-4.8 can't be compiled on kernel 3.10.6 and glibc-2.18

xinglp xinglp at gmail.com
Tue Aug 13 10:55:33 UTC 2013


The error messages below:
===================
gcc -DHAVE_CONFIG_H -I.  -I./linux/x86_64 -I./linux -I./linux  -Wall
-Wwrite-strings -g -O2 -MT process.o -MD -MP -MF .deps/process.Tpo -c
-o process.o process.c
In file included from process.c:66:0:
/usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct
ptrace_peeksiginfo_args'
 struct ptrace_peeksiginfo_args {
        ^
In file included from defs.h:159:0,
                 from process.c:37:
/usr/include/sys/ptrace.h:191:8: note: originally defined here
 struct ptrace_peeksiginfo_args
        ^
===================




More information about the Strace-devel mailing list