From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1143 invoked by alias); 12 Feb 2007 13:57:16 -0000 Received: (qmail 1131 invoked by uid 22791); 12 Feb 2007 13:57:15 -0000 X-Spam-Check-By: sourceware.org Received: from vir-del-02.spheriq.net (HELO vir-del-02.spheriq.net) (194.50.41.41) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 12 Feb 2007 13:57:06 +0000 Received: from vir-out-02.spheriq.net ([194.50.41.31]) by vir-del-02.spheriq.net with ESMTP id l1CDujI6024032 for ; Mon, 12 Feb 2007 13:56:45 GMT Received: from vir-cus-01.spheriq.net (vir-cus-01.spheriq.net [194.50.41.85]) by vir-out-02.spheriq.net with ESMTP id l1CDuiJe029565 for ; Mon, 12 Feb 2007 13:56:44 GMT Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by vir-cus-01.spheriq.net with ESMTP id l1CDufRS007252 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Feb 2007 13:56:43 GMT Received: from zeta.dmz-eu.st.com (ns2.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 0D553EC5A for ; Mon, 12 Feb 2007 10:10:33 +0000 (GMT) Received: from mail1.cro.st.com (mail1.cro.st.com [164.129.40.131]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id D4ACA473C2 for ; Mon, 12 Feb 2007 10:10:32 +0000 (GMT) Received: from [164.129.44.95] (crx595.cro.st.com [164.129.44.95]) by mail1.cro.st.com (MOS 3.7.5a-GA) with ESMTP id CJS25238 (AUTH "denis pilat"); Mon, 12 Feb 2007 11:10:31 +0100 (CET) Message-ID: <45D03D17.1070907@st.com> Date: Mon, 12 Feb 2007 13:57:00 -0000 From: Denis PILAT User-Agent: Thunderbird 1.5.0.9 (X11/20061206) MIME-Version: 1.0 To: gdb-patches Subject: Compilation error, expat version too old. Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00168.txt.bz2 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