On Wed, 21 Oct 1998, Jose Rodriguez wrote:
> infptrace.c:206: `PTRACE_ATTACH' undeclared (first use this function)
> infptrace.c:206: (Each undeclared identifier is reported only once
> infptrace.c:206: for each function it appears in.)
> infptrace.c: In function `detach':
> infptrace.c:222: `PTRACE_DETACH' undeclared (first use this function)
> make: *** [infptrace.o] Error 1
> make: Leaving directory `/usr/src/gdb-4.17/gdb'
> make: *** [all-gdb] Error 2
> make: Leaving directory `/usr/src/gdb-4.17'
> make: *** [build] Error 2
> Note: PTRACE_DETACH and PTRACE_ATTACH is defined in </sys/ptrace.h>, but
> this file is not included due to a #define NO_PTRACE. Any ideas?
Upgrade your libc6.My libc6 and libc6-dev version are: 2.0.7t-1Which one should I use?
> I remember I could compile gdb-4.16 succesfully under Debian Bo 1.3.1Perhaps the gdb 4.17 i'm used is libc5 based? Maybe I need to install libc5-dev or something like that?
Yes, but 1.3.1 was libc5 based, and there were _MANY_ changes between gdb
4.16 and 1.17...
-- Jose Rodriguez email@example.com Instituto Nacional de Meteorologia SPAIN