strace-4.5.20 doesn't compile on freebsd

Davide Italiano davide.italiano at gmail.com
Mon Sep 13 14:11:00 UTC 2010


As topic.
When I try to compile I got this error.


===>  Building for strace-4.5.20_1
make  all-am
cc -DHAVE_CONFIG_H -I. -I./freebsd/i386 -I./freebsd    -Wall -O2 -pipe
-fno-strict-aliasing -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o
strace.o strace.c
strace.c: In function 'trace':
strace.c:2126: warning: format '%ld' expects type 'long int *', but
argument 3 has type 'time_t *'
strace.c:2177: error: 'CFLAGS_ONLY_STATS' undeclared (first use in
this function)
strace.c:2177: error: (Each undeclared identifier is reported only once
strace.c:2177: error: for each function it appears in.)
*** Error code 1

I'm reporting this to upstream considering I'm taking the
mantainership of this software on freebsd.

Regards,

Davide




More information about the Strace-devel mailing list