This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
build/1996: Can not compile gdb-6.3 on AIX 5.2 with gcc 3.4.4
- From: ltg at zes dot uni-bremen dot de
- To: gdb-gnats at sources dot redhat dot com
- Date: 23 Aug 2005 22:01:33 -0000
- Subject: build/1996: Can not compile gdb-6.3 on AIX 5.2 with gcc 3.4.4
- Reply-to: ltg at zes dot uni-bremen dot de
>Number: 1996
>Category: build
>Synopsis: Can not compile gdb-6.3 on AIX 5.2 with gcc 3.4.4
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 23 22:08:01 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator: ltg@zes.uni-bremen.de
>Release: gdb-6.3
>Organization:
>Environment:
AIX 5.2, gcc 3.4.4
>Description:
Hi,
I got the following error from compiling gdb:
make[3]: Entering directory `/devel/build/gdb-6.3/bfd'
[stuff deleted]
/usr/bin/bash ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -maix64 -c -o rs6000-core.lo rs6000-core.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -D_GNU_SOURCE -DAIX_5_CORE -DAIX_CORE_DUMPX_CORE -DAIX_CORE -DAIX_WEAK_SUPPORT -I. -I. -I./../include -I./../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -maix64 -c rs6000-core.c -o rs6000-core.o
rs6000-core.c:114: error: field `old' has incomplete type
rs6000-core.c:127: error: field `old' has incomplete type
rs6000-core.c: In function `read_hdr':
rs6000-core.c:266: error: dereferencing pointer to incomplete type
rs6000-core.c:266: error: dereferencing pointer to incomplete type
rs6000-core.c:275: error: dereferencing pointer to incomplete type
rs6000-core.c:275: error: dereferencing pointer to incomplete type
rs6000-core.c:276: error: dereferencing pointer to incomplete type
rs6000-core.c:276: error: dereferencing pointer to incomplete type
rs6000-core.c: At top level:
rs6000-core.c:281: warning: function declaration isn't a prototype
rs6000-core.c:308: warning: function declaration isn't a prototype
rs6000-core.c:637: warning: function declaration isn't a prototype
rs6000-core.c:715: warning: function declaration isn't a prototype
rs6000-core.c:729: warning: function declaration isn't a prototype
make[3]: *** [rs6000-core.lo] Error 1
make[3]: Leaving directory `/devel/build/gdb-6.3/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/devel/build/gdb-6.3/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/devel/build/gdb-6.3/bfd'
make: *** [all-bfd] Error 2
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: