I've been trying to compile the game from source on Arch, this is what I get:
Code: Select all
In file included from ../../lib/framework/wzglobal.h:32,
from ../../lib/framework/frame.h:26,
from resource_lexer.l:26:
../../config.h:132:1: error: "_XOPEN_SOURCE" redefined
In file included from /usr/include/stdio.h:28,
from resource_lexer.lex.c:39:
/usr/include/features.h:160:1: error: this is the location of the previous definition
make[4]: *** [resource_lexer.lex.o] Error 1
make[4]: Leaving directory `/home/otx/builds/warzone2100-2.2.0/lib/framework'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/otx/builds/warzone2100-2.2.0/lib/framework'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/otx/builds/warzone2100-2.2.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/otx/builds/warzone2100-2.2.0'
make: *** [all] Error 2
Thanks in advance.
