This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Building gdb6.7 failed AIX machine


Environment:
 CC = xlc
 CFLAGS = -q64
 CPP = cpp
 CXX = xlC
 OBJECT_MODE = 64

OS : AIX 5.3 64 bit Arch

Building gdb left me with this error message;

gmake[2]: Entering directory `/home/tools/ravit/gdb6.7/bfd'
/bin/sh ./libtool --tag=CC --mode=compile /usr/vac/bin/xlc -
DHAVE_CONFIG_H -I. -I.././bfd -I. -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -
DAIX_CORE  -DAIX_WEAK_SUPPORT -I. -I.././bfd -I.././bfd/../
include      -q64 -c -o rs6000-core.lo rs6000-core.c
libtool: compile:  /usr/vac/bin/xlc -DHAVE_CONFIG_H -I. -I.././bfd -I.
-DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -
I.././bfd -I.././bfd/../include -q64 -c rs6000-core.c -o rs6000-core.o
"rs6000-core.c", line 114.10: 1506-007 (S) "struct core_dump" is
undefined.
"rs6000-core.c", line 127.10: 1506-007 (S) " struct vm_info" is
undefined.
"rs6000-core.c", line 275.10: 1506-285 (S) The indirection operator
cannot be applied to a pointer to an incomplete struct or union.
"rs6000-core.c", line 275.10: 1506-285 (S) The indirection operator
cannot be applied to a pointer to an incomplete struct or union.
"rs6000-core.c", line 284.11: 1506-285 (S) The indirection operator
cannot be applied to a pointer to an incomplete struct or union.
"rs6000-core.c", line 284.11: 1506-285 (S) The indirection operator
cannot be applied to a pointer to an incomplete struct or union.
"rs6000-core.c", line 285.37: 1506-285 (S) The indirection operator
cannot be applied to a pointer to an incomplete struct or union.
"rs6000-core.c", line 285.37: 1506-285 (S) The indirection operator
cannot be applied to a pointer to an incomplete struct or union.
gmake[2]: *** [rs6000-core.lo] Error 1
gmake[2]: Leaving directory `/home/tools/ravit/gdb6.7/bfd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/tools/ravit/gdb6.7/bfd'


I searched in web , could not get any solution.
Please can some body give an idea to resolve this.

-- 
Thanks,
Ravi.T


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]