strace-4.5.20 doesn't compile on freebsd

Mike Frysinger vapier at
Mon Sep 13 20:10:32 UTC 2010

On Monday, September 13, 2010 10:11:00 Davide Italiano wrote:
> ===>  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.

usually the guy who knows the system takes care of fixing it ...

might want to check latest git to see if it works
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Strace-devel mailing list