This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: GDB and Insight query


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: log.zip
Description: Zip archive


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]