[Top][All Lists]

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

[Bug-gnubg] Still compile problems on Windows

From: Holger
Subject: [Bug-gnubg] Still compile problems on Windows
Date: Fri, 15 Nov 2002 17:27:20 +0100

Hi all,

I'm really stuck with the linker problems below. Any help is greatly



At 01:26 11.11.02 +0100, I wrote:
>>Thanks for your help. Right now I'm at home and trying to compile under
Windows 95.
>>Here I still only have the snapshot from 021030, so I don't have
bearoffgammon.* yet.
>>For the rest it shouldn't make a difference, I suppose.

[snipped problem with SoundWait]

>After adding
>#define USE_SOUND 1 to config.gui
>#include "mmsystem.h" to sound.c for defining SND_FILENAME and SND_ASYNC
>(how could it work for others if this wasn't there?)
>compilation works well.
>I also added -lwsock32 to LIBS. But I still get the following (at least
less) errors during
>gcc -o gnubg analysis.o copying.o credits.o database.o dice.o drawboard.o
erf.o \
>eval.o export.o external.o getopt.o getopt1.o gdkgetrgb.o gnubg.o
gtk-multiview.o \
>gtkboard.o gtkcube.o gtkchequer.o gtkexport.o gtkgame.o gtkprefs.o
gtktheory.o \
>guile.o html.o i18n.o import.o kleinman.o latex.o matchequity.o matchid.o
play.o \
>positionid.o postscript.o pub_eval.o record.o rollout.o set.o sgf.o sgfl.o
sgfp.o \
>show.o sound.o strdup.o text.o -mwindows -L./lib
-Lj:/gcc/i386-mingw32msvc/lib \
>-Lj:/gcc/lib -Lj:/gcc/lib/gcc-lib/i386-mingw32msvc/2.95.2 -Lj:/glib/lib
-Lj:/GTK+/lib \
>-Lj:/iconv -Lj:/intl/lib -Lj:/gdbm/lib -Lj:/xml2/lib -levent -lxml2
-lintl.dll -lgdbm.dll \
>-lglib-2.0.dll -lgdk.dll -lgtk.dll -liconv -lwinmm -lm -lwsock32
>gnubg.o(.text+0xe516):gnubg.c: undefined reference to `_imp__libiconv_open'
>gnubg.o(.text+0xe578):gnubg.c: undefined reference to `_imp__libiconv'
>gnubg.o(.text+0xe60e):gnubg.c: undefined reference to `_imp__libiconv_close'
>j:/xml2/lib\libxml2.a(nanohttp.o)(.text+0xfd9):nanohttp.c: undefined
reference to `fcntl'
>j:/xml2/lib\libxml2.a(nanohttp.o)(.text+0xffc):nanohttp.c: undefined
reference to `fcntl'
>make: *** [gnubg] Error 1
>The calls should be in those libraries that I have already included,
shouldn't they?
>TIA and regards,
>       Holger, slightly confused

reply via email to

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