In strace-4.2. It uses autoconf to determine if stat64() is available,
and checks this as #ifdef HAVE_STAT64 in all places except of one,
in file.c, where it is written as #ifdef STAT64. This resulted in
bad compilation (unresolved symbol printstat64 on linking stage).
I'm very interested on -- how this was compiled on RedHat itself!?
Trivial patch attached.
Created attachment 178 [details]
trivial #ifdef STAT64 => #ifdef HAVE_STAT64
fixed in 4.2-3. Thanks!