Failed to compile GDB-4.17 on Linux
Yan Huang
yan@codonics.com
Thu Nov 12 09:38:00 GMT 1998
Hello,
I tried to compiled the gdb-4.17 on my Linux-2.0.35 with
glibc-2.0.7pre7 and egcs-1.1, but I failed with following errors:
infptrace.c: In function `attach':
infptrace.c:206: `PTRACE_ATTACH' undeclared (first use in 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 in this function)
make[1]: *** [infptrace.o] Error 1
make[1]: Leaving directory `/usr/src/Gnu/gdb-4.17/gdb'
It seems the related include file has not been recognized as
expected. If someone here has a idea to fix, please enlighten me as
well.
I appreciate.
Best,
--- yan
__________ Yan Huang ________________
.--. __ .------ Software Engineer, Codonics, Inc.
/ / \( )/ ---- 17991 Englewood Dr.
//// ' \/ ` --- Middleburg Hts, Ohio 44130, USA
/ / / : :-- Email: yan@codonics.com
// //..\\ WWW: http://www.codonics.com
^^^ ^^^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the Gdb
mailing list