All pastes #1280342 Raw Edit

Something

public text v1 · immutable
#1280342 ·published 2008-12-09 01:54 UTC
rendered paste body
joseph@linux-niv0:~/rtciv-0.1.5> make linuxgcc  `sdl-config --cflags` -O2 -std=c99 -Wall -Wno-long-long -I.  -c --pedantic rtciv.c/bin/sh: sdl-config: command not foundrtciv.c:28:17: error: SDL.h: No such file or directoryrtciv.c:29:24: error: SDL_thread.h: No such file or directoryrtciv.c:30:21: error: SDL_net.h: No such file or directoryrtciv.c:31:23: error: SDL_mixer.h: No such file or directoryIn 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%u2019In file included from rtciv.c:34:audio.h:38: error: expected specifier-qualifier-list before %u2018Uint16%u2019audio.h:42: warning: struct has no membersaudio.h:45: error: expected %u2018)%u2019 before %u2018struct%u2019audio.h:49: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 tokenIn file included from unit.h:28,                 from civ.h:29,                 from rtciv.c:35:network.h:33: error: expected specifier-qualifier-list before %u2018Uint8%u2019network.h:55: warning: struct has no membersnetwork.h:58: error: expected specifier-qualifier-list before %u2018Uint32%u2019network.h:70: warning: struct has no membersIn file included from civ.h:29,                 from rtciv.c:35:unit.h:96: error: expected specifier-qualifier-list before %u2018Sint32%u2019unit.h:98: warning: struct has no membersunit.h:101: error: expected specifier-qualifier-list before %u2018Uint32%u2019unit.h:109: warning: struct has no membersunit.h:112: error: expected specifier-qualifier-list before %u2018Sint16%u2019unit.h:118: warning: struct has no membersunit.h:126: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019unit.h:137: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019unit.h:164: error: expected specifier-qualifier-list before %u2018Sint8%u2019unit.h:220: warning: struct has no membersunit.h:225: error: expected specifier-qualifier-list before %u2018Uint8%u2019In file included from civ.h:30,                 from rtciv.c:35:text.h:55: error: expected %u2018)%u2019 before %u2018*%u2019 tokentext.h:60: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019text.h:61: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint8%u2019text.h:61: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019text.h:63: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019text.h:64: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019In file included from rtciv.c:35:civ.h:66: error: expected specifier-qualifier-list before %u2018Uint32%u2019civ.h:72: error: expected specifier-qualifier-list before %u2018Uint16%u2019In 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 tokenimages.h:33: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 tokenimages.h:43: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 tokenimages.h:45: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 tokenIn file included from rtciv.c:39:main.h:28:21: error: SDL_ttf.h: No such file or directoryIn file included from rtciv.c:39:main.h:63: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019main.h:151: error: expected specifier-qualifier-list before %u2018Uint8%u2019main.h:158: warning: parameter names (without types) in function declarationIn file included from rtciv.c:41:minimap.h:37: error: expected specifier-qualifier-list before %u2018SDL_Surface%u2019minimap.h:40: warning: struct has no membersminimap.h:45: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint32%u2019minimap.h:46: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint32%u2019In file included from rtciv.c:44:sprite.h:36: error: expected %u2018)%u2019 before %u2018*%u2019 tokensprite.h:41: warning: parameter names (without types) in function declarationsprite.h:43: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint32%u2019sprite.h:43: error: expected declaration specifiers or %u2018...%u2019 before %u2018SDL_Surface%u2019In file included from rtciv.c:46:statusbar.h:39: error: expected declaration specifiers or %u2018...%u2019 before %u2018Sint8%u2019statusbar.h:39: error: expected declaration specifiers or %u2018...%u2019 before %u2018Uint16%u2019In file included from rtciv.c:47:tech.h:71: error: expected specifier-qualifier-list before %u2018Uint32%u2019tech.h:86: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018GetNextTech%u2019tech.h:88: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:89: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:90: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:91: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:92: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:93: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:94: error: expected %u2018)%u2019 before %u2018int%u2019tech.h:99: error: expected %u2018)%u2019 before %u2018const%u2019In file included from rtciv.c:50:video.h:30: warning: parameter names (without types) in function declarationrtciv.c:56: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 tokenrtciv.c:57: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018cliprect%u2019rtciv.c:62: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018debug%u2019rtciv.c:72: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018*%u2019 tokenrtciv.c:78: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018socketset%u2019rtciv.c:79: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018sockets%u2019rtciv.c:80: error: expected %u2018=%u2019, %u2018,%u2019, %u2018;%u2019, %u2018asm%u2019 or %u2018__attribute__%u2019 before %u2018playeraddresses%u2019rtciv.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 oncertciv.c:116: error: for each function it appears in.)rtciv.c:126: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019rtciv.c:134: error: %u2018struct Cost%u2019 has no member named %u2018wood%u2019rtciv.c:135: error: %u2018struct Cost%u2019 has no member named %u2018food%u2019rtciv.c:136: error: %u2018struct Cost%u2019 has no member named %u2018metal%u2019rtciv.c:137: error: %u2018struct Cost%u2019 has no member named %u2018gold%u2019rtciv.c:138: error: %u2018struct Cost%u2019 has no member named %u2018stone%u2019rtciv.c:139: error: %u2018struct Cost%u2019 has no member named %u2018oil%u2019rtciv.c:140: error: %u2018struct Cost%u2019 has no member named %u2018radioactive%u2019rtciv.c:141: error: %u2018struct Cost%u2019 has no member named %u2018modifier%u2019rtciv.c:147: error: %u2018struct gameui%u2019 has no member named %u2018rollover%u2019rtciv.c:148: error: %u2018struct gameui%u2019 has no member named %u2018rollover%u2019rtciv.c:155: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019rtciv.c:156: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019rtciv.c:157: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019rtciv.c:158: error: %u2018struct gameui%u2019 has no member named %u2018optionpanel%u2019rtciv.c:163: error: %u2018struct gameui%u2019 has no member named %u2018options%u2019rtciv.c:170: error: %u2018struct gameui%u2019 has no member named %u2018isosquare%u2019rtciv.c:171: error: %u2018struct gameui%u2019 has no member named %u2018isosquare%u2019rtciv.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%u2019rtciv.c:176: error: %u2018struct gameui%u2019 has no member named %u2018shadowbar%u2019rtciv.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%u2019rtciv.c:201: error: %u2018socketset%u2019 undeclared (first use in this function)rtciv.c:223: warning: implicit declaration of function %u2018SDL_CreateThread%u2019rtciv.c:228: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019rtciv.c:231: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019rtciv.c:234: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019rtciv.c:237: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019rtciv.c:246: warning: implicit declaration of function %u2018SDLNet_TCP_Send%u2019rtciv.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%u2019rtciv.c:259: warning: implicit declaration of function %u2018SDL_ShowCursor%u2019rtciv.c:259: error: %u2018SDL_DISABLE%u2019 undeclared (first use in this function)rtciv.c:275: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019rtciv.c:277: error: %u2018struct gameunit%u2019 has no member named %u2018uid%u2019rtciv.c:277: error: %u2018struct gameunit%u2019 has no member named %u2018mapposx%u2019rtciv.c:277: error: %u2018struct gameunit%u2019 has no member named %u2018mapposy%u2019rtciv.c:278: error: %u2018struct gameunit%u2019 has no member named %u2018uid%u2019rtciv.c:278: error: %u2018struct gameunit%u2019 has no member named %u2018previousunit%u2019rtciv.c:278: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019rtciv.c:279: error: %u2018struct gameunit%u2019 has no member named %u2018nextunit%u2019rtciv.c:284: error: %u2018struct civilization%u2019 has no member named %u2018listhead%u2019rtciv.c:285: error: %u2018cursor_rect%u2019 undeclared (first use in this function)rtciv.c:292: error: %u2018struct gameui%u2019 has no member named %u2018mapmoved%u2019rtciv.c:305: error: %u2018struct gameui%u2019 has no member named %u2018mapmoved%u2019rtciv.c:307: error: %u2018struct gameui%u2019 has no member named %u2018mapmoved%u2019rtciv.c:311: warning: implicit declaration of function %u2018SDL_BlitSurface%u2019rtciv.c:311: error: %u2018screen%u2019 undeclared (first use in this function)rtciv.c:318: error: %u2018struct civilization%u2019 has no member named %u2018type%u2019rtciv.c:334: warning: implicit declaration of function %u2018MoveMouseCursor%u2019rtciv.c:344: warning: implicit declaration of function %u2018SDL_Delay%u2019rtciv.c:354: warning: call to function %u2018QuitGame%u2019 without a real prototypemain.h:158: note: %u2018QuitGame%u2019 was declared herertciv.c: At top level:rtciv.c:359: error: expected %u2018)%u2019 before %u2018*%u2019 tokenrtciv.c:377: error: expected %u2018)%u2019 before %u2018option%u2019rtciv.c: In function %u2018LoadDesc%u2019:rtciv.c:397: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:399: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:400: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:401: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:402: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:403: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:404: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:405: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:411: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:412: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:413: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:414: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:415: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:416: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:417: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:423: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:424: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:425: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:426: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:427: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:428: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:429: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:438: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019rtciv.c:439: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019rtciv.c:446: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019rtciv.c:447: error: %u2018struct gameui%u2019 has no member named %u2018statusbar%u2019rtciv.c: In function %u2018WriteConfigFile%u2019:rtciv.c:462: error: %u2018struct gameui%u2019 has no member named %u2018language%u2019rtciv.c:463: error: %u2018struct gameui%u2019 has no member named %u2018audio%u2019rtciv.c:464: error: %u2018struct gameui%u2019 has no member named %u2018audio%u2019rtciv.c:465: error: %u2018struct gameui%u2019 has no member named %u2018options%u2019rtciv.c: In function %u2018ReadConfigFile%u2019:rtciv.c:480: error: %u2018struct option%u2019 has no member named %u2018fullscreen%u2019rtciv.c:481: error: %u2018struct option%u2019 has no member named %u2018language%u2019rtciv.c:482: error: %u2018struct option%u2019 has no member named %u2018audflag%u2019rtciv.c:483: error: %u2018struct option%u2019 has no member named %u2018volume%u2019rtciv.c:484: error: %u2018struct option%u2019 has no member named %u2018mapdisplay%u2019rtciv.c:502: warning: implicit declaration of function %u2018strcasecmp%u2019rtciv.c:528: error: %u2018struct option%u2019 has no member named %u2018fullscreen%u2019rtciv.c:537: error: %u2018struct option%u2019 has no member named %u2018language%u2019rtciv.c:546: error: %u2018struct option%u2019 has no member named %u2018audflag%u2019rtciv.c:556: error: %u2018struct option%u2019 has no member named %u2018volume%u2019rtciv.c:566: error: %u2018struct option%u2019 has no member named %u2018mapdisplay%u2019rtciv.c:571: error: %u2018struct option%u2019 has no member named %u2018fullscreen%u2019rtciv.c:572: error: %u2018struct option%u2019 has no member named %u2018language%u2019rtciv.c:573: error: %u2018struct option%u2019 has no member named %u2018audflag%u2019rtciv.c:574: error: %u2018struct option%u2019 has no member named %u2018volume%u2019rtciv.c:575: error: %u2018struct option%u2019 has no member named %u2018mapdisplay%u2019make: *** [rtciv.o] Error 1joseph@linux-niv0:~/rtciv-0.1.5>