Bug 8924 - Linker (ld) Error During GDB Build
Summary: Linker (ld) Error During GDB Build
Status: RESOLVED DUPLICATE of bug 8923
Alias: None
Product: gdb
Classification: Unclassified
Component: gdb (show other bugs)
Version: 6.3
: P1 enhancement
Target Milestone: ---
Assignee: Joel Brobecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-24 01:48 UTC by tdineen
Modified: 2008-12-18 20:56 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tdineen 2004-11-24 01:48:01 UTC
[Converted from Gnats 1819]

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:01 UTC
Fix:
Please help.
Comment 2 Joel Brobecker 2005-11-03 06:07:49 UTC
*** This bug has been marked as a duplicate of 8923 ***