[Top][All Lists]

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

[Bug-gnubg] Re: Compile on Windows

From: Holger
Subject: [Bug-gnubg] Re: Compile on Windows
Date: Fri, 8 Nov 2002 15:30:10 +0100 (MET)


If I change gnubg.c and hard-code the locale directory at line 5704:
/*    bindtextdomain (PACKAGE, LOCALEDIR);  */
    bindtextdomain (PACKAGE, "/HB/gcc/lib/locale");
then it compiles well, except for some warnings that are not related to this

However, linking doesn't work (for me).

It fails with:
eval.o(.text+0x321b):eval.c: undefined reference to `getBearoffGammonProbs'
eval.o(.text+0x334b):eval.c: undefined reference to `getBearoffGammonProbs'
gnubg.o(.text+0xe596):gnubg.c: undefined reference to `libiconv_open'
gnubg.o(.text+0xe5ef):gnubg.c: undefined reference to `libiconv'
gnubg.o(.data+0x1470):gnubg.c: undefined reference to `CommandRecordShow'
gnubg.o(.data+0x2b2c):gnubg.c: undefined reference to `CommandRecordShow'
gtkgame.o(.text+0x3486):gtkgame.c: undefined reference to
gtkgame.o(.text+0x34ac):gtkgame.c: undefined reference to `CreateMoveList'
gtkgame.o(.text+0x12fe5):gtkgame.c: undefined reference to `CreateMoveList'
gtkgame.o(.text+0x1f0a7):gtkgame.c: undefined reference to
o)(.text+0xa94):nanoftp.c: undefined reference to
.o)(.text+0x1367):nanohttp.c: undefined reference to
.o)(.text+0x1425):nanohttp.c: undefined reference to address@hidden'
make: *** [gnubg] Error 1

Where do I have to specify what?



I wrote:
> Hi all,
> Could you help me compile on Windows (2000 and at home 95), please?
> It fails with :
> gnubg.c: In function `real_main':
> gnubg.c:5704: parse error before `/'
> gnubg.c: In function `Convert':
> gnubg.c:6675: warning: passing arg 2 of `libiconv' from incompatible
> pointer
> type
> gnubg.c: At top level:
> gnubg.c:364: warning: `szCOMMAND' defined but not used
> make: *** [gnubg.o] Error 1
> Btw, earlier have been some warnings, too:
> getopt.c: In function `_getopt_internal':
> getopt.c:647: warning: implicit declaration of function `strncmp'
> getopt.c:692: warning: suggest explicit braces to avoid ambiguous `else'
> I think, I should have everything that's required.
> I unpacked gcc-2.95.2-msvcrt.exe to C:\HB\gcc and the following files as
> well:
> gdbm-1.8.0-bin.zip
> gdbm-1.8.0-lib.zip
> gettext-dev-0.10.40-20020904.zip
> glib-2.0.6-20020802.zip
> glib-dev-2.0.6-20020802.zip
> gtk+-1.3.0-20020922.zip
> gtk+-dev-1.3.0-20020912.zip
> libiconv-1.7-bin.zip
> libiconv-1.7-lib.zip
> libintl-0.10.40-tml-20020904.zip
> libw11-2001-12-01-bin.zip
> libw11-2001-12-01-lib.zip
> libxml2-2.4.12-1-lib.zip
> libxml2-2.4.12-bin.zip
> I also fetched Makefile, lib/Makefile and config.gui from Oysteins site,
> added includes in Makefile:
> INCLUDE = -I. -I./lib -IC:/HB/gcc/include/glib-2.0
> -IC:/HB/gcc/lib/glib-2.0/include \
> -IC:/HB/gcc/lib/gtk+/include
> I've changed the dir for the locale to:
> DEFS    = -DHAVE_CONFIG_H -DLOCALEDIR=\"/HB/gcc/lib/locale\"
> What else is missing?
> TIA,
> Holger

+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!

reply via email to

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