Compile error

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
User avatar
BlueMaxima
Trained
Trained
Posts: 431
Joined: 05 Jun 2008, 09:20
Location: Sydney, Australia

Compile error

Post by BlueMaxima »

Code: Select all

frontend.o: In function `runSinglePlayerMenu':
C:/warzone2100/src/frontend.c:416: undefined reference to `challengesUp'
C:/warzone2100/src/frontend.c:418: undefined reference to `runChallenges'
C:/warzone2100/src/frontend.c:469: undefined reference to `addChallenges'
C:/warzone2100/src/frontend.c:484: undefined reference to `challengesUp'
C:/warzone2100/src/frontend.c:492: undefined reference to `challengesUp'
C:/warzone2100/src/frontend.c:494: undefined reference to `displayChallenges'
init.o: In function `stageThreeShutDown':
C:/warzone2100/src/init.c:1113: undefined reference to `challengesUp'
C:/warzone2100/src/init.c:1114: undefined reference to `challengeActive'
main.o: In function `startGameLoop':
C:/warzone2100/src/main.c:589: undefined reference to `challengeActive'
mission.o: In function `addMissionTimerInterface':
C:/warzone2100/src/mission.c:533: undefined reference to `challengeActive'
mission.o: In function `intUpdateMissionTimer':
C:/warzone2100/src/mission.c:2197: undefined reference to `challengeActive'
C:/warzone2100/src/mission.c:2213: undefined reference to `challengeActive'
multiint.o:C:/warzone2100/src/multiint.c:1123: more undefined references to `challengeActive' follow
multiint.o: In function `startMultiOptions':
C:/warzone2100/src/multiint.c:2959: undefined reference to `iniparser_load'
C:/warzone2100/src/multiint.c:2971: undefined reference to `iniparser_getstring'
C:/warzone2100/src/multiint.c:2972: undefined reference to `iniparser_getint'
C:/warzone2100/src/multiint.c:2973: undefined reference to `iniparser_getboolean'
C:/warzone2100/src/multiint.c:2975: undefined reference to `iniparser_getint'
C:/warzone2100/src/multiint.c:2976: undefined reference to `iniparser_getint'
C:/warzone2100/src/multiint.c:2982: undefined reference to `iniparser_getint'
C:/warzone2100/src/multiint.c:2986: undefined reference to `iniparser_getint'
C:/warzone2100/src/multiint.c:2990: undefined reference to `iniparser_freedict'
multilimit.o: In function `startLimitScreen':
C:/warzone2100/src/multilimit.c:237: undefined reference to `challengeActive'
scriptfuncs.o: In function `scrGameOverMessage':
C:/warzone2100/src/scriptfuncs.c:3265: undefined reference to `challengeActive'
C:/warzone2100/src/scriptfuncs.c:3270: undefined reference to `iniparser_load'
C:/warzone2100/src/scriptfuncs.c:3284: undefined reference to `iniparser_getboolean'
C:/warzone2100/src/scriptfuncs.c:3286: undefined reference to `iniparser_getint'
C:/warzone2100/src/scriptfuncs.c:3290: undefined reference to `dictionary_new'
C:/warzone2100/src/scriptfuncs.c:3300: undefined reference to `dictionary_set'
C:/warzone2100/src/scriptfuncs.c:3303: undefined reference to `iniparser_setstring'
C:/warzone2100/src/scriptfuncs.c:3305: undefined reference to `iniparser_setstring'
C:/warzone2100/src/scriptfuncs.c:3307: undefined reference to `iniparser_setstring'
C:/warzone2100/src/scriptfuncs.c:3309: undefined reference to `iniparser_dump_ini'
C:/warzone2100/src/scriptfuncs.c:3310: undefined reference to `iniparser_freedict'
collect2: ld returned 1 exit status
mingw32-make[1]: *** [warzone2100.exe] Error 1
rm message_parser.tab.c level_lexer.lex.c scriptvals_lexer.lex.c message_lexer.lex.c scriptvals_parser.tab.c
mingw32-make[1]: Leaving directory `C:/warzone2100/src'
mingw32-make: *** [src] Error 2
This happens right before compilation finishes. Per suggested to run automake / autoconf, but I don't know how. Running Windows with MinGW. Can anyone help?
Bring back...ducks!
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Compile error

Post by Buginator »

AFAIK, mingw don't use autoconf on windows.

Guess the makefiles were not updated.
and it ends here.
User avatar
BlueMaxima
Trained
Trained
Posts: 431
Joined: 05 Jun 2008, 09:20
Location: Sydney, Australia

Re: Compile error

Post by BlueMaxima »

So...I'm stuffed?
Bring back...ducks!
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Compile error

Post by cybersphinx »

You could learn how makefiles work.
User avatar
BlueMaxima
Trained
Trained
Posts: 431
Joined: 05 Jun 2008, 09:20
Location: Sydney, Australia

Re: Compile error

Post by BlueMaxima »

I don't know how makefiles work. I pretty much cried happily when I managed to compile the game. Then the challenges came in, and the game stopped compiling.
Bring back...ducks!
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Compile error

Post by Buginator »

BlueMaxima wrote:I don't know how makefiles work. I pretty much cried happily when I managed to compile the game. Then the challenges came in, and the game stopped compiling.
I am currently preparing for a 2.2.2 release, so I am not working on trunk now... if/when I get time, I will fix it, if nobody else beats me to it.

You just need to add the files that were added (for the challenges stuff) to the makefiles, so the compiler can compile those as well...
and it ends here.