Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2005:
[Freeciv-Dev] Problem compiling gui-sdl client, compile error
Home

[Freeciv-Dev] Problem compiling gui-sdl client, compile error

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Problem compiling gui-sdl client, compile error
From: Arjan Franzen <Arjan@xxxxxxxxxxxxxxxxx>
Date: Thu, 20 Oct 2005 14:09:44 +0200

Hi all,

i've not been able to compile the freeciv SDL client

autogen.sh --enable-client=sdl is succesfull but

make (inside gui-sdl) gives the following output.
f gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -I/usr/include/SDL -D_REENTRANT -I/usr/include/freetype2 -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/usr/include/SDL -D_REENTRANT -MT chatline.o -MD -MP -MF ".deps/chatline.Tpo" -c -o chatline.o chatline.c; \ then mv -f ".deps/chatline.Tpo" ".deps/chatline.Po"; else rm -f ".deps/chatline.Tpo"; exit 1; fi
In file included from chatline.c:43:
*colors.h:28: error: `COLOR_STD_LAST' undeclared here (not in a function)
colors.h:28: error: enumerator value for `COLOR_STD_RACE14' not integer constant
*In file included from chatline.c:56:
connectdlg.h:28: error: conflicting types for `try_to_autoconnect'
../clinet.h:39: error: previous declaration of `try_to_autoconnect'
chatline.c: In function `inputline_return_callback':
chatline.c:92: error: too few arguments to function `real_append_output_window'
chatline.c: In function `real_append_output_window':
chatline.c:151: error: `E_NOEVENT' undeclared (first use in this function)
chatline.c:151: error: (Each undeclared identifier is reported only once
chatline.c:151: error: for each function it appears in.)
chatline.c:151: warning: passing arg 2 of `add_notify_window' makes pointer from integer without a cast
chatline.c:151: error: too many arguments to function `add_notify_window'
chatline.c: In function `popup_conn_list_dialog':
chatline.c:455: warning: passing arg 1 of `conn_list_size' from incompatible pointer type
make[4]: *** [chatline.o] Fout 1
make[4]: Leaving directory `/home/afr/sandbox/freeciv/client/gui-sdl'
make[3]: *** [all] Fout 2
make[3]: Leaving directory `/home/afr/sandbox/freeciv/client/gui-sdl'
make[2]: *** [all-recursive] Fout 1
make[2]: Leaving directory `/home/afr/sandbox/freeciv/client'
make[1]: *** [all-recursive] Fout 1
make[1]: Leaving directory `/home/afr/sandbox/freeciv'
make: *** [all] Fout 2


what am I not doing right? specifically the usage of const *`COLOR_STD_LAST' *seems worrying as i can't find it being declared anywhere.

i've succesfully compiled the gtk2 client though (autogen.sh --enable-client=gtk2)


thanks,

Arjan




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