I'm attempting to build Xerces-C on Solaris 2.7, using gcc. I've hit an
"internal compiler error" like this:

g++ -fPIC -instances=static -DSOLARIS -D_REENTRANT -c -O
-DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER   
-I/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include  -o
DTDValidator2.o DTDValidator2.cpp
In file included from
/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/internal/XMLReader.hpp:70,
                 from
/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/internal/ReaderMgr.hpp:79,
                 from DTDValidator2.cpp:93:
/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/framework/XMLRecognizer.hpp:155:
warning: `class XMLRecognizer' only defines a private destructor and has
no friends
/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/util/NameIdPool.c:
In method `unsigned int NameIdPool<DTDElementDecl>::put(class
DTDElementDecl *)':
/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/util/NameIdPool.c:278:
Internal compiler error.
/export/home/local/mgm/hacking/xerces-cvs/xml-xerces/c/include/util/NameIdPool.c:278:
Please submit a full bug report to [EMAIL PROTECTED]'.
make: *** [DTDValidator2.o] Error 1

g++ tells me it's version 2.8.1, and it's a version I pinched from
solarisfreeware.com (under Linux, I've done a successful compile with
"egcs-2.90.29 980515 (egcs-1.0.3 release)"). This is after a
runConfigure -p solaris -c gcc -x g++ -t native.

If anyone's managed a Solaris build using any combination of compiler
and sources, please let me know.

Cheers,
Mike.

-- 
Mike Mason, Software Engineer
XML Script Development Team                    Office: 44-1865-203192
http://www.xmlscript.org/                      Mobile: 44-7050-288923

Reply via email to