Compilation of vegastrike impossible on big-endian gnu/linx?

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
th3d0ct0r
Atmospheric Pilot
Atmospheric Pilot
Posts: 1
Joined: Sat Nov 29, 2003 10:59 pm
Contact:

Compilation of vegastrike impossible on big-endian gnu/linx?

Post by th3d0ct0r »

is it impossible to compile/run vegastrike on following system:

arch=g3-ppc 350mhz
OS=gnu/linux gentoo 1.4
gcc version 3.2.3

this is the tail of the build process output:
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 -fsigned-char
-mpowerpc-gfxopt -mmultiple -mstring -DGLX_GLXEXT_LEGACY -pipe -O2 -fexpensive-optimizations -fomit-frame-pointer -Wall
-ffast-math -I/usr/include/SDL
-D_REENTRANT -pipe -c endianness.cpp
endianness.cpp: In function `double VSSwapHostDoubleToLittle(double)':
endianness.cpp:17: `DONTUSE__NXSwapBigDoubleToLittle' undeclared (first use
this function)
endianness.cpp:17: (Each undeclared identifier is reported only once for each
function it appears in.)
make[3]: *** [endianness.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/vegastrike-0.4.1/work/vegastrike-0.4.1-installer/vegastrike/src'
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

!!! ERROR: games-rpg/vegastrike-0.4.1 failed.
!!! Function src_compile, Line 81, Exitcode 2
!!! emake failed

i guess it has something to do with the endianess of my system.
please advise, i already posted a bug report on gentoo. foolishly
Post Reply