Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Link problem with 64bit gdb 6.6 on solaris 8
@ 2007-03-08 10:36 Stefan Berglund
  2007-03-08 10:40 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Berglund @ 2007-03-08 10:36 UTC (permalink / raw)
  To: gdb

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-03-08 12:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-08 10:36 Link problem with 64bit gdb 6.6 on solaris 8 Stefan Berglund
2007-03-08 10:40 ` Andreas Schwab
2007-03-08 10:50   ` Stefan Berglund
2007-03-08 12:38   ` Stefan Berglund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox