This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
6.1 fails to build on solaris9, 6.0 ok
- From: Shea Martin <smartin at arcis dot com>
- To: insight at sources dot redhat dot com
- Date: Sat, 22 May 2004 15:41:13 -0600
- Subject: 6.1 fails to build on solaris9, 6.0 ok
6.1 fails to build on solaris9, 6.0 ok.
It looks like a curses link error, to do with curses. I have libcurses,
and libncurses installed.
gcc -g -O2 \
-o gdb gdb.o libgdb.a \
../bfd/libbfd.a ../readline/libreadline.a
../opcodes/libopcodes.a ../libiberty/libiberty.a
../libgui/src/libgui.a -L/home/sheam/downloads/insight-6.1/itcl/itcl
-litcl3.2 -L/home/sheam/downloads/insight-6.1/itcl/itk -litk3.2
-L/home/sheam/downloads/insight-6.1/tk/unix -ltk8.4 -Wl,-R,/opt/lib
-L/home/sheam/downloads/insight-6.1/tcl/unix -ltcl8.4 -L/opt/sfw/lib
-lX11 -ldl -lsocket -lnsl -lm -ldl -lsocket -lnsl -lm -lncurses
../libiberty/libiberty.a
Undefined first referenced
symbol in file
w32attron libgdb.a(tui-wingeneral.o)
initscr32 libgdb.a(tui.o)
acs32map libgdb.a(tui-win.o)
w32attroff libgdb.a(tui-wingeneral.o)
getcurx libgdb.a(tui-io.o)
getcury libgdb.a(tui-io.o)
w32addch libgdb.a(tui-io.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
gmake: *** [gdb] Error 1
I noticed this has been posted to the list before on the 14th of april.
But there was no reply. If anyone knows the solution, I would love to
here it.
Thanks,
~S