From: "Stefan Berglund" <Stefan.Berglund@mobeon.com>
To: <gdb@sourceware.org>
Subject: Link problem with 64bit gdb 6.6 on solaris 8
Date: Thu, 08 Mar 2007 10:36:00 -0000 [thread overview]
Message-ID: <9B488A5E8C00084C82DB19AF2E713C2202372DE8@vale.MOBEON.COM> (raw)
Hi, I ran into trouble with this configuration:
(this is supposed to build a 64-bit version of gdb - is it wrong?)
CC=gcc CPPFLAGS='-D__EXTENSIONS__' CFLAGS='-m64' ./configure
--disable-tui
The --disable-tui was added because of another linking error, I found
the tip after some googling.
This is the linking error:
gcc -m64 \
-o gdb gdb.o libgdb.a \
../readline/libreadline.a ../opcodes/libopcodes.a
../bfd/libbfd.a ./../intl/libintl.a ../libiberty/libiberty.a -ldl
-lcurses -lsocket -lnsl -lm ../libiberty/libiberty.a
Undefined first referenced
symbol in file
tui_set_layout_for_display_command libgdb.a(printcmd.o)
tui_show_assembly libgdb.a(cli-cmds.o)
tui_get_low_disassembly_address libgdb.a(cli-cmds.o)
tui_active libgdb.a(cli-cmds.o)
tui_get_command_dimension libgdb.a(utils.o)
tui_is_window_visible libgdb.a(cli-cmds.o)
ld: fatal: Symbol referencing errors. No output written to gdb
collect2: ld returned 1 exit status
make[2]: *** [gdb] Error 1
make[2]: Leaving directory `/opt/dist/prg/gdb-6.6/gdb'
make[1]: *** [all-gdb] Error 2
make[1]: Leaving directory `/opt/dist/prg/gdb-6.6'
make: *** [all] Error 2
Any tips are apprecciated!
Stefan
next reply other threads:[~2007-03-08 10:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-08 10:36 Stefan Berglund [this message]
2007-03-08 10:40 ` Andreas Schwab
2007-03-08 10:50 ` Stefan Berglund
2007-03-08 12:38 ` Stefan Berglund
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=9B488A5E8C00084C82DB19AF2E713C2202372DE8@vale.MOBEON.COM \
--to=stefan.berglund@mobeon.com \
--cc=gdb@sourceware.org \
/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