From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,ad320259174562e0,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2003-10-13 17:12:02 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!in.100proofnews.com!in.100proofnews.com!pd2nf1so.cg.shawcable.net!residential.shaw.ca!pd7cy1no!shaw.ca!news.alt.net!plato.usenetgateway.com!not-for-mail From: sachingmiskin Newsgroups: comp.unix.tru64 Subject: Re: TRUSS for TRu64 v5.1a Date: Tue, 07 Oct 2003 09:15:11 -0400 Organization: dBforums Sender: sachingmiskin Message-ID: <3406586.1065532511@dbforums.com> References: User-Agent: dBforums X-Original-NNTP-Posting-Host: db1.hotscripts.net X-Original-Trace: 13 Oct 2003 23:58:32 GMT, db1.hotscripts.net X-Authenticated-User: usenetgateway Xref: archiver1.google.com comp.unix.tru64:10821 Originally posted by david20 > In article , > 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..... -- Posted via http://dbforums.com