From: sachingmiskin <member43009@dbforums.com>
Subject: Re: TRUSS for TRu64 v5.1a
Date: Tue, 07 Oct 2003 09:14:16 -0400 [thread overview]
Message-ID: <3406585.1065532456@dbforums.com> (raw)
In-Reply-To: abe3d3$k39$1@aquila.mdx.ac.uk
Originally posted by david20
> In article <abe06s$gsr$2@newsflash.concordia.ca>,
> syl@alcor.concordia.ca (Sylvain
> Robitaille) writes:
> >On Thu, 9 May 2002 12:26:04 +0000 (UTC), david20@alpha1.mdx.ac.uk
> wrote:
> >
> >> I'm trying to find Truss for Tru64 V5.1a.
> >
> >We've been using a package called simply "trace" for years with
> 4.0[bd-g]
> >
> >Picked it up in 1997 at
> ftp://ftp.iastate.eduftp.iastate.edu in
> >/pub/unix/osf1/trace/alpha-trace-1.25.tar.Z
> >
> >I don't promise the FTP site is still functional, but I'm sure
> that package is still
> >around. (actually, the FTP site does still have it and they're
> now up to
> >alpha-trace-1.34.tar.Z, last updated Jan 12 1999).
> >
> >I hope that helps...
> >
>
> Thanks I'd already found it by looking at earlier posts on this
> subject.
> Unfortunately I get errors when trying to make it on Tru64 v5.1a
>
> :-
>
> clotho# make cc -migrate -g -std1 -c trace.c
> cc: Info: util.h, line 5: The type "struct sockaddr" has been
> declared within and
> is limited to a function prototype scope. It will not be
> compatible with an
> identical type declared in another scope. This might not be
> what you intended.
> (protoscope) void pr_sockaddr (struct sockaddr *, int, int);
>
> cci: Error: trace.c, line 538: In this statement, "EF_A3" is not
> declared.
> (undeclared) ®s.regs[EF_A3],
>
> ccii: Error: trace.c, line 555: In this statement, "EF_T8" is not
> declared.
> (undeclared)
>
> (regs.regs[EF_T8])?(long)(-1):(int)(regs.regs[0]),/*return*/
>
> cciii: Error: trace.c, line 568: In this statement, "EF_T8" is not
> declared.
> (undeclared) if(!regs.regs[EF_T8]) { /* did fork() succeed? */
>
> *** Exit 1 Stop. clotho#
>
> Any ideas ?
>
> David Webb VMs and Unix team leader CCSS Middlesex University
>
Hi,
The error EF_A3 and EF_T8 not declared are due to some problem in
the V5.1 Tru64 header file. The build goes fine on V4.0. When the
/usr/include/machine/reg.h file which contains the definitions for
the above constants is viewed in the two versions of OS,
V5.1 contains this line
#if defined(_KERNEL) || defined(_EXCEPTION_FRAME)
whereas V4.0 doesn't. I dont know how are _KERNEL and
_EXCEPTION_FRAME set.
Hope that helps.....
Sachin
--
Posted via http://dbforums.com
next prev parent reply other threads:[~2003-10-07 13:14 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-09 12:26 TRUSS for TRu64 v5.1a david20
2002-05-09 14:13 ` Sylvain Robitaille
2002-05-09 15:08 ` david20
2003-10-07 13:14 ` sachingmiskin [this message]
2002-05-10 11:58 ` Emmanuel Choquet
2002-05-10 13:57 ` david20
2003-10-07 13:15 ` sachingmiskin
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox