> I removed the -O2 and it did compile quite a bit more, but now I have 
> a different error...
> 
> make[2]: Leaving directory `/usr/local/xml-xalan/c/src/xalanc/Utils'
> g++ -DNDEBUG     -fno-elide-constructors -Wall -fPIC -DLINUX -
> D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c -I/usr/local/xml-xalan/c/src -
> I/usr/local/xml-xalan/c/include -I../../nls/include -
> I/usr/local/xerces-c-src_2_6_0/src/ -I/usr/local/xerces-c-
> src_2_6_0/include/xercesc -I/usr/local/xerces-c-src_2_6_0/include/  -
> o ../../obj/StylesheetExecutionContextDefault.o /usr/local/xml-
> xalan/c/src/xalanc/XSLT/StylesheetExecutionContextDefault.cpp
> Virtual memory exhausted!
> make[1]: *** [../../obj/StylesheetExecutionContextDefault.o] Error 1
> make[1]: Leaving directory `/usr/local/xml-xalan/c/src/xalanc'
> make: *** [all] Error 2

That version of gcc, which is not even an official version, is buggy, and 
you will have a hard time using it to build Xalan-C.

> I have 3GB of space on that drive.

It doesn't matter, unless you've got a large swap partition.  Linux will 
not use a regular partition for swap space.  You should also double-check 
what limits are set on your account, by using ulimit.

A Google search on "Virtual memory exhausted!" should also give you some 
things to experiment with.

Dave

Reply via email to