strace: Changes needed to install on Solaris 7

John Hughes john at Calva.COM
Tue Sep 18 09:14:12 UTC 2001


> In order to compile strace 4.4 on a Solaris 7 sparc system
> (Generic_106541-17, with August patches), I had to make a
> few changes so that stream.c would compile.

> 1. Added -DHAVE_STROPTS_H to the stream.c compile line
> 2. Added two include files to stream.c:
 
>   52,56d51
>   < #if 1 || MY_QUICK_FIX
>   < #include <sys/stropts.h>
>   < #include <sys/tihdr.h>
>   < #endif

So configure didn't find /usr/include/stropts.h
or /usr/include/sys/tihdr.h.

Do you have any idea why?





More information about the Strace-devel mailing list