Group: fa.netbsd.ports.alpha




Subject: strace sw on DS10
From: christos@astron.com (Christos Zoulas)
Date: 3/20/2007 12:10:22 AM
In article <7CEC17D947D6FE43AD74F247161105E4E0BDC9@MAILBOX0B.psi.ch>, Padiyath Sreekumaran <kumar.padiyath@psi.ch> wrote: > >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 No, I just ported this for i386 and a long time ago. It should be fairly easy to port it to different platforms and make it autogenerate its files instead of depending on pre-built ones. I sent my patch to the author but he never replied, so I stopped working on it. christos