From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21759 invoked by alias); 5 Jan 2007 17:57:51 -0000 Received: (qmail 21751 invoked by uid 22791); 5 Jan 2007 17:57:50 -0000 X-Spam-Check-By: sourceware.org Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.31.1) with ESMTP; Fri, 05 Jan 2007 17:57:46 +0000 Received: from drow by nevyn.them.org with local (Exim 4.63) (envelope-from ) id 1H2tK4-0008SV-3k; Fri, 05 Jan 2007 12:57:44 -0500 Date: Fri, 05 Jan 2007 17:57:00 -0000 From: Daniel Jacobowitz To: Richard Earnshaw Cc: gdb@sourceware.org Subject: Re: GDB build problem (XML parser) Message-ID: <20070105175744.GA32499@nevyn.them.org> Mail-Followup-To: Richard Earnshaw , gdb@sourceware.org References: <1168019622.1427.7.camel@pc960.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1168019622.1427.7.camel@pc960.cambridge.arm.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00098.txt.bz2 On Fri, Jan 05, 2007 at 05:53:42PM +0000, Richard Earnshaw wrote: > My system has expat 1.95.5 installed on it. Unfortunately, this version > seems to lack XML_StopParser(), so a build of the current sources dies > with the following: > > cc1: warnings being treated as errors > /home/rearnsha/gnusrc/gcc-cross/trunk/gdb/xml-support.c: In function > `gdb_xml_start_element_wrapper': > /home/rearnsha/gnusrc/gcc-cross/trunk/gdb/xml-support.c:289: warning: > implicit declaration of function `XML_StopParser' D'oh! I guess there are two options: update the configure check to test for XML_StopParser, or avoid using it. I've got no opinion which is better. -- Daniel Jacobowitz CodeSourcery