From: Charles Lepple <clepple@foo.tho.org>
To: Ralf Baechle <ralf@uni-koblenz.de>
Cc: Linux/SGI <linux@cthulhu.engr.sgi.com>
Subject: strace issues [was Re: am-utils and NIS]
Date: Mon, 03 May 1999 02:10:48 +0000 [thread overview]
Message-ID: <372D05A8.F3EB83D9@foo.tho.org> (raw)
In-Reply-To: 19990422233451.A12932@uni-koblenz.de
[I'm cc'ing this to the list in case anyone else has seen this behaviour
in strace]
Ralf Baechle wrote:
[stuff about ypcat failing]
> Can you send me the strace output of the failing command?
One of these days I'll manage to compile something without incident...
I grabbed the strace CVS module, and tried to build it. Configure
identified a 'mips-unknown-linux', and things went fine until time.c:
>>>>
gcc -Wall -DHAVE_CONFIG_H -I. -Ilinux/mips -I./linux/mips -Ilinux
-I./linux -g -O2 -c time.c
/usr/include/asm/timex.h: In function `get_cycles':
In file included from /usr/include/linux/timex.h:138,
from time.c:36:
/usr/include/asm/timex.h:36: warning: implicit declaration of function
`read_32bit_cp0_register'
/usr/include/asm/timex.h:36: `CP0_COUNT' undeclared (first use this
function)
/usr/include/asm/timex.h:36: (Each undeclared identifier is reported
only once
/usr/include/asm/timex.h:36: for each function it appears in.)
make: *** [time.o] Error 1
<<<<
So I looked up the offending function, and added '#include
<asm/mipsregs.h>' before the other Linux-specific includes. This
produced an executable, but when I ran 'strace -o /tmp/ypcat -f ypcat
group', the strace output ended like this:
>>>>
6341 gettimeofday({925689555, 977502}, NULL) = 0
6341 getpid() = 6341
6341 socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 4
6341 getpid() = 6341
6341 bind(4, {sin_family=AF_INET, sin_port=htons(1005),
sin_addr=inet_addr("0.0
.0.0")}, 16) = 0
6341 ioctl(4, 0x667e, 0x7ffffb18) = 0
<<<<
No exit indication, and no output from the ypcat program, either. The
error code from strace was zero.
The kernel source and strace were both pulled from CVS about an hour
ago.
Any ideas?
--
Charles Lepple
System Administrator, Virginia Tech EE Workstation Labs
clepple@ee.vt.edu || http://www.foo.tho.org/charles/
next prev parent reply other threads:[~1999-05-03 2:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-04-23 3:07 am-utils and NIS Charles Lepple
[not found] ` <19990422233451.A12932@uni-koblenz.de>
1999-05-03 2:10 ` Charles Lepple [this message]
1999-05-08 21:51 ` Ulf Carlsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=372D05A8.F3EB83D9@foo.tho.org \
--to=clepple@foo.tho.org \
--cc=linux@cthulhu.engr.sgi.com \
--cc=ralf@uni-koblenz.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox