This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Building gdb on 64bit solaris
- From: "Chu, Josh" <josh dot chu at retek dot com>
- To: "'gdb at sources dot redhat dot com'" <gdb at sources dot redhat dot com>
- Date: Tue, 25 Jun 2002 15:09:29 -0500
- Subject: Building gdb on 64bit solaris
I have compiled gcc for 64bit solaris and attempted a compile of gdb.
I ran ./configure followed by 'make' and the compilation stops when trying
to compile core-sol2.c.
Here's my output :
...
gcc -m64 -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../intl -I./../intl -I./tui -DUSE_INCLUDED_REGEX
ser-pipe.c
gcc -m64 -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../intl -I./../intl -I./tui -DUSE_INCLUDED_REGEX
corelow.c
gcc -m64 -c -g -O2 -I. -I. -I./config -DHAVE_CONFIG_H
-I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd
-I./../include -I../intl -I./../intl -I./tui -DUSE_INCLUDED_REGEX
core-sol2.c
core-sol2.c: In function `fetch_core_registers':
core-sol2.c:62: sizeof applied to an incomplete type
core-sol2.c:69: dereferencing pointer to incomplete type
core-sol2.c:71: dereferencing pointer to incomplete type
core-sol2.c:72: dereferencing pointer to incomplete type
core-sol2.c:73: dereferencing pointer to incomplete type
core-sol2.c:74: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `core-sol2.o'
Current working directory /files0/retl/tools/share/gdb/gdb-5.0/gdb
*** Error code 1
make: Fatal error: Command failed for target `all-gdb'
(/files0/retl/tools/share/gdb/gdb-5.0)$ uname -a
SunOS mspdev25 5.8 Generic_108528-13 sun4u sparc SUNW,Ultra-80
(/files0/retl/tools/share/gdb/gdb-5.0)$ echo $CC
gcc -m64
(/files0/retl/tools/share/gdb/gdb-5.0)$ file `which gcc`
/files0/retl/tools/gcc/bin/gcc: ELF 64-bit MSB executable SPARCV9 Version 1,
dynamically linked, not stripped
Any idea why I am getting these errors? Is this a known problem when
compiling 64bit solaris?
Thanks!
--JC