Code: Select all
make[3]: Entering directory `/home/philipp/warzone2100-2.2.0/src'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DPNG_NO_MMX_CODE -I/usr/include/libpng12 -DNDEBUG -DDATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -g -Wall -Wwrite-strings -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c
version.c:31:6: error: ':' without preceding '?'
version.c: In function ‘version_getLowRevision’:
version.c:39: error: ‘git’ undeclared (first use in this function)
version.c:39: error: (Each undeclared identifier is reported only once
version.c:39: error: for each function it appears in.)
version.c:39: error: expected ‘;’ before ‘:’ token
version.c:39:9: warning: multi-character character constant
version.c:40: warning: control reaches end of non-void function
version.c: In function ‘version_getRevision’:
version.c:44: error: ‘git’ undeclared (first use in this function)
version.c:44: error: expected ‘;’ before ‘:’ token
version.c:44:9: warning: multi-character character constant
version.c:45: warning: control reaches end of non-void function
version.c: In function ‘version_getVersionString’:
version.c:65: error: ‘git’ undeclared (first use in this function)
version.c:65: error: expected ‘)’ before ‘:’ token
version.c:65:12: warning: multi-character character constant
version.c:108:6: error: ':' without preceding '?'
version.c:124:6: error: ':' without preceding '?'
make[3]: *** [version.o] Fehler 1
make[3]: Leaving directory `/home/philipp/warzone2100-2.2.0/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/philipp/warzone2100-2.2.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/philipp/warzone2100-2.2.0'
make: *** [all] Fehler 2