From: Keith Seitz <keiths@redhat.com>
To: Manish.Mukherjee@tellabs.com
Cc: gdb@sources.redhat.com
Subject: RE: GDB and Insight query
Date: Wed, 28 Aug 2002 14:57:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0208281453380.20498-101000@valrhona.uglyboxes.com> (raw)
In-Reply-To: <H0000b450f531d70.1030571341.mail@MHS>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 2036 bytes --]
On Wed, 28 Aug 2002 Manish.Mukherjee@tellabs.com wrote:
> Keith,
> Attached is the log for the whole compilation process. It contains
> 3 sections:
> 1. Configure section.
> 2. Build section.
> 3. Install section.
>
> They are separated using "--------" characters.
Thanks. In this I see:
checking for ncurses.h... yes
checking for tgetent in -lncurses... yes
and
gcc -g -O2 -I/usr/include/v9 -o gdb \
main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o
cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o
mi-cmd-stack.o mi-cmd-disas.o
mi-main.o mi-parse.o mi-getopt.o gdbtk.o gdbtk-bp.o gdbtk-cmds.o
gdbtk-hooks.o gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o
gdbtk-wrapper.o ../bfd/libbfd.a ../readline/libreadline.a
../opcodes/libopcodes.a ../libiberty/libiberty.a -lncurses -lsocket
-lnsl ../libgui/src/libgui.a
-L/home/tlabbd-12/manish/bin/Insight/insight-5.2/itcl/itcl -litcl3.2
-L/home/tlabbd-12/manish/bin/Insight/insight-5.2/itcl/itk -litk3.2
-L/home/tlabbd-12/manish/bin/Insight/insight-5.2/tix/unix/tk8.3
-ltix4.1.8.1 -L/home/tlabbd-12/manish/bin/Insight/insight-5.2/tk/unix
-ltk8.3 -Wl,-R,/home/tlabbd-12/manish/Tools/XGDB/lib
-L/home/tlabbd-12/manish/bin/Insight/insight-5.2/tcl/unix -ltcl8.3
-L/usr/openwin/lib -lX11 -R/usr/openwin/lib -ldl -lsocket -lnsl -lm -ldl
-lm -lsocket ../libiberty/libiberty.a \
So you must have ncurses somewhere.
Hmmm. Google search revealed this:
http://groups.google.com/groups?q=ncurses+gdb+solaris&hl=en&lr=&ie=UTF-8&selm=200006282023.NAA16273%40ruby.twinsun.com&rnum=1
Does libncurses exist in any of these directories? What does "gcc -v" say
(out of curiosity).
> I am not quite sure what the equivalent for LD_LIBRARY_PATH is for Solaris.
I'd hazard a guess that it is LD_LIBRARY_PATH. :-)
Somewhere, GDB found libncurses.so.5 to link against. We need to find the
library and get its path added to LD_LIBRARY_PATH (so that it can be
found by the dynamic linker/loader can find it).
Keith
[-- Attachment #2: Type: APPLICATION/zip, Size: 23721 bytes --]
next parent reply other threads:[~2002-08-28 21:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <H0000b450f531d70.1030571341.mail@MHS>
2002-08-28 14:57 ` Keith Seitz [this message]
2002-08-28 12:40 Manish.Mukherjee
2002-08-28 12:48 ` Keith Seitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0208281453380.20498-101000@valrhona.uglyboxes.com \
--to=keiths@redhat.com \
--cc=Manish.Mukherjee@tellabs.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox