[quake2] Need help compiling AQ2

m0gely m0gely at telestream.com
Sun May 15 03:00:14 EDT 2005

qudos qudos wrote:

> Hi,
> I have the sources and also the data, the sources compiles fine for me.

How did you compile?  I tried your file and it's the same as the one I 
had.  The entire output is here.  Again, this is under FreeBSD 4.11 with 
RH9  Linux compat installed:

gcc -Dstricmp=strcasecmp -g -fPIC -o g_ai.o -c g_ai.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_cmds.o -c g_cmds.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_combat.o -c g_combat.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_func.o -c g_func.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_items.o -c g_items.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_main.o -c g_main.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_misc.o -c g_misc.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_monster.o -c g_monster.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_phys.o -c g_phys.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_save.o -c g_save.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_spawn.o -c g_spawn.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_svcmds.o -c g_svcmds.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_target.o -c g_target.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_trigger.o -c g_trigger.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_turret.o -c g_turret.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_utils.o -c g_utils.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_weapon.o -c g_weapon.c
gcc -Dstricmp=strcasecmp -g -fPIC -o g_chase.o -c g_chase.c
gcc -Dstricmp=strcasecmp -g -fPIC -o p_client.o -c p_client.c
gcc -Dstricmp=strcasecmp -g -fPIC -o p_hud.o -c p_hud.c
gcc -Dstricmp=strcasecmp -g -fPIC -o p_trail.o -c p_trail.c
gcc -Dstricmp=strcasecmp -g -fPIC -o p_view.o -c p_view.c
gcc -Dstricmp=strcasecmp -g -fPIC -o p_weapon.o -c p_weapon.c
gcc -Dstricmp=strcasecmp -g -fPIC -o q_shared.o -c q_shared.c
q_shared.c: In function `__declspec':
q_shared.c:401: syntax error before `{'
q_shared.c:403: storage class specified for parameter `Ljmptab'
q_shared.c:405: syntax error before `__asm'
q_shared.c:643: syntax error before `for'
q_shared.c:745: syntax error before `{'
q_shared.c:749: syntax error before `length'
q_shared.c:825: syntax error before `while'
q_shared.c:927: syntax error before `{'
q_shared.c:972: syntax error before `}'
q_shared.c:1035: storage class specified for parameter `string'
q_shared.c:1037: syntax error before `('
q_shared.c:1055: syntax error before `{'
q_shared.c:1060: syntax error before `data'
q_shared.c:1145: syntax error before `{'
q_shared.c:1212: syntax error before `('
q_shared.c:1239: storage class specified for parameter `value'
q_shared.c:1241: storage class specified for parameter `valueindex'
q_shared.c:1244: syntax error before `valueindex'
q_shared.c:1282: conflicting types for `value'
q_shared.c:1239: previous declaration of `value'
q_shared.c:1283: redeclaration of `o'
q_shared.c:1242: `o' previously declared here
q_shared.c:1285: syntax error before `if'
q_shared.c:1349: parameter `maxsize' is initialized
q_shared.c:1351: syntax error before `if'
gmake: *** [q_shared.o] Error 1

- m0gely
Q2 | Q3A | Counter-strike

More information about the quake2 mailing list