strace: Changes needed to install on Solaris 7

Dan Sullivan Sullivan.DanielJ at epamail.epa.gov
Thu Aug 23 17:22:27 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

The #defines from config.h (./configure) are
#define GETGROUPS_T gid_t
#define HAVE_ST_BLKSIZE 1
#define HAVE_ST_BLOCKS 1
#define HAVE_ST_RDEV 1
#define MAJOR_IN_MKDEV 1
#define RETSIGTYPE void
#define STDC_HEADERS 1
#define SVR4 1
#define SYS_SIGLIST_DECLARED 1
#define SVR4 1
#define SPARC 1
#define HAVE_POLLABLE_PROCFS 1
#define HAVE_PR_SYSCALL 1
#define HAVE_SIG_ATOMIC_T 1
#define HAVE_STAT64 1
#define HAVE_LONG_LONG 1
#define HAVE_ST_FSTYPE 1
#define HAVE__SYS_SIGLIST 1
#define HAVE_GETDENTS 1
#define HAVE_PREAD 1
#define HAVE_PUTPMSG 1
#define HAVE_SIGACTION 1
#define HAVE_STRERROR 1
#define HAVE_STRSIGNAL 1
#define HAVE_DIRENT_H 1
#define HAVE_NETINET_TCP_H 1
#define HAVE_NETINET_UDP_H 1
#define HAVE_SYS_ACL_H 1
#define HAVE_SYS_AIO_H 1
#define HAVE_SYS_ASYNCH_H 1
#define HAVE_SYS_DOOR_H 1
#define HAVE_SYS_FILIO_H 1
#define HAVE_SYS_IOCTL_H 1
#define HAVE_SYS_POLL_H 1
#define HAVE_SYS_PTRACE_H 1
#define HAVE_SYS_REG_H 1
#define HAVE_SYS_STREAM_H 1
#define HAVE_SYS_SYSCONFIG_H 1
#define HAVE_SYS_TIUSER_H 1
#define HAVE_SYS_UIO_H 1
#define HAVE_SYS_VFS_H 1
#define HAVE_TERMIO_H 1
#define HAVE_LIBNSL 1

Cheers, Dan.

 
-- 
Dan Sullivan
Systems Engineering
Lockheed Martin
  Sullivan.DanielJ at epa.gov, DanielJ Sullivan/RTP/USEPA/US




More information about the Strace-devel mailing list