Results 1 to 7 of 7
Hi there, so I've been trying to install Warzone 2100 on Linux Mint. I have all the dependencies installed and ./configure works fine. But when I try to do "make" ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-14-2009 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 7
Warzone 2100 make problem
Hi there, so I've been trying to install Warzone 2100 on Linux Mint. I have all the dependencies installed and ./configure works fine. But when I try to do "make" I get tons of errors.
Code:mint@mint ~/Desktop/warzone2100-2.2.1 $ make make all-recursive make[1]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1' Making all in build_tools make[2]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' Making all in autorevision make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools/autorevision' ./autorevision +cstr -v ../.. ../../src/autorevision.h svn: Path '../..' ends in '..', which is unsupported for this operation sh: git: not found sh: git: not found Warning: could not open input file. This does not seem to be a revision controlled project. Warning: could not open input file. This does not seem to be a revision controlled project. Error: failed retrieving version information. Warning: using 0 as revision. Revision unchanged (0). Skipping. old = "0"; new = "0" make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools/autorevision' make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' make[2]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' Making all in win32 make[2]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/win32' Making all in lib make[2]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib' Making all in framework make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' make all-am make[4]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' Making all in exceptionhandler make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/exceptionhandler' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/exceptionhandler' Making all in script make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' make all-am make[4]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' Making all in sequence make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sequence' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sequence' Making all in ivis_common make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_common' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_common' Making all in ivis_opengl make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_opengl' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_opengl' Making all in gamelib make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' make all-am make[4]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' Making all in sound make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sound' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sound' Making all in netplay make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/netplay' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL -DNDEBUG -DDATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -g -Wall -Wwrite-strings -MT netplay.o -MD -MP -MF .deps/netplay.Tpo -c -o netplay.o netplay.c netplay.c:35:21: error: SDL_net.h: No such file or directory netplay.c:125: error: expected specifier-qualifier-list before ‘TCPsocket’ netplay.c:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tcp_socket’ netplay.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘socket_set’ netplay.c:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tmp_socket’ netplay.c:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tmp_socket_set’ netplay.c:187: error: expected ‘)’ before ‘sock’ netplay.c: In function ‘NET_createBufferedSocket’: netplay.c:417: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:418: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:419: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:420: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c: In function ‘NET_destroyBufferedSocket’: netplay.c:427: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c: At top level: netplay.c:431: error: expected declaration specifiers or ‘...’ before ‘TCPsocket’ netplay.c: In function ‘NET_initBufferedSocket’: netplay.c:433: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:433: error: ‘s’ undeclared (first use in this function) netplay.c:433: error: (Each undeclared identifier is reported only once netplay.c:433: error: for each function it appears in.) netplay.c:434: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:435: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:437: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:438: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c: At top level: netplay.c:441: error: expected declaration specifiers or ‘...’ before ‘SDLNet_SocketSet’ netplay.c: In function ‘NET_fillBuffer’: netplay.c:444: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:444: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:444: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:445: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:445: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:448: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:453: warning: implicit declaration of function ‘SDLNet_SocketReady’ netplay.c:453: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:458: warning: implicit declaration of function ‘SDLNet_TCP_Recv’ netplay.c:458: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:462: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:467: error: ‘socket_set’ undeclared (first use in this function) netplay.c:469: warning: implicit declaration of function ‘SDLNet_TCP_DelSocket’ netplay.c:469: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:471: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:472: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:474: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:476: warning: implicit declaration of function ‘SDLNet_GetError’ netplay.c:476: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:476: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:477: warning: implicit declaration of function ‘SDLNet_TCP_Close’ netplay.c:477: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:478: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: In function ‘NET_recvMessage’: netplay.c:491: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:491: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:497: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:502: warning: implicit declaration of function ‘SDL_SwapBE16’ netplay.c:504: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:511: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:512: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:517: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:520: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:520: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:530: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:533: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:534: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:543: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c: In function ‘NETplayerLeaving’: netplay.c:651: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:655: error: ‘socket_set’ undeclared (first use in this function) netplay.c:655: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:656: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:657: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: At top level: netplay.c:757: error: expected ‘)’ before ‘socket’ netplay.c: In function ‘NETrecvGAMESTRUCT’: netplay.c:882: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:883: error: ‘socket_set’ undeclared (first use in this function) netplay.c:884: warning: implicit declaration of function ‘SDLNet_CheckSockets’ netplay.c:890: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:898: warning: implicit declaration of function ‘SDL_SwapBE32’ netplay.c: In function ‘NETinit’: netplay.c:991: warning: implicit declaration of function ‘SDLNet_Init’ netplay.c:993: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETshutdown’: netplay.c:1011: warning: implicit declaration of function ‘SDLNet_Quit’ netplay.c: In function ‘NETclose’: netplay.c:1033: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1033: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1043: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1045: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1046: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1054: error: ‘tmp_socket_set’ undeclared (first use in this function) netplay.c:1057: warning: implicit declaration of function ‘SDLNet_FreeSocketSet’ netplay.c:1063: error: ‘tmp_socket’ undeclared (first use in this function) netplay.c:1072: error: ‘socket_set’ undeclared (first use in this function) netplay.c:1079: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETsend’: netplay.c:1206: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1207: warning: implicit declaration of function ‘SDLNet_TCP_Send’ netplay.c:1207: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1220: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:1221: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1229: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1239: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c: In function ‘NETbcast’: netplay.c:1276: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1284: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1289: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1289: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ netplay.c:1293: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1300: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1310: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ netplay.c: In function ‘NETprocessSystemMessage’: netplay.c:1385: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1402: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: In function ‘NETrecv’: netplay.c:1549: error: ‘socket_set’ undeclared (first use in this function) netplay.c:1557: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1561: error: too many arguments to function ‘NET_fillBuffer’ netplay.c:1568: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1612: error: too many arguments to function ‘NET_fillBuffer’ netplay.c:1643: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1645: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1654: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1661: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1664: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:1665: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: At top level: netplay.c:1828: error: expected ‘)’ before ‘sock’ netplay.c: In function ‘NETregisterServer’: netplay.c:1881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rs_socket’ netplay.c:1881: error: ‘rs_socket’ undeclared (first use in this function) netplay.c:1883: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘masterset’ netplay.c:1883: error: ‘masterset’ undeclared (first use in this function) netplay.c:1884: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:1884: error: expected ‘;’ before ‘ip’ netplay.c:1897: warning: implicit declaration of function ‘SDLNet_ResolveHost’ netplay.c:1897: error: ‘ip’ undeclared (first use in this function) netplay.c:1899: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:1906: warning: implicit declaration of function ‘SDLNet_TCP_Open’ netplay.c:1909: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ netplay.c:1918: warning: implicit declaration of function ‘SDLNet_AllocSocketSet’ netplay.c:1921: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:1923: warning: implicit declaration of function ‘SDLNet_TCP_AddSocket’ netplay.c:1932: warning: implicit declaration of function ‘NETsendGAMESTRUCT’ netplay.c:1935: warning: implicit declaration of function ‘readLobbyResponse’ netplay.c:1951: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETallowJoining’: netplay.c:1986: error: ‘tmp_socket_set’ undeclared (first use in this function) netplay.c:1995: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2000: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2008: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2018: error: ‘tmp_socket’ undeclared (first use in this function) netplay.c:2023: warning: implicit declaration of function ‘SDLNet_TCP_Accept’ netplay.c:2040: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:2098: error: too many arguments to function ‘NET_initBufferedSocket’ netplay.c:2099: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2099: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:2102: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: In function ‘NEThostGame’: netplay.c:2164: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:2164: error: expected ‘;’ before ‘ip’ netplay.c:2178: error: ‘ip’ undeclared (first use in this function) netplay.c:2180: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2184: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2187: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2192: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2195: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETfindGame’: netplay.c:2267: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:2267: error: expected ‘;’ before ‘ip’ netplay.c:2291: error: ‘ip’ undeclared (first use in this function) netplay.c:2294: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2307: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:2312: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2315: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2323: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ netplay.c:2332: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2353: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c: In function ‘NETjoinGame’: netplay.c:2394: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:2394: error: expected ‘;’ before ‘ip’ netplay.c:2407: error: ‘ip’ undeclared (first use in this function) netplay.c:2409: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:2413: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2421: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ netplay.c:2425: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2428: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2453: error: too many arguments to function ‘NET_initBufferedSocket’ netplay.c:2478: error: ‘NETBUFSOCKET’ has no member named ‘socket’ make[3]: *** [netplay.o] Error 1 make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/netplay' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1' make: *** [all] Error 2
- 08-15-2009 #2
Try this
Then make againsudo apt-get install git
- 08-15-2009 #3Just Joined!
- Join Date
- Feb 2007
- Posts
- 7
Thanks for helping. I tried that, but I still get the same error. Here it is again for reference. Also, it seems to have a big problem with "netplay". [I bolded the error message, scroll down]
Code:mint@mint ~/Desktop/warzone2100-2.2.1 $ make make all-recursive make[1]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1' Making all in build_tools make[2]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' Making all in autorevision make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools/autorevision' ./autorevision +cstr -v ../.. ../../src/autorevision.h svn: Path '../..' ends in '..', which is unsupported for this operation sh: git: not found sh: git: not found Warning: could not open input file. This does not seem to be a revision controlled project. Warning: could not open input file. This does not seem to be a revision controlled project. Error: failed retrieving version information. Warning: using 0 as revision. Revision unchanged (0). Skipping. old = "0"; new = "0" make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools/autorevision' make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' make[2]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/build_tools' Making all in win32 make[2]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/win32' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/win32' Making all in lib make[2]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib' Making all in framework make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' make all-am make[4]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/framework' Making all in exceptionhandler make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/exceptionhandler' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/exceptionhandler' Making all in script make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' make all-am make[4]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/script' Making all in sequence make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sequence' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sequence' Making all in ivis_common make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_common' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_common' Making all in ivis_opengl make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_opengl' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/ivis_opengl' Making all in gamelib make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' make all-am make[4]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' make[4]: Nothing to be done for `all-am'. make[4]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/gamelib' Making all in sound make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sound' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/sound' Making all in netplay make[3]: Entering directory `/home/mint/Desktop/warzone2100-2.2.1/lib/netplay' gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/local/include/SDL -DNDEBUG -DDATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -g -Wall -Wwrite-strings -MT netplay.o -MD -MP -MF .deps/netplay.Tpo -c -o netplay.o netplay.c netplay.c:35:21: error: SDL_net.h: No such file or directory netplay.c:125: error: expected specifier-qualifier-list before ‘TCPsocket’ netplay.c:141: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tcp_socket’ netplay.c:144: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘socket_set’ netplay.c:146: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tmp_socket’ netplay.c:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘tmp_socket_set’ netplay.c:187: error: expected ‘)’ before ‘sock’ netplay.c: In function ‘NET_createBufferedSocket’: netplay.c:417: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:418: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:419: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:420: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c: In function ‘NET_destroyBufferedSocket’: netplay.c:427: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c: At top level: netplay.c:431: error: expected declaration specifiers or ‘...’ before ‘TCPsocket’ netplay.c: In function ‘NET_initBufferedSocket’: netplay.c:433: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:433: error: ‘s’ undeclared (first use in this function) netplay.c:433: error: (Each undeclared identifier is reported only once netplay.c:433: error: for each function it appears in.) netplay.c:434: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:435: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:437: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:438: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c: At top level: netplay.c:441: error: expected declaration specifiers or ‘...’ before ‘SDLNet_SocketSet’ netplay.c: In function ‘NET_fillBuffer’: netplay.c:444: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:444: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:444: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:445: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:445: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:448: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:453: warning: implicit declaration of function ‘SDLNet_SocketReady’ netplay.c:453: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:458: warning: implicit declaration of function ‘SDLNet_TCP_Recv’ netplay.c:458: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:462: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:467: error: ‘socket_set’ undeclared (first use in this function) netplay.c:469: warning: implicit declaration of function ‘SDLNet_TCP_DelSocket’ netplay.c:469: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:471: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:472: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:474: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:476: warning: implicit declaration of function ‘SDLNet_GetError’ netplay.c:476: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:476: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:477: warning: implicit declaration of function ‘SDLNet_TCP_Close’ netplay.c:477: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:478: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: In function ‘NET_recvMessage’: netplay.c:491: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:491: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:497: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:502: warning: implicit declaration of function ‘SDL_SwapBE16’ netplay.c:504: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:511: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:512: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:517: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:520: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:520: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c:530: error: ‘NETBUFSOCKET’ has no member named ‘bytes’ netplay.c:533: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:534: error: ‘NETBUFSOCKET’ has no member named ‘buffer’ netplay.c:543: error: ‘NETBUFSOCKET’ has no member named ‘buffer_start’ netplay.c: In function ‘NETplayerLeaving’: netplay.c:651: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:655: error: ‘socket_set’ undeclared (first use in this function) netplay.c:655: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:656: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:657: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: At top level: netplay.c:757: error: expected ‘)’ before ‘socket’ netplay.c: In function ‘NETrecvGAMESTRUCT’: netplay.c:882: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:883: error: ‘socket_set’ undeclared (first use in this function) netplay.c:884: warning: implicit declaration of function ‘SDLNet_CheckSockets’ netplay.c:890: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:898: warning: implicit declaration of function ‘SDL_SwapBE32’ netplay.c: In function ‘NETinit’: netplay.c:991: warning: implicit declaration of function ‘SDLNet_Init’ netplay.c:993: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETshutdown’: netplay.c:1011: warning: implicit declaration of function ‘SDLNet_Quit’ netplay.c: In function ‘NETclose’: netplay.c:1033: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1033: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1043: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1045: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1046: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1054: error: ‘tmp_socket_set’ undeclared (first use in this function) netplay.c:1057: warning: implicit declaration of function ‘SDLNet_FreeSocketSet’ netplay.c:1063: error: ‘tmp_socket’ undeclared (first use in this function) netplay.c:1072: error: ‘socket_set’ undeclared (first use in this function) netplay.c:1079: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETsend’: netplay.c:1206: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1207: warning: implicit declaration of function ‘SDLNet_TCP_Send’ netplay.c:1207: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1220: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:1221: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1229: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1239: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c: In function ‘NETbcast’: netplay.c:1276: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1284: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1289: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1289: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ netplay.c:1293: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1300: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1310: warning: format ‘%s’ expects type ‘char *’, but argument 7 has type ‘int’ netplay.c: In function ‘NETprocessSystemMessage’: netplay.c:1385: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:1402: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: In function ‘NETrecv’: netplay.c:1549: error: ‘socket_set’ undeclared (first use in this function) netplay.c:1557: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1561: error: too many arguments to function ‘NET_fillBuffer’ netplay.c:1568: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1612: error: too many arguments to function ‘NET_fillBuffer’ netplay.c:1643: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1645: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1654: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1661: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:1664: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:1665: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: At top level: netplay.c:1828: error: expected ‘)’ before ‘sock’ netplay.c: In function ‘NETregisterServer’: netplay.c:1881: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rs_socket’ netplay.c:1881: error: ‘rs_socket’ undeclared (first use in this function) netplay.c:1883: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘masterset’ netplay.c:1883: error: ‘masterset’ undeclared (first use in this function) netplay.c:1884: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:1884: error: expected ‘;’ before ‘ip’ netplay.c:1897: warning: implicit declaration of function ‘SDLNet_ResolveHost’ netplay.c:1897: error: ‘ip’ undeclared (first use in this function) netplay.c:1899: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:1906: warning: implicit declaration of function ‘SDLNet_TCP_Open’ netplay.c:1909: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ netplay.c:1918: warning: implicit declaration of function ‘SDLNet_AllocSocketSet’ netplay.c:1921: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:1923: warning: implicit declaration of function ‘SDLNet_TCP_AddSocket’ netplay.c:1932: warning: implicit declaration of function ‘NETsendGAMESTRUCT’ netplay.c:1935: warning: implicit declaration of function ‘readLobbyResponse’ netplay.c:1951: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETallowJoining’: netplay.c:1986: error: ‘tmp_socket_set’ undeclared (first use in this function) netplay.c:1995: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2000: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2008: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2018: error: ‘tmp_socket’ undeclared (first use in this function) netplay.c:2023: warning: implicit declaration of function ‘SDLNet_TCP_Accept’ netplay.c:2040: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:2098: error: too many arguments to function ‘NET_initBufferedSocket’ netplay.c:2099: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2099: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c:2102: error: ‘NETBUFSOCKET’ has no member named ‘socket’ netplay.c: In function ‘NEThostGame’: netplay.c:2164: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:2164: error: expected ‘;’ before ‘ip’ netplay.c:2178: error: ‘ip’ undeclared (first use in this function) netplay.c:2180: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2184: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2187: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2192: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2195: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c: In function ‘NETfindGame’: netplay.c:2267: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:2267: error: expected ‘;’ before ‘ip’ netplay.c:2291: error: ‘ip’ undeclared (first use in this function) netplay.c:2294: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2307: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:2312: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2315: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2323: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ netplay.c:2332: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2353: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c: In function ‘NETjoinGame’: netplay.c:2394: error: ‘IPaddress’ undeclared (first use in this function) netplay.c:2394: error: expected ‘;’ before ‘ip’ netplay.c:2407: error: ‘ip’ undeclared (first use in this function) netplay.c:2409: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’ netplay.c:2413: error: ‘tcp_socket’ undeclared (first use in this function) netplay.c:2421: warning: format ‘%s’ expects type ‘char *’, but argument 6 has type ‘int’ netplay.c:2425: error: ‘socket_set’ undeclared (first use in this function) netplay.c:2428: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’ netplay.c:2453: error: too many arguments to function ‘NET_initBufferedSocket’ netplay.c:2478: error: ‘NETBUFSOCKET’ has no member named ‘socket’ make[3]: *** [netplay.o] Error 1 make[3]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib/netplay' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mint/Desktop/warzone2100-2.2.1' make: *** [all] Error 2
- 08-15-2009 #4
Try Installing
libsdl-net1.2 , libsdl-net1.2-dev , gnuit
- 08-16-2009 #5Just Joined!
- Join Date
- Feb 2007
- Posts
- 7
I tried that, but it says all of that is already installed.
Code:mint@mint ~ $ sudo apt-get install libsdl-net1.2 , libsdl-net1.2-dev , gnuit Reading package lists... Done Building dependency tree Reading state information... Done libsdl-net1.2 is already the newest version. libsdl-net1.2 set to manually installed. E: Couldn't find package , mint@mint ~ $ sudo apt-get install libsdl-net1.2-dev Reading package lists... Done Building dependency tree Reading state information... Done libsdl-net1.2-dev is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 201 not upgraded. mint@mint ~ $ sudo apt-get install gnuit Reading package lists... Done Building dependency tree Reading state information... Done gnuit is already the newest version. gnuit set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 201 not upgraded. mint@mint ~ $
- 08-16-2009 #6
Are you sure this game is not in your system repos?
I am using Gentoo Linux and I have it listed in my repos, which would make installing it a snap.
Code:emerge -s warzone Searching... [ Results for search key : warzone ] [ Applications found : 1 ] * games-strategy/warzone2100 Latest version available: 2.2.1 Latest version installed: [ Not Installed ] Size of files: 212,416 kB Homepage: http://wz2100.net/ Description: 3D real-time strategy game License: GPL-2 CCPL-Attribution-ShareAlike-3.0 public-domainI do not respond to private messages asking for Linux help, Please keep it on the forums only.
All new users please read this.** Forum FAQS. ** Adopt an unanswered post.
I'd rather be lost at the lake than found at home.
- 08-16-2009 #7Just Joined!
- Join Date
- Feb 2007
- Posts
- 7
Oh, haha. Indeed it is. Thanks a lot!


Reply With Quote
