This is the mail archive of the gdb-prs@sources.redhat.com 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]

gdb/715: Conflicting headers with system-wide readline


>Number:         715
>Category:       gdb
>Synopsis:       Conflicting headers with system-wide readline
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 20 06:58:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     mmokrejs@natur.cuni.cz
>Release:        current cvs
>Organization:
>Environment:
Solaris 2.6, gcc-2.95.3
>Description:
Hi,
  I use libiberty from binutils-2.11.2 to give current GDB snapshot a try (I did "mv libiberty libiberty-bad; ln -s ../binutils-2.11.2/libiberty ."), to make it clear.
Unfortunately, I have still problem:

gcc -c -I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses -I/software/@sys/usr/openssl/include  -I/usr/include/v9  -I. -I. -I./config -DLOCALEDIR="\"/software/@sys/share/locale\"" -DHAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl  -DMI_OUT=1 -DUI_OUT=1 -Wimplicit -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wuninitialized  event-top.c
cc1: warning: -Wuninitialized is not supported without -O
In file included from /software/@sys/usr/include/readline/readline.h:39,
                 from event-top.c:35:
/software/@sys/usr/include/readline/tilde.h:68: conflicting types for `tilde_expand'
defs.h:619: previous declaration of `tilde_expand'
make[1]: *** [event-top.o] Error 1
make[1]: Leaving directory `/scratch/src/gdb'

>How-To-Repeat:
./configure --prefix=/software/@sys --with-gnu-ld
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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