This is the mail archive of the gdb@sourceware.org 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]

Link problem with 64bit gdb 6.6 on solaris 8


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


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