conflicting system-installed readline-4.3 on Solaris with gdb-5.3 build

Martin MOKREJŠ <[email protected]>
Newsgroups gmane.comp.gdb.bugs.general
Message-ID <[email protected]>
Hi,
  I have the following problem:

gcc -c -I/software/@sys/usr/include -I/software/@sys/usr/include/ncurses -I/software/@sys/usr/openssl/include -I/software/@sys/usr/include/freetype2  -I/usr/include/v9  -I. -I. -I./config -DLOCALEDIR="\"/software/@sys/usr/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/mmokrejs/gdb-5.3/gdb'

Solaris 2.6, gcc-3.0.4.
-- 
Martin Mokrejs <[email protected]>, <[email protected]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.