compiling 0.4.1 under linux ppc

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
phaidros

compiling 0.4.1 under linux ppc

Post by phaidros »

hi peeps,

I got following errors compiling v. 0.4.1 under linux ppc, as gentoo ebuild, so far I dunno where to get the config.log. maybe the compile error below is onformation enuff. thanx for helping!

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -O3 -pipe -mcpu=750 -DGLX_GLXEXT_LEGACY -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c script_call_string.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -O3 -pipe -mcpu=750 -DGLX_GLXEXT_LEGACY -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c script_variables.cpp
{standard input}: Assembler messages:
{standard input}:3278: Error: value of 4006191600017786 too large for field of 4 bytes at 0000000000000298
make[5]: *** [script_call_string.o] Error 1
make[5]: *** Waiting for unfinished jobs....
script_variables.cpp: In member function `void Mission::doSetVar(missionNode*,
int)':
script_variables.cpp:540: warning: unused variable `bool res'
script_variables.cpp:543: warning: unused variable `double res'
script_variables.cpp:546: warning: unused variable `float res'
script_variables.cpp: In member function `void Mission::saveVarInst(varInst*,
std::ostream&)':
script_variables.cpp:814: warning: unsigned int format, pointer arg (arg 4)
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/cmd/script'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/cmd/script'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src/cmd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike'
make: *** [all-recursive-am] Error 2

any suggestions?
regards
[phaidros]
ace123
Lead Network Developer
Lead Network Developer
Posts: 2560
Joined: Sun Jan 12, 2003 9:13 am
Location: Palo Alto CA
Contact:

Post by ace123 »

Maybe try copying the commang line

Code: Select all

cd cmd/script;g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../src -I../../../src/boost129 -DHAVE_SDL=1 -DSDL_WINDOWING=1 -DHAVE_SDL_MIXER=1 -DHAVE_AL=1 -I/usr/include/python2.2 -DHAVE_PYTHON=1 -DUSE_BOOST_129=1 -O2 -pipe -mcpu=750 -DGLX_GLXEXT_LEGACY -pipe -fexpensive-optimizations -fomit-frame-pointer -Wall -ffast-math -I/usr/include/SDL -D_REENTRANT -pipe -c script_variables.cpp 
{standard input}: Assembler messages: 
Somnetimes the -O3 doesn't work... Or try taking out the -O altoghether

Also, try using ./configure --enable-boost-128.
Post Reply