bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Pb compiling latest code


From: Massimiliano . Maini
Subject: [Bug-gnubg] Pb compiling latest code
Date: Thu, 29 Jun 2006 13:34:09 +0200

Hi all, I can't compile the latest code in command line version (there's
no #define USE_GTK 1 in my config.h), all the errors being related to a
missing
declaration (GNUBG_CHARSET is declared only if USE_GTK, but it seems it is
used
also if USE_GTK is not defined ...) :

Compiling gnubg.c
gnubg.c: In function `GetInput':
gnubg.c:6401: error: `GNUBG_CHARSET' undeclared (first use in this
function)
gnubg.c:6401: error: (Each undeclared identifier is reported only once
gnubg.c:6401: error: for each function it appears in.)
gnubg.c: In function `output':
gnubg.c:6476: error: `GNUBG_CHARSET' undeclared (first use in this
function)
gnubg.c: In function `outputl':
gnubg.c:6507: error: `GNUBG_CHARSET' undeclared (first use in this
function)
gnubg.c: In function `outputerrv':
gnubg.c:6569: error: `GNUBG_CHARSET' undeclared (first use in this
function)
gnubg.c: In function `main':
gnubg.c:7273: error: `GNUBG_CHARSET' undeclared (first use in this
function)

Compiling html.c
html.c: In function `HTMLPrologue':
html.c:1777: error: `GNUBG_CHARSET' undeclared (first use in this function)
html.c:1777: error: (Each undeclared identifier is reported only once
html.c:1777: error: for each function it appears in.)

Compiling postscript.c
postscript.c: In function `PostScriptEscape':
postscript.c:121: error: `GNUBG_CHARSET' undeclared (first use in this
function)
postscript.c:121: error: (Each undeclared identifier is reported only once
postscript.c:121: error: for each function it appears in.)
postscript.c: In function `PrintPostScriptLineWithSkip':
postscript.c:747: error: `GNUBG_CHARSET' undeclared (first use in this
function)

Compiling sgf.c
sgf.c: In function `CopyName':
sgf.c:159: error: `GNUBG_CHARSET' undeclared (first use in this function)
sgf.c:159: error: (Each undeclared identifier is reported only once
sgf.c:159: error: for each function it appears in.)
sgf.c: In function `CopyEscapedString':
sgf.c:337: error: `GNUBG_CHARSET' undeclared (first use in this function)
sgf.c: In function `WriteEscapedString':
sgf.c:1714: error: `GNUBG_CHARSET' undeclared (first use in this function)

On the positive side, I can compile the gui version ...

BTW, I still get warnings like this one in many files :

Compiling gnubgmodule.c
In file included from gnubgmodule.c:41:
backgammon.h:574: warning: `libintl_printf' is an unrecognized format
function type
backgammon.h:577: warning: `libintl_printf' is an unrecognized format
function type
backgammon.h:582: warning: `libintl_printf' is an unrecognized format
function type
backgammon.h:585: warning: `libintl_printf' is an unrecognized format
function type

Is there a way to get rid of them ?

MaX.






reply via email to

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