Installing/Compiling TGE 1.5.2 on Fedora 10. GCC3 Errors
by Marcus Fernstrom · in Technical Issues · 04/28/2009 (1:18 am) · 1 replies
Anyone up to helping out with a linux problem?
I'm trying to compile TGE 1.5.2 on Fedora 10 and I'm running into problems I can't figure out.
I'm at the step make clean, make dedicated (This box is going to be an internal beta test server) and I don't need sound or graphics or anything fancy, just a dedicated build that runs the server.
Ok, here's the errors I'm getting:
Any ideas?
I'm new to compiling, done it a few times on Windows (This is a fresh install from a vanilla TGE download btw.) but yeah.. can't seem to figure this one out, or how to fix it..
I'm trying to compile TGE 1.5.2 on Fedora 10 and I'm running into problems I can't figure out.
I'm at the step make clean, make dedicated (This box is going to be an internal beta test server) and I don't need sound or graphics or anything fancy, just a dedicated build that runs the server.
Ok, here's the errors I'm getting:
In file included from ./platform/platformAL.h:26,
from ./platform/platformAudio.h:17,
from ./audio/audio.h:11,
from audio/audio.cc:7:
../lib/openal/LINUX/al/al_func.h:18: error: ‘<anonymous>’ has incomplete type
../lib/openal/LINUX/al/al_func.h:18: error: invalid use of ‘ALvoid’
In file included from ./platform/platformAL.h:27,
from ./platform/platformAudio.h:17,
from ./audio/audio.h:11,
from audio/audio.cc:7:
../lib/openal/LINUX/al/alc_func.h:11: error: ‘<anonymous>’ has incomplete type
../lib/openal/LINUX/al/alc_func.h:11: error: invalid use of ‘ALCvoid’
In file included from ./sim/netConnection.h:20,
from ./game/gameConnection.h:17,
from audio/audio.cc:12:
./platform/event.h:128: warning: invalid access to non-static data member ‘PacketReceiveEvent::data’ of NULL object
./platform/event.h:128: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
./platform/event.h:130: warning: invalid access to non-static data member ‘ConnectedReceiveEvent::data’ of NULL object
./platform/event.h:130: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
./platform/event.h:132: warning: invalid access to non-static data member ‘ConsoleEvent::data’ of NULL object
./platform/event.h:132: warning: (perhaps the ‘offsetof’ macro was used incorrectly)
audio/audio.cc: In function ‘bool cullSource(U32*, F32)’:
audio/audio.cc:252: error: too few arguments to function
audio/audio.cc: In function ‘AUDIOHANDLE alxCreateSource(const Audio::Description*, const char*, const MatrixF*, AudioSampleEnvironment*)’:
audio/audio.cc:731: error: too few arguments to function
audio/audio.cc: In function ‘void alxLoopingUpdate()’:
audio/audio.cc:1732: error: too few arguments to function
audio/audio.cc: In function ‘void alxStreamingUpdate()’:
audio/audio.cc:1833: error: too few arguments to function
audio/audio.cc: In function ‘bool Audio::OpenALInit()’:
audio/audio.cc:2414: error: too few arguments to function
audio/audio.cc:2419: error: too few arguments to function
audio/audio.cc:2441: error: too few arguments to function
make[1]: *** [out.GCC3.DEBUG/audio/audio.obj] Error 1
make: *** [dedicated] Error 2Any ideas?
I'm new to compiling, done it a few times on Windows (This is a fresh install from a vanilla TGE download btw.) but yeah.. can't seem to figure this one out, or how to fix it..
Torque Owner Wes Macdonald
Edit:
Now that I have looked closer that's not your issue. Take a look at this post. You need to install an older version of the gcc compiler. Torque will not build with the new one.