* insight for Solaris
@ 2005-01-21 11:01 Yakov Nekritch
2005-01-21 13:44 ` Keith Seitz
0 siblings, 1 reply; 8+ messages in thread
From: Yakov Nekritch @ 2005-01-21 11:01 UTC (permalink / raw)
To: insight
Hello,
I tried to build Insight (under SPARC
Solaris 5.8 ) and got the following errors :
.........
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
Stop.
make: stopped in /opt/scratch/yasha/insight-6.1/gdb
Can someone help me with this?
Is it probably an error of glibc? But I could not find
those symbols (libintl_dgettext, etc. ).
Thank you,
Yakov
==========================================================================
Dr. Yakov Nekrich Phone: +49-(0)228-734209
Computer Science Department Fax: +49-(0)228-734440
University of Bonn e-mail: yasha@cs.uni-bonn.de
Römerstrasse 164, http://theory.cs.uni-bonn.de/~yasha
53117 Bonn
Germany
==========================================================================
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: insight for Solaris
2005-01-21 11:01 insight for Solaris Yakov Nekritch
@ 2005-01-21 13:44 ` Keith Seitz
[not found] ` <41F117BB.1080904@cs.uni-bonn.de>
0 siblings, 1 reply; 8+ messages in thread
From: Keith Seitz @ 2005-01-21 13:44 UTC (permalink / raw)
To: Yakov Nekritch; +Cc: insight
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
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <80464F9A4D2BF042A154DD067F1F539302A64139@CEL-BANGT-M01>]
* RE: insight for Solaris
[not found] <80464F9A4D2BF042A154DD067F1F539302A64139@CEL-BANGT-M01>
@ 2005-01-21 16:19 ` Keith Seitz
0 siblings, 0 replies; 8+ messages in thread
From: Keith Seitz @ 2005-01-21 16:19 UTC (permalink / raw)
To: KiranKumar B Shivananda; +Cc: insight
On Fri, 2005-01-21 at 06:00, KiranKumar B Shivananda wrote:
> I have a problem during writing to memory in insight.
>
> I tried to write 8 bytes to memory. It gave the error "Integer value
> too large to represent".
>
> Is it correct or a bug.
This is one of those things that sounds like a gdb problem. Can you
reproduce the problem using command-line gdb? If so, I highly recommend
sending your question to the gdb list. Be sure to include the text from
your session which demonstrates the problem.
There are far more people there who are all far more knowledgeable about
gdb than I am now. They will be able to help much faster and more
authoritatively than I will be able to.
Keith
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <80464F9A4D2BF042A154DD067F1F539302A6413B@CEL-BANGT-M01>]
* RE: insight for Solaris
[not found] <80464F9A4D2BF042A154DD067F1F539302A6413B@CEL-BANGT-M01>
@ 2005-01-21 16:41 ` Keith Seitz
0 siblings, 0 replies; 8+ messages in thread
From: Keith Seitz @ 2005-01-21 16:41 UTC (permalink / raw)
To: KiranKumar B Shivananda; +Cc: insight
On Fri, 2005-01-21 at 08:29, KiranKumar B Shivananda wrote:
> But I didnt find gdb command to set memory.
Ah, oh. My bad. I forgot about that...
Well, here's what you can try just to see if gdb is working: "set
*(int*)ADDRESS=INTEGER". Change "int" to "char", "long", or whatnot
depending on the size of the memory chunk being modified.
If this works, I will probably need more info: target triple, host,
target. Maybe more.
Keith
^ permalink raw reply [flat|nested] 8+ messages in thread
[parent not found: <80464F9A4D2BF042A154DD067F1F539302A6413C@CEL-BANGT-M01>]
* RE: insight for Solaris
[not found] <80464F9A4D2BF042A154DD067F1F539302A6413C@CEL-BANGT-M01>
@ 2005-01-21 17:35 ` Keith Seitz
0 siblings, 0 replies; 8+ messages in thread
From: Keith Seitz @ 2005-01-21 17:35 UTC (permalink / raw)
To: KiranKumar B Shivananda; +Cc: insight
On Fri, 2005-01-21 at 09:21, KiranKumar B Shivananda wrote:
> Yes the command set
> *(int*)ADDRESS=INTEGER" is working
>
> Can you give more info about
> target triple, host, target
What's the output of "show version"? That will give the host and target
"triples", i.e., i686-pc-linux, arm-unknown-elf (or simply arm-elf), and
so on.
The other bit is what target you are debugging: native? a board (which
one, what's your Target Settings dialog say the connection is)?
simulator?
Keith
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-01-27 16:08 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-21 11:01 insight for Solaris Yakov Nekritch
2005-01-21 13:44 ` Keith Seitz
[not found] ` <41F117BB.1080904@cs.uni-bonn.de>
2005-01-21 15:45 ` Keith Seitz
2005-01-27 12:01 ` Yakov Nekritch
2005-01-27 16:08 ` Keith Seitz
[not found] <80464F9A4D2BF042A154DD067F1F539302A64139@CEL-BANGT-M01>
2005-01-21 16:19 ` Keith Seitz
[not found] <80464F9A4D2BF042A154DD067F1F539302A6413B@CEL-BANGT-M01>
2005-01-21 16:41 ` Keith Seitz
[not found] <80464F9A4D2BF042A154DD067F1F539302A6413C@CEL-BANGT-M01>
2005-01-21 17:35 ` Keith Seitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).