What happened to strace?

Thomas =?ISO-8859-1?Q?K=F6nig?= (Thomas.Koenig@ciw.uni-karlsruhe.de)
Wed, 1 May 1996 17:31:50 +0200 (MET DST)


What's happened to strace with the latest kernels? When I now run
'strace sendmail -q', I get very strange output:

[...]

open("/etc/host.conf", RDONLY) = 3
fstat(3, {...}) = 0
brk(0x4c000) = 0x4c000
read(3, , 4096) = 27
read(3, "", 4096) = 0
close(3) = 0
open("/etc/resolv.conf", RDONLY) = 3
fstat(3, {...}) = 0
read(3, , 4096) = 98
read(3, "", 4096) = 0
close(3) = 0
socket(PF_INET, DGRAM, IPPROTO_IP) = 3
connect(3, AF_UNIX(), 16) = 0
send(3, , 46, 0) = 46
select(41744, fdset0:[0 32 33 98 99 100 101 103 106 107 134 136 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 159 162 164 165 166 169 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 191 196
[...]
11877 11880 11881 11884 11885 11886 11890 11892 11893 11894 11897 11900 11901 11902 11904 11909 11910 11912 11913 11917 11918 11920 11922 11925 11926Bus error

This is with libc 4.7.6, 1.3.97 and sendmail 8.7.5.

I tried compiling strace 3.0 from the Debian distribution, but got a few
mysterious errors:

gcc -Wall -DHAVE_CONFIG_H -I. -I.. -I. -O3 -fstrength-reduce -c ../ioctlsort.c
In file included from ioctlent.raw:61,
from ../ioctlsort.c:51:
/usr/include/linux/mcdx.h:194: warning: #warning You have not edited mcdx.h
/usr/include/linux/mcdx.h:195: warning: #warning Perhaps irq and i/o settings are wrong.
In file included from ioctlent.raw:52,
from ../ioctlsort.c:51:
/usr/include/linux/if_frad.h:169: `CONFIG_DLCI_MAX' undeclared here (not in a function)
/usr/include/linux/if_frad.h:170: `CONFIG_DLCI_MAX' undeclared here (not in a function)

Huh?

-- 
Thomas Koenig, Thomas.Koenig@ciw.uni-karlsruhe.de, ig25@dkauni2.bitnet.
The joy of engineering is to find a straight line on a double
logarithmic diagram.