bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Error in MS Windows install


From: thumbtack
Subject: [Bug-gnubg] Error in MS Windows install
Date: Wed, 16 Apr 2008 15:13:10 -0400

My machine is running Windows XP Pro, along with MKS Toolkit in order to get
full Unix functionality.  However, I was unable to run the Linux makefile
because of config.h, which I have no idea what to do with.  And there may be
other issues as well.
 
The downloadable windows binaries don't run because I am missing
libcairo.dll (sp?).  I presume that, if it got by that dll, there would
probably be other things that are missing also.

So, I decided to follow SuperflyJon's instructions to build a version of
gnubg that would run under Windows.  I carefully followed all the
instructions, downloaded the latest snapshot of the source code, and got to
the point where I needed to execute "BuildGnubg.bat".  Everything up to that
point worked perfectly.  

When I ran that script, I got the following error:

c:\gnu\gnubg
../../bin/libevent.a done
../../bin/libboard3d.a done
Compiling bearoff.c
In file included from multithread.h:16,
                 from bearoff.c:44:
backgammon.h:381: warning: `libintl_printf' is an unrecognized format
function type
backgammon.h:384: warning: `libintl_printf' is an unrecognized format
function type
backgammon.h:389: warning: `libintl_printf' is an unrecognized format
function type
backgammon.h:392: warning: `libintl_printf' is an unrecognized format
function type
mingw32-make: *** [../bin/obj/bearoff.o] Error 1
** Build failed **

libintl.dll.a is present in /gnu/mingw/lib.  I assume it is referring to
this library.

The lines causing the errors in backgammon.h, look like this:

__attribute__ ((format(printf, 1, 2)));

Clearly, something has changed since SuperflyJon wrote his note, even after
his updates.  

How to fix?  I assume it will be a trivial modification, but I have no idea
what to do.






reply via email to

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