joseph@linux-niv0:~/rtciv-0.1.5> make linux gcc `sdl-config --cflags` -O2 -std=c99 -Wall -Wno-long-long -I. -c --pedantic rtciv.c /bin/sh: sdl-config: command not found rtciv.c:28:17: error: SDL.h: No such file or directory rtciv.c:29:24: error: SDL_thread.h: No such file or directory rtciv.c:30:21: error: SDL_net.h: No such file or directory rtciv.c:31:23: error: SDL_mixer.h: No such file or directory In file included from rtciv.c:33: ai.h:28: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018CheckWoodStocks%u2019 In file included from rtciv.c:34: audio.h:38: error: expected specifier-qualifier-list before %u2018Uint16%u2019 audio.h:42: warning: struct has no members audio.h:45: error: expected %u2018)%u2019 before %u2018struct%u2019 audio.h:49: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token In file included from unit.h:28, from civ.h:29, from rtciv.c:35: network.h:33: error: expected specifier-qualifier-list before %u2018Uint8%u2019 network.h:55: warning: struct has no members network.h:58: error: expected specifier-qualifier-list before %u2018Uint32%u2019 network.h:70: warning: struct has no members In file included from civ.h:29, from rtciv.c:35: unit.h:96: error: expected specifier-qualifier-list before %u2018Sint32%u2019 unit.h:98: warning: struct has no members unit.h:101: error: expected specifier-qualifier-list before %u2018Uint32%u2019 unit.h:109: warning: struct has no members unit.h:112: error: expected specifier-qualifier-list before %u2018Sint16%u2019 unit.h:118: warning: struct has no members unit.h:126: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019 unit.h:137: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019 unit.h:164: error: expected specifier-qualifier-list before %u2018Sint8%u2019 unit.h:220: warning: struct has no members unit.h:225: error: expected specifier-qualifier-list before %u2018Uint8%u2019 In file included from civ.h:30, from rtciv.c:35: text.h:55: error: expected %u2018)%u2019 before %u2018*%u2019 token text.h:60: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019 text.h:61: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint8%u2019 text.h:61: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019 text.h:63: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019 text.h:64: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019 In file included from rtciv.c:35: civ.h:66: error: expected specifier-qualifier-list before %u2018Uint32%u2019 civ.h:72: error: expected specifier-qualifier-list before %u2018Uint16%u2019 In file included from rtciv.c:37: images.h:32: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token images.h:33: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token images.h:43: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token images.h:45: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token In file included from rtciv.c:39: main.h:28:21: error: SDL_ttf.h: No such file or directory In file included from rtciv.c:39: main.h:63: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019 main.h:151: error: expected specifier-qualifier-list before %u2018Uint8%u2019 main.h:158: warning: parameter names (without types) in function declaration In file included from rtciv.c:41: minimap.h:37: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019 minimap.h:40: warning: struct has no members minimap.h:45: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint32%u2019 minimap.h:46: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint32%u2019 In file included from rtciv.c:44: sprite.h:36: error: expected %u2018)%u2019 before %u2018*%u2019 token sprite.h:41: warning: parameter names (without types) in function declaration sprite.h:43: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint32%u2019 sprite.h:43: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019 In file included from rtciv.c:46: statusbar.h:39: error: expected declaration specifiers or %u2018...%u2019 before %u2018Sint8%u2019 statusbar.h:39: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint16%u2019 In file included from rtciv.c:47: tech.h:71: error: expected specifier-qualifier-list before %u2018Uint32%u2019 tech.h:86: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018GetNextTech%u2019 tech.h:88: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:89: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:90: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:91: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:92: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:93: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:94: error: expected %u2018)%u2019 before %u2018int%u2019 tech.h:99: error: expected %u2018)%u2019 before %u2018const%u2019 In file included from rtciv.c:50: video.h:30: warning: parameter names (without types) in function declaration rtciv.c:56: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token rtciv.c:57: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018cliprect%u2019 rtciv.c:62: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018debug%u2019 rtciv.c:72: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 token rtciv.c:78: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018socketset%u2019 rtciv.c:79: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018sockets%u2019 rtciv.c:80: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018playeraddresses%u2019 rtciv.c: In function %u2018main%u2019: rtciv.c:116: error: %u2018debug%u2019 undeclared (first use in this function) rtciv.c:116: error: (Each undeclared identifier is reported only once rtciv.c:116: error: for each function it appears in.) rtciv.c:126: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019 rtciv.c:134: error: %u2018struct Cost%u2019 has no member named %u2018wood%u2019 rtciv.c:135: error: %u2018struct Cost%u2019 has no member named %u2018food%u2019 rtciv.c:136: error: %u2018struct Cost%u2019 has no member named %u2018metal%u2019 rtciv.c:137: error: %u2018struct Cost%u2019 has no member named %u2018gold%u2019 rtciv.c:138: error: %u2018struct Cost%u2019 has no member named %u2018stone%u2019 rtciv.c:139: error: %u2018struct Cost%u2019 has no member named %u2018oil%u2019 rtciv.c:140: error: %u2018struct Cost%u2019 has no member named %u2018radioactive%u2019 rtciv.c:141: error: %u2018struct Cost%u2019 has no member named %u2018modifier%u2019 rtciv.c:147: error: %u2018struct gameui%u2019 has no member named %u2018rollover%u2019 rtciv.c:148: error: %u2018struct gameui%u2019 has no member named %u2018rollover%u2019 rtciv.c:155: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019 rtciv.c:156: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019 rtciv.c:157: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019 rtciv.c:158: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019 rtciv.c:163: error: %u2018struct gameui%u2019 has no member named %u2018options%u2019 rtciv.c:170: error: %u2018struct gameui%u2019 has no member named %u2018isosquare%u2019 rtciv.c:171: error: %u2018struct gameui%u2019 has no member named %u2018isosquare%u2019 rtciv.c:173: error: %u2018currentcursor%u2019 undeclared (first use in this function) rtciv.c:174: error: %u2018shadowmap%u2019 undeclared (first use in this function) rtciv.c:175: error: %u2018struct gameui%u2019 has no member named %u2018resourcebar%u2019 rtciv.c:176: error: %u2018struct gameui%u2019 has no member named %u2018shadowbar%u2019 rtciv.c:178: error: %u2018SDL_HWSURFACE%u2019 undeclared (first use in this function) rtciv.c:178: error: %u2018SDL_ANYFORMAT%u2019 undeclared (first use in this function) rtciv.c:178: error: %u2018SDL_HWACCEL%u2019 undeclared (first use in this function) rtciv.c:178: error: %u2018SDL_INIT_NOPARACHUTE%u2019 undeclared (first use in this function) rtciv.c:196: warning: implicit declaration of function %u2018SDL_GetTicks%u2019 rtciv.c:201: error: %u2018socketset%u2019 undeclared (first use in this function) rtciv.c:223: warning: implicit declaration of function %u2018SDL_CreateThread%u2019 rtciv.c:228: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019 rtciv.c:231: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019 rtciv.c:234: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019 rtciv.c:237: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019 rtciv.c:246: warning: implicit declaration of function %u2018SDLNet_TCP_Send%u2019 rtciv.c:246: error: %u2018sockets%u2019 undeclared (first use in this function) rtciv.c:246: error: %u2018Uint32%u2019 undeclared (first use in this function) rtciv.c:258: warning: implicit declaration of function %u2018SDL_EnableKeyRepeat%u2019 rtciv.c:259: warning: implicit declaration of function %u2018SDL_ShowCursor%u2019 rtciv.c:259: error: %u2018SDL_DISABLE%u2019 undeclared (first use in this function) rtciv.c:275: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019 rtciv.c:277: error: %u2018struct gameunit%u2019 has no member named %u2018uid%u2019 rtciv.c:277: error: %u2018struct gameunit%u2019 has no member named %u2018mapposx%u2019 rtciv.c:277: error: %u2018struct gameunit%u2019 has no member named %u2018mapposy%u2019 rtciv.c:278: error: %u2018struct gameunit%u2019 has no member named %u2018uid%u2019 rtciv.c:278: error: %u2018struct gameunit%u2019 has no member named %u2018previousunit%u2019 rtciv.c:278: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019 rtciv.c:279: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019 rtciv.c:284: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019 rtciv.c:285: error: %u2018cursor_rect%u2019 undeclared (first use in this function) rtciv.c:292: error: %u2018struct gameui%u2019 has no member named %u2018mapmoved%u2019 rtciv.c:305: error: %u2018struct gameui%u2019 has no member named %u2018mapmoved%u2019 rtciv.c:307: error: %u2018struct gameui%u2019 has no member named %u2018mapmoved%u2019 rtciv.c:311: warning: implicit declaration of function %u2018SDL_BlitSurface%u2019 rtciv.c:311: error: %u2018screen%u2019 undeclared (first use in this function) rtciv.c:318: error: %u2018struct civilization%u2019 has no member named %u2018type%u2019 rtciv.c:334: warning: implicit declaration of function %u2018MoveMouseCursor%u2019 rtciv.c:344: warning: implicit declaration of function %u2018SDL_Delay%u2019 rtciv.c:354: warning: call to function %u2018QuitGame%u2019 without a real prototype main.h:158: note: %u2018QuitGame%u2019 was declared here rtciv.c: At top level: rtciv.c:359: error: expected %u2018)%u2019 before %u2018*%u2019 token rtciv.c:377: error: expected %u2018)%u2019 before %u2018option%u2019 rtciv.c: In function %u2018LoadDesc%u2019: rtciv.c:397: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:399: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:400: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:401: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:402: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:403: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:404: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:405: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:411: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:412: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:413: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:414: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:415: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:416: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:417: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:423: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:424: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:425: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:426: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:427: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:428: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:429: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:438: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019 rtciv.c:439: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019 rtciv.c:446: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019 rtciv.c:447: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019 rtciv.c: In function %u2018WriteConfigFile%u2019: rtciv.c:462: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019 rtciv.c:463: error: %u2018struct gameui%u2019 has no member named %u2018audio%u2019 rtciv.c:464: error: %u2018struct gameui%u2019 has no member named %u2018audio%u2019 rtciv.c:465: error: %u2018struct gameui%u2019 has no member named %u2018options%u2019 rtciv.c: In function %u2018ReadConfigFile%u2019: rtciv.c:480: error: %u2018struct option%u2019 has no member named %u2018fullscreen%u2019 rtciv.c:481: error: %u2018struct option%u2019 has no member named %u2018language%u2019 rtciv.c:482: error: %u2018struct option%u2019 has no member named %u2018audflag%u2019 rtciv.c:483: error: %u2018struct option%u2019 has no member named %u2018volume%u2019 rtciv.c:484: error: %u2018struct option%u2019 has no member named %u2018mapdisplay%u2019 rtciv.c:502: warning: implicit declaration of function %u2018strcasecmp%u2019 rtciv.c:528: error: %u2018struct option%u2019 has no member named %u2018fullscreen%u2019 rtciv.c:537: error: %u2018struct option%u2019 has no member named %u2018language%u2019 rtciv.c:546: error: %u2018struct option%u2019 has no member named %u2018audflag%u2019 rtciv.c:556: error: %u2018struct option%u2019 has no member named %u2018volume%u2019 rtciv.c:566: error: %u2018struct option%u2019 has no member named %u2018mapdisplay%u2019 rtciv.c:571: error: %u2018struct option%u2019 has no member named %u2018fullscreen%u2019 rtciv.c:572: error: %u2018struct option%u2019 has no member named %u2018language%u2019 rtciv.c:573: error: %u2018struct option%u2019 has no member named %u2018audflag%u2019 rtciv.c:574: error: %u2018struct option%u2019 has no member named %u2018volume%u2019 rtciv.c:575: error: %u2018struct option%u2019 has no member named %u2018mapdisplay%u2019 make: *** [rtciv.o] Error 1 joseph@linux-niv0:~/rtciv-0.1.5>