🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gdb.bug
Article #1179

gdb 6.7: compilation problem with expat

#1179
From: Richard Zidlicky
Date: Fri, 18 Jan 2008 19:05
20 lines
3473 bytes
Hi,

compilation does not work with expat-1.95.4,

gcc -c -g -O2    -I. -I.././gdb -I.././gdb/config -DLOCALEDIR="\"/usr/share/locale\"" -DHAVE_CONFIG_H -I.././gdb/../include/opcode -I.././gdb/../readline/.. -I../bfd -I.././gdb/../bfd -I.././gdb/../include   -DMI_OUT=1 -DTUI=1  -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Werror xml-support.c
xml-support.c: In function 'gdb_xml_fetch_external_entity':
xml-support.c:480: error: storage size of 'status' isn't known
cc1: warnings being treated as errors
xml-support.c: In function 'gdb_xml_use_dtd':
xml-support.c:528: warning: implicit declaration of function 'XML_UseForeignDTD'
xml-support.c:528: error: 'XML_TRUE' undeclared (first use in this function)
xml-support.c:528: error: (Each undeclared identifier is reported only once
xml-support.c:528: error: for each function it appears in.)
xml-support.c: In function 'gdb_xml_parse':
xml-support.c:544: error: storage size of 'status' isn't known

Compiling with  --with-expat=no works fine.

Regards,
Richard
Technical Details
Message-ID: <mailman.6307.1200716262.18990.bug-gdb@gnu.org>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f5053,cba72969b4d873ae,start
X-Google-Attributes: gidf5053,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail
From: Richard Zidlicky <rz@linux-m68k.org>
Newsgroups: gnu.gdb.bug
Subject: gdb 6.7: compilation problem with expat
Date: Fri, 18 Jan 2008 20:05:57 +0100
Lines: 22
Sender: Richard Zidlicky <rdzidlic@googlemail.com>
Approved: bug-gdb@gnu.org
Message-ID: <mailman.6307.1200716262.18990.bug-gdb@gnu.org>
NNTP-Posting-Host: lists.gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-Trace: news.Stanford.EDU 1200716263 12275 199.232.76.165 (19 Jan 2008 04:17:43 GMT)
X-Complaints-To: news@news.stanford.edu
To: bug-gdb@gnu.org
Envelope-to: bug-gdb@gnu.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=googlemail.com; s=gamma;
 h=domainkey-signature:received:received:received:date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent:sender;
 bh=TCdr3TOgJWYYC+ozr5U8Eva+1aAhovP9//JBX6P08w0=;
 b=m43FbDqDgs+i+q+Snx2mNhBg8QHUaT8SoeDRVzkcwNyrJPmeqlGcNNmMcUJa2aMpSuc0vydrotE5JygtGNN5iPkuKhUr55w1TU7RldfNK17eBRvfaTqkTCD0T6z1ac/5Hl7fRwaz4oFftsj9gctGm6ktw0VHFgMr19E44Ka2jr4=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma;
 h=date:from:to:subject:message-id:mime-version:content-type:content-disposition:user-agent:sender;
 b=bY9w16SvkaVZ1bFmo0xArekeblP4U4Swzy9HN90cMiN7mk2snR4NLquLc3Kcz1ZnzuC2b3+EjHyjseftaTJGXZBjbDx4DelhGyJh10u+SKXtR5JLs/zdMU+IeCjzP4sxqP4uPdgCsUm2JGn9ZLY59KOSnseX3zUQf7nWQbPmx4E=
Content-Disposition: inline
User-Agent: Mutt/1.5.15 (2007-04-06)
X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2)
X-Mailman-Approved-At: Fri, 18 Jan 2008 23:17:41 -0500
X-BeenThere: bug-gdb@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for GDB, the GNU debugger" <bug-gdb.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-gdb>
List-Post: <mailto:bug-gdb@gnu.org>
List-Help: <mailto:bug-gdb-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gdb>,
 <mailto:bug-gdb-request@gnu.org?subject=subscribe>