bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GDB 5.1: remote.c + pa64solib.{c,h} combination does not work


From: Hannu Koivisto
Subject: GDB 5.1: remote.c + pa64solib.{c,h} combination does not work
Date: Tue, 18 Dec 2001 17:26:30 +0200
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1

Greetings,

GDB 5.1, configured with

./configure --prefix=/opt/gdb --host=hppa64-hp-hpux11.11

for HP-UX hpux B.11.11 U 9000/800:

Linking of gdb binary fails with:

gcc -g -O2  -D__HP_CURSES       -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
 ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a
 ./../intl/libintl.a ../libiberty/libiberty.a -lcurses     -lm
 ../libiberty/libiberty.a
libgdb.a(remote.o): In function `remote_open_1':
/home/azure/src/gdb-5.1/gdb/remote.c:2197: undefined reference to
 `no_shared_libraries'

This would seem to happen because remote.c assumes that
no_shared_libraries is provided whenever SOLIB_CREATE_INFERIOR_HOOK
is defined, but this is not the case when pa64solib.{c,h} is used
on HP-UX (and not solib.{c,h}, which does provide
no_shared_libraries).

-- 
Hannu



reply via email to

[Prev in Thread] Current Thread [Next in Thread]