Hello,
I have a problem to compile Mangos for Debian Sparc.
This is error messages:
make[4]: Entering directory `/home/mangos/mangos/objdir/dep/src/g3dlite'
g++ -DHAVE_CONFIG_H -I. -I../../../../dep/src/g3dlite -I../../.. -I../../../../dep/src/g3dlite -I../../../../dep/src/g3dlite/../../include -I../../../../dep/src/g3dlite/../../include/g3dlite -DDO_MYSQL -g -O2 -MT AABox.o -MD -MP -MF .deps/AABox.Tpo -c -o AABox.o ../../../../dep/src/g3dlite/AABox.cpp
In file included from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/debugPrintf.h:19,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/debug.h:21,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/g3dmath.h:56,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Vector3.h:18,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/AABox.h:19,
from ../../../../dep/src/g3dlite/AABox.cpp:11:
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/format.h:30: error: expected initializer before 'format'
In file included from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/debug.h:21,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/g3dmath.h:56,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Vector3.h:18,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/AABox.h:19,
from ../../../../dep/src/g3dlite/AABox.cpp:11:
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/debugPrintf.h:44: error: expected initializer before 'consolePrintf'
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/debugPrintf.h:56: error: expected initializer before 'debugPrintf'
In file included from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Table.h:20,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Vector2.h:22,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Vector3.h:20,
from ../../../../dep/src/g3dlite/../../include/g3dlite/G3D/AABox.h:19,
from ../../../../dep/src/g3dlite/AABox.cpp:11:
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:135: error: expected ';' before 'compareGT'
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:145: error: expected `;' before 'void'
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:986: error: expected `)' before '*' token
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:986: error: expected ',' or '...' before '*' token
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:986: error: 'sortSubArray' declared as function returning a function
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:986: error: expected ';' before ')' token
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:994: error: expected `;' before 'template'
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h: In member function 'void G3D::Array<T, MIN_ELEMENTS, MIN_BYTES>::sort(int)':
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:971: error: 'compareGT' was not declared in this scope
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h: In member function 'void G3D::Array<T, MIN_ELEMENTS, MIN_BYTES>::sortSubArray(int, int, int)':
../../../../dep/src/g3dlite/../../include/g3dlite/G3D/Array.h:982: error: 'compareGT' was not declared in this scope
make[4]: *** [AABox.o] Error 1
make[4]: Leaving directory `/home/mangos/mangos/objdir/dep/src/g3dlite'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mangos/mangos/objdir/dep/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mangos/mangos/objdir/dep'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mangos/mangos/objdir'
make: *** [all] Error 2
Help me please,
cordially,
chocofusee,