|
From: | Daniel Frimerman |
Subject: | RE: [Bug-gnubg] Compiling 20080624 on Windows XP |
Date: | Thu, 17 Jul 2008 19:10:25 +0000 |
> The snapshot is a bit old, it is likely that a newer one will work > better. At a quick glance: > > 1) add gnubgstock to the list of files in Makefile.w32 > 2) remove PKGDATADIR from config.h > > Christian. I've downloaded the latest snapshot, the same error as with previous release. So, after removing PKGDATADIR from config.h, I get the following errors upon linking makebearoff linking makebearoff ../bin/obj/format.o: In function `OutputRolloutContext': C:/gnu/gnubg/format.c:385: undefined reference to `aszRNG' C:/gnu/gnubg/format.c:390: undefined reference to `aszRNG' ../bin/obj/format.o: In function `FormatCubePosition': C:/gnu/gnubg/format.c:1051: undefined reference to `ap' ../bin/obj/format.o: In function `OutputCubeAnalysis': C:/gnu/gnubg/format.c:939: undefined reference to `exsExport' C:/gnu/gnubg/format.c:939: undefined reference to `exsExport' C:/gnu/gnubg/format.c:952: undefined reference to `exsExport' C:/gnu/gnubg/format.c:993: undefined reference to `exsExport' C:/gnu/gnubg/format.c:1020: undefined reference to `exsExport' ../bin/obj/format.o: In function `OutputCubeAnalysisFull': C:/gnu/gnubg/format.c:788: undefined reference to `aszSkillType' C:/gnu/gnubg/format.c:855: undefined reference to `aszSkillType' C:/gnu/gnubg/format.c:869: undefined reference to `aszSkillType' C:/gnu/gnubg/format.c:863: undefined reference to `aszSkillType' C:/gnu/gnubg/format.c:808: undefined reference to `aszSkillType' ../bin/obj/format.o:C:/gnu/gnubg/format.c:828: more undefined references to `aszSkillType' follow collect2: ld returned 1 exit status mingw32-make: *** [../bin/makebearoff.exe] Error 1 "aszSkillType" was defined in backgammon.h, and format.c has it declared, so I've tried like with gnubgstock, adding backgammon to makefile.w32 (into makebearoff_SOURCE) but I either added to the wrong place or I shouldn't have done it at all since I get the following errors. mingw32-make: *** No rule to make target `../bin/obj/backgammon.o', needed by `. ./bin/makebearoff.exe'. Stop. So no joy so far. Win £3000 to spend on whatever you want at Uni! Click here to WIN! |
[Prev in Thread] | Current Thread | [Next in Thread] |