Need help compiling AQ2

m0gely m0gely at telestream.com
Fri May 6 21:46:09 EDT 2005


I downloaded the source for Action Quake 2 so I could but am unable to 
compile it.  I've tried make and gmake but in either case it looks like 
something's not happy with 'q_shared.c'.  Any suggestions?

<snip>
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
http://quake2.telestream.com/
Q2 | Q3A | Counter-strike



More information about the quake2 mailing list