This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/1804: Cannot compile gdb 6.2.1 on Solaris
- From: aaronw at net dot com
- To: gdb-gnats at sources dot redhat dot com
- Date: 4 Nov 2004 01:35:15 -0000
- Subject: build/1804: Cannot compile gdb 6.2.1 on Solaris
- Reply-to: aaronw at net dot com
>Number: 1804
>Category: build
>Synopsis: Cannot compile gdb 6.2.1 on Solaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Thu Nov 04 01:38:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Aaron Williams
>Release: 6.2.1
>Organization:
>Environment:
CFLAGS=-mcpu=v9 -O2
Compiler: gcc 3.3.4
OS: Solaris 2.8
CPU: Sparcv9
>Description:
Compile fails.
make[1]: Entering directory `/var/tmp/gcc3/gdb-6.2.1/gdb'
gcc -c -mcpu=v9 -O2 -I/opt/gcc3.3/include -L/opt/gcc3.3/lib -I. -I. -I./config -DLOCALEDIR="\"/opt/gcc3.3/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./../include -I../intl -I./../intl -DMI_OUT=1 -DTUI=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized -Wformat-nonliteral -Wunused-label -Wunused-function gcore.c
In file included from gcore.c:23:
../bfd/elf-bfd.h:363: error: field `stab_info' has incomplete type
../bfd/elf-bfd.h:1245: error: field `dyn_lib_class' has incomplete type
gcore.c: In function `derive_heap_segment':
gcore.c:247: warning: implicit declaration of function `bfd_get_section_size'
make[1]: *** [gcore.o] Error 1
make[1]: Leaving directory `/var/tmp/gcc3/gdb-6.2.1/gdb'
make: *** [all-gdb] Error 2
>How-To-Repeat:
Try and compile:
./configure --prefix=/opt/gcc3.3
make
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: