bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-gnubg] Compile issues with latest code


From: Massimiliano Maini
Subject: RE: [Bug-gnubg] Compile issues with latest code
Date: Tue, 18 Mar 2008 11:37:14 +0100


address@hidden wrote on 18/03/2008 11:10:12:

>
> The first one just needs a little fix, just move the #endif from
> line 4857 down to 4862 should do it.

It works. Funny however that fStyledGamelist and fFullScreen are decalred in gnubg.c
with or without GTK (i.e. GUI and no-GUI) while fToolbarShowing is in gtkgame.c (i.e.
only in GUI version).
 
> The second one looks like a non-multithreaded build problem, a work
> around would be to add a dummy CallbackProgress to makebearoff.c,
> something like:
>
> extern void CallbackProgress( void )
> {
> }

Seems to be the problem: compiling with multi-thread enabled goes fine.

> I'm going on holiday until next week so maybe someone else can fix it.

Haven't yet managed to have cvs work from my home computer ...

MaX.

> From: address@hidden
>
> NO-GUI version does not compile:
>
> gnubg.c: In function `CommandSaveSettings':
> gnubg.c:4860: error: `fToolbarShowing' undeclared (first use in thisfunction)
> gnubg.c:4860: error: (Each undeclared identifier is reported only once
> gnubg.c:4860: error: for each function it appears in.)
> mingw32-make: *** [obj/gnubg.o] Error 1
>
>
> makebearoff does not link:
>
> Compiling makebearoff.c
> Compiling eval.c
> Compiling positionid.c
> Compiling matchequity.c
> Compiling matchid.c
> Compiling osr.c
> Compiling bearoffgammon.c
> Compiling bearoff.c
> Compiling format.c
> Compiling mec.c
> Compiling util.c
> Compiling makebearoff.rc
> linking makebearoff-sse-debug.exe
> extras_obj/eval.o(.text+0x86c8): In function `EvaluatePositionCache':
> D:/Documents/Max/gnubg-build/builds/gnubg-MAIN-noglade/gnubg/eval.c:
> 3012: undefined reference to `CallbackProgress'
> collect2: ld returned 1 exit status
> mingw32-make: *** [makebearoff] Error 1
>
> MaX.
>
> _________________________________________________________________
> Get Hotmail on your mobile, text MSN to 63463!
> http://mobile.uk.msn.com/pc/mail.aspx
>
> _______________________________________________
> Bug-gnubg mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/bug-gnubg

reply via email to

[Prev in Thread] Current Thread [Next in Thread]