The following comment has been added to this issue: Author: Dominik Stadler Created: Mon, 26 Apr 2004 3:39 AM Body: You can take a look at the Bug at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20092.
I incorporated the patch for the files src\xercesc\dom\impl\DOMDeepNodeListPool.c src\xercesc\util\RefHash3KeysIdPool.c in my local version of Xerces-2.3 and was able to compile and use Xerces on Linux Redhat Advanced Server 2.1 (which reports 2.96 as version of gcc). --------------------------------------------------------------------- View this comment: http://issues.apache.org/jira/browse/XERCESC-1201?page=comments#action_35284 --------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/XERCESC-1201 Here is an overview of the issue: --------------------------------------------------------------------- Key: XERCESC-1201 Summary: xerces-c-2_3_0 doesn't compile with gcc 2.95 on Linux Debian Type: Bug Status: Unassigned Priority: Blocker Project: Xerces-C++ Components: Build Versions: 2.3.0 Assignee: Reporter: kynn jones Created: Thu, 22 Apr 2004 2:46 PM Updated: Mon, 26 Apr 2004 3:39 AM Environment: Linux Debian 3.0; kernel 2.4.18; output of "gcc -v": gcc version 2.95.4 20011002 (Debian prerelease) Description: NB: The problem described below appears to be with gcc 2.95.4. Do you know a work around? I tried compiling without an optimization flag, but it made no difference. I can get version 2.5.0 to compile, but I need version 2.3.0, because that's the one that the current versio of the Perl module XML::Xerces requires. ... DESCRIPTION: I downloaded http://xml.apache.org/dist/xerces-c/archives/Xerces-C_2_3_0/xerces-c-src_2_3_0.tar.gz Ran runConfigure like this: ./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P/opt Upon running make, I hit this error: g++ -fPIC -DLINUX -D_REENTRANT -c -I/home/jones/build/xerces-c-src_2_3_0/include -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_SOCKET -o /home/jones/build/xerces-c-src_2_3_0/obj/LINUX/DOMDocumentImpl.o DOMDocumentImpl.cpp /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c: In method `xercesc_2_3::DOMDeepNodeListPool<xercesc_2_3::DOMDeepNodeListImpl>::DOMDeepNodeListPool(long unsigned int, bool, long unsigned int = 128)': DOMDocumentImpl.cpp:900: instantiated from here /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error. /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Please submit a full bug report. /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: Internal compiler error: /home/jones/build/xerces-c-src_2_3_0/include/xercesc/dom/impl/DOMDeepNodeListPool.c:104: See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions. make[2]: *** [DOMDocumentImpl.o] Error 1 make[2]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom/impl' make[1]: *** [impl] Error 2 make[1]: Leaving directory `/home/jones/build/xerces-c-src_2_3_0/src/xercesc/dom' make: *** [Dom] Error 2 --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]