patch to make current strace CVS compile on Solaris 2.6

Benjamin Rutt rutt+news at cis.ohio-state.edu
Tue Oct 23 21:33:02 UTC 2001


On my system (SunOS gamma 5.6 Generic_105181-28 sun4u sparc
SUNW,Ultra-4) a.k.a. Solaris 2.6, the following patch to very recent
CVS enables strace to compile.  (Reportedly it also helps strace
compile on a Solaris 2.8 system). Don't be deceived by the length, the
only thing added was the string

'stropts.h sys/tihdr.h'

to the end of the AC_CHECK_HEADERS macro.  I would be grateful if
someone could apply this patch to the current strace CVS.  Thank you,

Index: configure.in
===================================================================
RCS file: /cvsroot/strace/strace/configure.in,v
retrieving revision 1.34
diff -c -r1.34 configure.in
*** configure.in	2001/10/18 15:13:53	1.34
--- configure.in	2001/10/24 04:29:49
***************
*** 164,170 ****
  AC_CHECK_LIB(nsl, main)
  fi
  AC_CHECK_FUNCS(sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl putpmsg prctl sendmsg inet_ntop if_indextoname)
! AC_CHECK_HEADERS(sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h asm/sigcontext.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h linux/icmp.h linux/in6.h sys/uio.h sys/aio.h linux/netlink.h linux/if_packet.h poll.h sys/poll.h sys/vfs.h netinet/tcp.h netinet/udp.h asm/sysmips.h linux/utsname.h sys/nscsys.h)
  AC_DECL_SYS_ERRLIST
  AC_DECL_SYS_SIGLIST
  AC_DECL__SYS_SIGLIST
--- 164,170 ----
  AC_CHECK_LIB(nsl, main)
  fi
  AC_CHECK_FUNCS(sigaction strerror strsignal pread sys_siglist _sys_siglist getdents mctl putpmsg prctl sendmsg inet_ntop if_indextoname)
! AC_CHECK_HEADERS(sys/reg.h sys/filio.h sys/acl.h sys/asynch.h sys/door.h stropts.h sys/conf.h sys/stream.h sys/tihdr.h sys/tiuser.h sys/sysconfig.h asm/sigcontext.h ioctls.h sys/ioctl.h sys/ptrace.h termio.h linux/ptrace.h asm/reg.h linux/icmp.h linux/in6.h sys/uio.h sys/aio.h linux/netlink.h linux/if_packet.h poll.h sys/poll.h sys/vfs.h netinet/tcp.h netinet/udp.h asm/sysmips.h linux/utsname.h sys/nscsys.h stropts.h sys/tihdr.h)
  AC_DECL_SYS_ERRLIST
  AC_DECL_SYS_SIGLIST
  AC_DECL__SYS_SIGLIST

-- 
Benjamin Rutt <rutt at cis.ohio-state.edu>




More information about the Strace-devel mailing list