strace v4.6-60-g9015cd9 build error

Douglas Mencken dougmencken at gmail.com
Sun Jul 17 17:15:37 UTC 2011


I'm trying to build strace-v4.6-60-g9015cd9 (currently latest git
master), and got:

# make V=1
make  all-recursive
make[1]: Entering directory `/root/build-farm/strace-v4.6-60-g9015cd9.builddir'
Making all in tests
make[2]: Entering directory
`/root/build-farm/strace-v4.6-60-g9015cd9.builddir/tests'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/root/build-farm/strace-v4.6-60-g9015cd9.builddir/tests'
make[2]: Entering directory `/root/build-farm/strace-v4.6-60-g9015cd9.builddir'
powerpc-gnu-linux-uclibc-gcc -DHAVE_CONFIG_H -I.  -I./linux/powerpc
-I./linux -I./linux  -Wall -Wwrite-strings -g -O2 -MT strace.o -MD -MP
-MF .deps/strace.Tpo -c -o strace.o strace.c
strace.c: In function 'test_ptrace_setoptions_for_all':
strace.c:806:36: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use
in this function)
strace.c:806:36: note: each undeclared identifier is reported only
once for each function it appears in
strace.c:806:60: error: 'PTRACE_O_TRACEEXEC' undeclared (first use in
this function)
strace.c: In function 'handle_ptrace_event':
strace.c:2336:22: error: 'PTRACE_EVENT_EXEC' undeclared (first use in
this function)
strace.c: In function 'trace':
strace.c:2425:7: error: 'PTRACE_EVENT_VFORK_DONE' undeclared (first
use in this function)
strace.c:2425:6: error: array index in initializer not of integer type
strace.c:2425:6: error: (near initialization for 'event_names')
strace.c:2426:7: error: 'PTRACE_EVENT_EXEC' undeclared (first use in
this function)
strace.c:2426:6: error: array index in initializer not of integer type
strace.c:2426:6: error: (near initialization for 'event_names')
strace.c:2427:7: error: 'PTRACE_EVENT_EXIT' undeclared (first use in
this function)
strace.c:2427:6: error: array index in initializer not of integer type
strace.c:2427:6: error: (near initialization for 'event_names')
strace.c:2647:5: warning: passing argument 4 of 'ptrace' makes integer
from pointer without a cast [enabled by default]
defs.h:162:13: note: expected 'long int' but argument is of type
'struct siginfo_t *'
make[2]: *** [strace.o] Error 1
make[2]: Leaving directory `/root/build-farm/strace-v4.6-60-g9015cd9.builddir'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build-farm/strace-v4.6-60-g9015cd9.builddir'
make: *** [all] Error 2

I'm configuring strace as:

autoreconf -vi
./configure --prefix=/usr --sysconfdir=/etc
--build=powerpc-gnu-linux-uclibc --host=powerpc-gnu-linux-uclibc




More information about the Strace-devel mailing list