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

I have 3GB of space on that drive.

Joe


> This message is in MIME format. Since your mail reader does not 
understand
> this format, some or all of this message may not be legible.
> 
> 
> May be it is due to data seg size [ulimit -d] set to a low value?
> -srini
> 
> -----Original Message-----
> From: Wyles Eric - ewyles [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 07, 2005 12:04 PM
> To: '[email protected]'
> Subject: RE: Build Problems
> 
> I had similar problems building on gcc 2.96. I ended up having to 
take the
> optimizations out of the compile options (the -O2  flag) and 
everything
> worked fine after that.
> 
> -----Original Message-----
> From: Joseph Laccone [mailto:[EMAIL PROTECTED] 
> Sent: Monday, February 07, 2005 10:32 AM
> To: [email protected]
> Subject: Re: Build Problems
> 
> 
> I am running gcc ver 2.96
> OS is Linux (Kernel 2.4.9-e.49)
> 
> > This is a multipart message in MIME format.
> > 
> > What version of gcc and OS level are you building on?
> > 
> > June K. Ng
> > XSLT Development
> > Email: [EMAIL PROTECTED]
> > 
> > 
> > 
> > 
> > "Joseph Laccone" <[EMAIL PROTECTED]>
> > 02/07/2005 10:57 AM
> > Please respond to
> > xalan-c-users
> > 
> > 
> > To
> > [email protected]
> > cc
> > 
> > Subject
> > Build Problems
> > 
> > 
> > 
> > 
> > 
> > 
> > I am having problems building Xalan 1.9 on my website. Xerces built
> > fine and is running.
> > 
> > Here is the error I receive.
> > 
> > g++ -O2 -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/XalanDOMString.o /usr/local/xml- 
> > xalan/c/src/xalanc/XalanDOM/XalanDOMString.cpp
> > 
> > Cannot allocate 2109696 bytes after allocating 8616924 bytes
> > make[1]: *** [../../obj/XalanDOMString.o] Error 1
> > make[1]: Leaving directory `/usr/local/xml-xalan/c/src/xalanc'
> > make: *** [all] Error 2
> > 
> > Can anybody tell me what is causing this (and how to fix it)?
> > 
> > Joe


Reply via email to