Subject: strace sw on DS10
To: None <port-alpha@netbsd.org>
From: Padiyath Sreekumaran <kumar.padiyath@psi.ch>
List: port-alpha
Date: 03/19/2007 16:00:38
Hello,
I have installed NetBSD SW on a Alpha DS10.( NetBSD 3.1 (GENERIC))
 Iam getting errors during the compilation of 'strace' utility
from pkgsrc/sysutils directory:

The error message:


/usr/bin/make  all-am
if cc -DHAVE_CONFIG_H -I. -I. -I. -Inetbsd/alpha -I./netbsd/alpha
-Inetbsd -I./netbsd    -Wall -O2 -mieee -MT strace.o -MD -MP -MF
 ".deps/strace.Tpo" -c -o strace.o strace.c;  then mv -f
".deps/strace.Tpo" ".deps/strace.Po"; else rm -f ".deps/strace.Tpo";
exit
 1; fi
strace.c: In function `resume':
strace.c:1187: error: `PTRACE_SYSCALL' undeclared (first use in this
function)
strace.c:1187: error: (Each undeclared identifier is reported only once
strace.c:1187: error: for each function it appears in.)
strace.c: In function `trace':
strace.c:2247: error: `PTRACE_SYSCALL' undeclared (first use in this
function)

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/sysutils/strace/work/.gcc/bin/gcc -DHAVE_CONFIG_H -I.
-Inetbsd/alpha -I./netbsd/alpha -Inetbsd -I./netbsd -Wall -O2 -m
ieee -MT strace.o -MD -MP -MF .deps/strace.Tpo -c -o strace.o strace.c
-I/usr/pkgsrc/sysutils/strace/work/.buildlink/include -L/us
r/pkgsrc/sysutils/strace/work/.buildlink/lib
*** Error code 1


Has anyone compiled this program on Alpha DS10? I will be very thankful
if
someone can help? Please send the mail to my E-Mail address also.

Thanks in advance,
  Kumar=20
 ------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath@psi.ch
AIT                      |   Office: WHGA/U132=20
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     |=20
Switzerland              |
-----------------------------------------------------------------