Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 63243 invoked by uid 500); 18 Feb 2001 17:08:22 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 63232 invoked from network); 18 Feb 2001 17:08:22 -0000 Date: Sun, 18 Feb 2001 09:07:22 -0800 From: "Roy T. Fielding" To: new-httpd@apache.org Subject: exports is puking warnings and breaking the build Message-ID: <20010218090722.B24583@waka.ebuilt.net> Mail-Followup-To: "Roy T. Fielding" , new-httpd@apache.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.13-current-20010115i X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N 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