* Compilation error, expat version too old.
@ 2007-02-12 13:57 Denis PILAT
2007-02-12 15:11 ` Daniel Jacobowitz
0 siblings, 1 reply; 4+ messages in thread
From: Denis PILAT @ 2007-02-12 13:57 UTC (permalink / raw)
To: gdb-patches
Hello,
I am facing compilation error with xml-support.c, it comes from the
expat version I have, it should be too old to define XMLCALL I guess.
Bellow is the the error.
Shouldn't we provide expat required version with gdb distribution ?
--
Denis
gcc -c -g -O2 -I.
-I/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb
-I/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/config
-DLOCALEDIR="\"/usr/local/share/locale\"" -DHAVE_CONFIG_H
-I/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/../include/opcode
-I/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/../readline/..
-I../bfd
-I/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/../bfd
-I/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/../include
-DMI_OUT=1 -DTUI=1 -Wall -Wdeclaration-after-statement -Wpointer-arith
-Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Werror
/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/xml-support.c
/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/xml-support.c:473:
error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘gdb_xml_fetch_external_entity
/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/xml-support.c:
In function ‘gdb_xml_use_dtd’:
/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/xml-support.c:527:
error: ‘gdb_xml_fetch_external_entity’ undeclared (first use in this
function)
/project/flexdbug/user/pd10/gdb/sts-gdb-repository/vendor/cvs/head/src/gdb/xml-support.c:527:
error: (Each undeclared identifier is reported only once
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Compilation error, expat version too old.
2007-02-12 13:57 Compilation error, expat version too old Denis PILAT
@ 2007-02-12 15:11 ` Daniel Jacobowitz
[not found] ` <45D089E5.8040900@st.com>
0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2007-02-12 15:11 UTC (permalink / raw)
To: Denis PILAT; +Cc: gdb-patches
On Mon, Feb 12, 2007 at 11:10:31AM +0100, Denis PILAT wrote:
> Hello,
>
> I am facing compilation error with xml-support.c, it comes from the
> expat version I have, it should be too old to define XMLCALL I guess.
> Bellow is the the error.
What version of expat is it? We should either update the configure
check to reject it, or provide a fallback definition of XMLCALL.
> Shouldn't we provide expat required version with gdb distribution ?
We decided not to do that for various reasons.
--
Daniel Jacobowitz
CodeSourcery
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-02-20 19:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-12 13:57 Compilation error, expat version too old Denis PILAT
2007-02-12 15:11 ` Daniel Jacobowitz
[not found] ` <45D089E5.8040900@st.com>
[not found] ` <20070212205100.GA28635@caradoc.them.org>
2007-02-13 9:52 ` Denis PILAT
2007-02-20 19:53 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox