virtual memory exhausted

Trying to build your own version of Vega Strike and having problems? Unix users, paste your config.log here (stderr output alone is not helpful).
Post Reply
Guest

virtual memory exhausted

Post by Guest »

I tried to compile vegastrike under debian woody.

The compiler stands a long time at the following point:

Code: Select all

c++ -DHAVE_CONFIG_H -I. -I. -I../../../..   -DHAVE_AL=1   -I/usr/include/python2.2 -DHAVE_PYTHON=1  -DUSE_BOOST_128=1   -pipe -O3 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math   -pipe  -c c_alike.tab.cpp
c_alike.yacc: In function `int yyparse()':
c_alike.yacc:132: warning: comparison between signed and unsigned
c_alike.yacc:165: warning: comparison between signed and unsigned
/usr/lib/bison.simple:614: warning: comparison between signed and unsigned
/usr/lib/bison.simple:626: warning: comparison between signed and unsigned
/usr/lib/bison.simple:761: Internal compiler error:
/usr/lib/bison.simple:761: virtual memory exhausted
make[5]: *** [c_alike.tab.o] Fehler 1
make[5]: Leaving directory `/usr/download/Software/vegastrike-0.4.1-installer/vegastrike/src/cmd/script/c_alike'
make[4]: *** [all-recursive] Fehler 1
make[4]: Leaving directory `/usr/download/Software/vegastrike-0.4.1-installer/vegastrike/src/cmd/script'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/usr/download/Software/vegastrike-0.4.1-installer/vegastrike/src/cmd'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/usr/download/Software/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/usr/download/Software/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Fehler 2
and stop the procedure.
I configured with --enable-boost-128.
Guest

Post by Guest »

hellcatv wrote:try this
type
cd vegastrike/src/cmd/script/c_alike
make
then copy the command line it spits out

and delete the -O3
then hit enter
it should build the problematic file
then run the seutp script again and it should continue where it left off

the problem is that compiling the old c_alike code takes a TON of memory with options on

and someone (not me) decided to make the configure.in use -O3 instead of -O2 (doh!)
that makes it take even more memory
Ok, thank you :)
Im sorry.
Guest

Post by Guest »

hellcatv wrote: and someone (not me) decided to make the configure.in use -O3 instead of -O2 (doh!)
that makes it take even more memory
Which command needs more than 700MB Virtual Memory (RAM + Swap) that my system lacks down.
hellcatv
Developer
Developer
Posts: 3980
Joined: Fri Jan 03, 2003 4:53 am
Location: Stanford, CA
Contact:

Post by hellcatv »

if you get the files in the c_alike folder from CVS right now it should work fine
or redownload the posted binary
Vega Strike Lead Developer
http://vegastrike.sourceforge.net/
Post Reply