This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
build/888: Cannot compile event-top.c
- From: mmokrejs at natur dot cuni dot cz
- To: gdb-gnats at sources dot redhat dot com
- Date: 12 Dec 2002 23:24:52 -0000
- Subject: build/888: Cannot compile event-top.c
- Reply-to: mmokrejs at natur dot cuni dot cz
>Number: 888
>Category: build
>Synopsis: Cannot compile event-top.c
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 12 15:28:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: mmokrejs@natur.cuni.cz
>Release: gdb-5.3
>Organization:
>Environment:
Irix 6.5.15, cc
>Description:
Hi,
I'm getting the following error while trying to compile on Irix 6.5.15 with cc:
cc -c -O2 -n32 -TARG:platform=IP22 -OPT:Olimit=0 -I/usr/local/include -I/software/@sys/usr/include -I/usr/local/BerkeleyDB.4.0/include -I/usr/local/openssl/include -I/software/@sys/usr/include/freetype2 -I/software/@sys/usr/include/libxml2 -I/software/@sys/usr/include/libwmf -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 event-top.c
cc-1047 cc: WARNING File = ./config.h, Line = 37
Macro "inline" (declared at line 174 of "./../include/ansidecl.h") has an
incompatible redefinition.
#define inline __inline
^
cc-1143 cc: ERROR File = /software/@sys/usr/include/readline/tilde.h, Line = 72
Declaration is incompatible with "char *tilde_expand(char *)" (declared at
line 619 of "defs.h").
extern char *tilde_expand PARAMS((const char *));
^
cc-1552 cc: WARNING File = event-top.c, Line = 613
The variable "got_eof" is set but never used.
char got_eof = 0;
^
1 error detected in the compilation of "event-top.c".
make[1]: *** [event-top.o] Error 2
make[1]: Leaving directory `/afs/.natur.cuni.cz/home/sejbal/nmr-afs-var400/gdb-5.3/gdb'
>How-To-Repeat:
./configure --prefix=/software/@sys/usr
use irix 6.5.15 and cc compiler
$ cc -version
MIPSpro Compilers: Version 7.3.1.3m
$
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: