List Info

Thread: (PR#19029) Compilation of 2.1 fails




(PR#19029) Compilation of 2.1 fails
user name
2006-07-30 15:26:03
<URL: 
http://bugs.freeciv.org/Ticket/Display.html?id=19029
>


Freeciv 2.1 and HEAD, SVN 28 JUL 2006, GTK2

Freeciv compilation fails if the top edge GGZ lib isn't
present on the
system. It is not possible to disable GGZ during compile in
order to
make compilation work without GGZ.

The log applies to HEAD version, you get a similar one for
2.1:

ggz-config --version
0.0.13

./autogen.sh --disable-ggz-server --disable-ggz-client
[...]
+ running configure ...

using:  --disable-ggz-server --disable-ggz-client

checking build system type... i686-pc-linux-gnu
[...]
checking building SDL_mixer support... yes
checking for GGZ library: libggz... yes (libraries
/usr/local/lib,
headers /usr/local/include)
checking for GGZ library: ggzdmod... no
checking for GGZ library: ggzmod... yes (libraries
/usr/local/lib,
headers /usr/local/include)
checking for GGZ configuration tool: ggz-config...
/usr/local/bin/ggz-config
checking for GGZ library: ggz-gtk... yes (libraries
/usr/local/lib,
headers /usr/local/include)
checking for gethostbyaddr in -lbind... no
[...]
make clean && make
[...]
make[3]: Entering directory
/mnt/room2/home/chris/freeciv/svn/freeciv/client'
gcc  -g -O2 -Wall -Wpointer-arith -Wcast-align
-Wmissing-prototypes
-Wmissing-declarations   -o civclient -L/usr/local/lib
audio_sdl.o
attribute.o citydlg_common.o cityrepdata.o civclient.o
chatline_common.o connectdlg_common.o climisc.o climap.o
clinet.o
colors_common.o control.o editor.o ggzclient.o goto.o
helpdata.o
mapctrl_common.o mapview_common.o messagewin_common.o
overview_common.o
packhand.o packhand_gen.o plrdlg_common.o options.o
repodlgs_common.o
reqtree.o servers.o text.o themes_common.o tilespec.o
audio.o
audio_none.o ../utility/libcivutility.a 
../common/libcivcommon.a
../common/aicore/libaicore.a agents/libagents.a
gui-gtk-2.0/libguiclient.a ../utility/libcivutility.a
../common/libcivcommon.a ../common/aicore/libaicore.a
agents/libagents.a gui-gtk-2.0/libguiclient.a
-Wl,--export-dynamic
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0
-ldl -lglib-2.0   -lggz-gtk  -L/usr/lib -lSDL -lpthread
-lSDL_mixer
-lggzmod -lz
ggzclient.o(.text+0xd): In function 'ggz_initialize':
/home/chris/freeciv/svn/freeciv/client/ggzclient.c:45:
undefined
reference to 'ggzmod_is_ggz_mode'
collect2: ld returned 1 exit status
make[3]: *** [civclient] Fehler 1
make[3]: Leaving directory
/mnt/room2/home/chris/freeciv/svn/freeciv/client'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory
/mnt/room2/home/chris/freeciv/svn/freeciv/client'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory
/mnt/room2/home/chris/freeciv/svn/freeciv'
make: *** [all] Fehler 2


-- 
Christian Knoke            * * *            http://cknoke.de
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.




[1]

about | contact  Other archives ( Real Estate discussion Medical topics )