This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: GDB build problem (XML parser)
- From: Daniel Jacobowitz <drow at false dot org>
- To: Richard Earnshaw <rearnsha at arm dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 5 Jan 2007 12:57:44 -0500
- Subject: Re: GDB build problem (XML parser)
- References: <1168019622.1427.7.camel@pc960.cambridge.arm.com>
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