Hi -
I'm trying to build the alpha-trace program on V5.1 and I'm getting the
following errors:
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);
------------------^
cc: Error: trace.c, line 524: In this statement, "EF_A3" is not declared.
(undeclared)
®s.regs[EF_A3],
-------------------------------^
cc: Error: trace.c, line 541: In this statement, "t" is not declared.
(undeclared)
(regs.regs[t])?(long)(-1):(int)(regs.regs[0]),/*return*/
-------------------------------^
cc: Error: trace.c, line 542: In this statement, "EF_T8" is not declared.
(undeclared)
(regs.regs[EF_T8])?(regs.regs[0]):(0));
/*errno*/
-------------------------------^
cc: Error: trace.c, line 554: In this statement, "EF_T8" is not declared.
(undeclared)
if(!regs.regs[EF_T8]) { /* did fork() succeed? */
------------------------------^
make: *** [trace.o] Error 1
Any information would be appreciated.
Enrique
Enrique Martin del Campo
Software Engineer
Securant Technologies
ecampo_at_securant.com
Received on Wed Apr 18 2001 - 18:34:05 NZST