Lots of redefinitions due to util_xml.h and apr_xml.h:
gawk -f /home/fielding/ws/httpd-2.0/srclib/apr/build/make_export.awk
/home/fielding/ws/httpd-2.0/include/*.h > apache.exports
(cat ../srclib/apr/apr.exports ../srclib/apr-util/aprutil.exports apache.exports |
../build/buildexports.sh ..) > exports.c
/bin/sh /home/fielding/ws/httpd-2.0/libtool --silent --mode=compile gcc -I.
-I/home/fielding/ws/httpd-2.0/server -I/home/fielding/ws/httpd-2.0/server/mpm/threaded
-I/home/fielding/ws/httpd-2.0/include -I/home/fielding/ws/httpd-2.0/srclib/apr/include
-I/home/fielding/ws/httpd-2.0/srclib/apr-util/include
-I/home/fielding/ws/httpd-2.0/os/unix -I/home/fielding/ws/httpd-2.0/srclib/expat-lite
-D_REENTRANT -DLINUX=2 -pthread -pthread -c exports.c && touch exports.lo
In file included from exports.c:75:
/home/fielding/ws/httpd-2.0/include/util_xml.h:158:33: warning: "AP_XML_NS_DAV_ID"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:83:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:159:33: warning: "AP_XML_NS_NONE"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:84:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:161:33: warning: "AP_XML_NS_ERROR_BASE"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:85:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:162:27: warning: "AP_XML_NS_IS_ERROR"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:86:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:224:29: warning: "AP_XML_ELEM_IS_EMPTY"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:87:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:268:33: warning: "AP_XML_X2T_FULL"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:94:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:269:33: warning: "AP_XML_X2T_INNER"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:95:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:270:33: warning:
"AP_XML_X2T_LANG_INNER" redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:96:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:271:33: warning:
"AP_XML_X2T_FULL_NS_LANG" redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:97:1: warning: this
is the location of the previous definition
/home/fielding/ws/httpd-2.0/include/util_xml.h:314:28: warning: "AP_XML_GET_URI_ITEM"
redefined
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apu_compat.h:103:1: warning: this
is the location of the previous definition
In file included from exports.c:76:
/home/fielding/ws/httpd-2.0/include/util_xml.h:74: redefinition of `apr_text'
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apr_xml.h:76: `apr_text'
previously declared here
/home/fielding/ws/httpd-2.0/include/util_xml.h:77: redefinition of `struct apr_text'
/home/fielding/ws/httpd-2.0/include/util_xml.h:85: redefinition of `apr_text_header'
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apr_xml.h:87: `apr_text_header'
previously declared here
/home/fielding/ws/httpd-2.0/include/util_xml.h:88: redefinition of `struct
apr_text_header'
/home/fielding/ws/httpd-2.0/include/util_xml.h:165: redefinition of `apr_xml_attr'
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apr_xml.h:167: `apr_xml_attr'
previously declared here
/home/fielding/ws/httpd-2.0/include/util_xml.h:166: redefinition of `apr_xml_elem'
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apr_xml.h:168: `apr_xml_elem'
previously declared here
/home/fielding/ws/httpd-2.0/include/util_xml.h:167: redefinition of `apr_xml_doc'
/home/fielding/ws/httpd-2.0/srclib/apr-util/include/apr_xml.h:169: `apr_xml_doc'
previously declared here
/home/fielding/ws/httpd-2.0/include/util_xml.h:170: redefinition of `struct
apr_xml_attr'
/home/fielding/ws/httpd-2.0/include/util_xml.h:185: redefinition of `struct
apr_xml_elem'
/home/fielding/ws/httpd-2.0/include/util_xml.h:228: redefinition of `struct
apr_xml_doc'
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/home/fielding/ws/httpd-2.0/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fielding/ws/httpd-2.0/server'
make: *** [all-recursive] Error 1
This really sucks when I am trying to test the build scripts.
....Roy