This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: insight for Solaris
- From: Keith Seitz <keiths at redhat dot com>
- To: Yakov Nekritch <yasha at cs dot uni-bonn dot de>
- Cc: "insight at sources dot redhat dot com" <insight at sources dot redhat dot com>
- Date: Fri, 21 Jan 2005 05:44:31 -0800
- Subject: Re: insight for Solaris
- References: <41F0E0F0.4080509@cs.uni-bonn.de>
On Fri, 2005-01-21 at 03:01, Yakov Nekritch wrote:
> rm -f gdb
> 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/opt/scratch/yasha/insight-6.1/itcl/itcl -litcl3.2
> -L/opt/scratch/yasha/insight-6.1/itcl/itk -litk3.2
> -L/opt/scratch/yasha/insight-6.1/tk/unix -ltk8.4
> -Wl,-R,/opt/scratch/yasha/insight-6.1/local/lib
> -L/opt/scratch/yasha/insight-6.1/tcl/unix -ltcl8.4
> -L/usr/local/X11R6/lib -lX11 -ldl -lsocket -lnsl -lm -ldl -lsocket
> -lnsl -lm -lncurses -liconv ../libiberty/libiberty.a
> Undefined first referenced
> symbol in file
> libintl_dgettext ../bfd/libbfd.a(bfd.o)
> libintl_gettext libgdb.a(main.o)
> libintl_textdomain libgdb.a(main.o)
> libintl_bindtextdomain libgdb.a(main.o)
> ld: fatal: Symbol referencing errors. No output written to gdb
> collect2: ld returned 1 exit status
> *** Error code 1
This is an error compiling gdb, not insight. Nonetheless, it looks like
your system does not have GNU gettext available. Try disabling native
language support in the build (pass "--disable-nls" to configure). If
that fails, try finding/building gettext for solaris.
If that still fails, ask on the gdb list for more help.
Keith