[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems building GDB 5.0 on AIX 4.3.3
From: |
Adam Kerrison |
Subject: |
Problems building GDB 5.0 on AIX 4.3.3 |
Date: |
Wed, 06 Jun 2001 10:19:28 +0100 |
Hello
I've recently downloaded and configured gdb 5.0 to build on our
AIX 4.3.3 system.
The make starts of then falls over in infptrace.c:
"/usr/include/sys/ptrace.h", line 279,9: 1506-046 (S) Syntax error.
The problem appears to some clash in the definitions of PT_ATTACH
and PTRACE_ATTACH. The AIX system header contains an enum to
provide some Linux compatability - could this be the problem (is
configure detecting some Linux-ism's?)
My workaround was to hack infptrace.c and move the include of
<sys/ptrace.h> to the start of the file so I suspect the problem
lies in one of the gdb headers included before <sys/ptrace.h>
(sorry, I didn't do much more investigation!)
I also had the same problem with rs6000-nat.c - again, moving the
header allowed compilation to proceed.
However, when I try to use the built gdb I get:
ptrace ldinfo: Not enough space
Obviously, this could be a problem on our AIX system (a lack of
memory I suspect but the system appears to have plenty of memory
free). I'm am concerned that my hacky fix may have broken gdb
(esp. since I worked around a ptrace issue and thats what appears
to be failing)
Has gdb been built and run on AIX 4.3.3 before?
Adam K
PS> I'm using the IBM VA C compiler 5.0 not GCC :-(
--
Adam Kerrison - Chief Technology Officer, Micromuse Inc.
address@hidden T: +44 (0) 208 875 9500 F: +44 (0) 208 877 6209
adam.vcf
Description: Card for Adam Kerrison
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Problems building GDB 5.0 on AIX 4.3.3,
Adam Kerrison <=