Ok, I did it by myself. (Patch is attached.) Applied to current git master (strace-v4.6-60-g9015cd9): # patch -p1 < ../strace-v4.6-60-g9015cd9-fix-configure.ac.patch patching file configure.ac patching file defs.h
After applying this, I succeeded to build strace v4.6-60-g9015cd9-patched. Build log is attached too. Steve, thank you for solving this problem.
--- a/configure.ac +++ b/configure.ac @@ -306,16 +306,7 @@ AC_CHECK_MEMBERS([struct sigcontext.sc_hi2],,, [#include <signal.h> AC_CHECK_DECLS([sys_errlist]) AC_CHECK_DECLS([sys_siglist, _sys_siglist],,, [#include <signal.h>]) -AC_CHECK_DECLS([\ - PTRACE_SETOPTIONS, \ - PTRACE_GETEVENTMSG, \ - PTRACE_GETSIGINFO, \ - PTRACE_O_TRACEFORK, \ - PTRACE_O_TRACEVFORK, \ - PTRACE_O_TRACECLONE, \ - PTRACE_EVENT_FORK, \ - PTRACE_EVENT_VFORK, \ - PTRACE_EVENT_CLONE],,, [#include <sys/ptrace.h>]) +AC_CHECK_DECLS([PTRACE_SETOPTIONS, PTRACE_GETEVENTMSG, PTRACE_GETSIGINFO, PTRACE_O_TRACEFORK, PTRACE_O_TRACEVFORK, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXEC, PTRACE_O_TRACESYSGOOD, PTRACE_EVENT_FORK, PTRACE_EVENT_VFORK, PTRACE_EVENT_VFORK_DONE, PTRACE_EVENT_EXEC, PTRACE_EVENT_EXIT, PTRACE_EVENT_CLONE],,, [#include <sys/ptrace.h>]) AC_PATH_PROG([PERL], [perl]) diff --git a/defs.h b/defs.h index 0e80868..8f81f4d 100644 --- a/defs.h +++ b/defs.h @@ -326,6 +326,12 @@ extern int mp_ioctl(int f, int c, void *a, int s); # if !HAVE_DECL_PTRACE_O_TRACECLONE # define PTRACE_O_TRACECLONE 0x00000008 # endif +# if !HAVE_DECL_PTRACE_O_TRACESYSGOOD +# define PTRACE_O_TRACESYSGOOD 0x00000001 +# endif +# if !HAVE_DECL_PTRACE_O_TRACEEXEC +# define PTRACE_O_TRACEEXEC 0x00000010 +# endif # if !HAVE_DECL_PTRACE_EVENT_FORK # define PTRACE_EVENT_FORK 1 @@ -336,6 +342,15 @@ extern int mp_ioctl(int f, int c, void *a, int s); # if !HAVE_DECL_PTRACE_EVENT_CLONE # define PTRACE_EVENT_CLONE 3 # endif +# if !HAVE_DECL_PTRACE_EVENT_EXEC +# define PTRACE_EVENT_EXEC 4 +# endif +# if !HAVE_DECL_PTRACE_EVENT_VFORK_DONE +# define PTRACE_EVENT_VFORK_DONE 5 +# endif +# if !HAVE_DECL_PTRACE_EVENT_EXIT +# define PTRACE_EVENT_EXIT 4 +# endif #endif /* LINUX */ #if !defined __GNUC__
strace_build_log
Description: Binary data
------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________ Strace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/strace-devel
