bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb 6.7: compilation problem with expat


From: Richard Zidlicky
Subject: gdb 6.7: compilation problem with expat
Date: Fri, 18 Jan 2008 20:05:57 +0100
User-agent: Mutt/1.5.15 (2007-04-06)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]