Bug 8923

Summary: Linker (ld) Error During GDB Build
Product: gdb Reporter: tdineen
Component: buildAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: enhancement CC: fossa, gdb-prs, mec.gnu, tromey
Priority: P1    
Version: 6.3   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:

Description tdineen 2004-11-24 01:48:00 UTC
[Converted from Gnats 1818]

Gentle People:

I get the following Linker Error when I run the make
on gdb 6.3 on Solaris 8 0n Sparc.

Can anyone give me some indication od what I did wrong?

Thomas Dineen

r: creating libgdb.a
ranlib libgdb.a
rm -f gdb
gcc -g -O2 \
-o gdb gdb.o libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a -ldl -lncurses -lsocket -lnsl -lm ../libiberty/libiberty.a
Undefined first referenced
symbol in file
initscr32 libgdb.a(tui.o)
w32attron libgdb.a(tui-wingeneral.o)
w32attroff libgdb.a(tui-wingeneral.o)
getcurx libgdb.a(tui-io.o)
getcury libgdb.a(tui-io.o)
acs32map libgdb.a(tui-win.o)
w32addch libgdb.a(tui-io.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target ‘gdb’
Current working directory /export/home/tools/gdb/gdb-6.3/gdb-6.3/gdb
*** Error code 1
make: Fatal error: Command failed for target ‘all-gdb’
#

Release:
gdb 6.3

Environment:
Solaris 8 Sparc

How-To-Repeat:
Please Contact me for assistance.
Comment 1 tdineen 2004-11-24 01:48:00 UTC
Fix:
Please help.
Comment 2 Tom Tromey 2011-11-18 15:52:09 UTC
I think this probably fixed.
There have been various configury fixes in the last 7 years related
to curses, termcap, etc.
If you try a newer release and it is still broken, please re-open.
Comment 3 Tom Tromey 2011-11-18 15:53:44 UTC
*** Bug 8719 has been marked as a duplicate of this bug. ***
Comment 4 Tom Tromey 2011-11-18 15:54:23 UTC
*** Bug 8731 has been marked as a duplicate of this bug. ***