From: Denis PILAT <denis.pilat@st.com>
To: gdb-patches <gdb-patches@sourceware.org>
Subject: Compilation error, expat version too old.
Date: Mon, 12 Feb 2007 13:57:00 -0000 [thread overview]
Message-ID: <45D03D17.1070907@st.com> (raw)
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
next reply other threads:[~2007-02-12 13:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-12 13:57 Denis PILAT [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45D03D17.1070907@st.com \
--to=denis.pilat@st.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox