Complete.Org:
Mailing Lists:
Archives:
freeciv-dev:
October 2005: [Freeciv-Dev] (PR#14284) current svn, OSX 10.3 compile error |
[Freeciv-Dev] (PR#14284) current svn, OSX 10.3 compile error[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14284 > i'm trying to compile on OSX 10.3 the current svn version of freeciv, but i get these errors: if i try to enable SDL client: gcc -I/sw/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/sw/include/SDL -D_THREAD_SAFE -L/sw/lib -o civserver civserver.o ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a -lintl -liconv ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/aicore/libaicore.a ./generator/libgenerator.a ./scripting/libscripting.a ../dependencies/lua/src/liblua.a ../dependencies/lua/src/lib/liblualib.a ../dependencies/tolua/libtolua.a userdb/libuserdb.a -lreadline -lz -liconv -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL ld: warning multiple definitions of symbol _locale_charset /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset Making all in client Making all in gui-sdl echo '/*****************************************************/' > Freeciv.h echo '/* DO NOT EDIT THIS FILE, EDIT ../../data/freeciv.rc */' >> Freeciv.h echo '/*****************************************************/' >> Freeciv.h ./rc2c ../../data/freeciv.rc >> Freeciv.h make all-am source='chatline.c' object='chatline.o' libtool=no \ depfile='.deps/chatline.Po' tmpdepfile='.deps/chatline.TPo' \ depmode=gcc3 /bin/sh ../../bootstrap/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -I/sw/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include -I/sw/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/sw/include/SDL -D_THREAD_SAFE -c `test -f 'chatline.c' || echo './'`chatline.c 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] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 if i instead try XAW client: source='pages.c' object='pages.o' libtool=no \ depfile='.deps/pages.Po' tmpdepfile='.deps/pages.TPo' \ depmode=gcc3 /bin/sh ../../bootstrap/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../intl -I../../common/aicore -I../../intl -I./../agents -I/usr/X11R6/include -I/sw/include -I/sw/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -c `test -f 'pages.c' || echo './'`pages.c pages.c: In function `update_start_page': pages.c:202: error: structure has no member named `is_observer' pages.c:231: error: structure has no member named `is_observer' make[4]: *** [pages.o] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -- Lo'oris, sei il Crumiro dello Sballo! - Marco, dei JMP Limona Lo'oris su www.looris.webhop.net -- Email.it, the professional e-mail, gratis per te: http://www.email.it/f Sponsor: Scopri il benessere che solo l�aloe vera regala al tuo corpo: cura la tua pelle * Con la vasta gamma di prodotti che ti offre Erboristeria.com Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2380&d=12-10i'm trying to compile on OSX 10.3 the current svn version of freeciv, but i get these errors: if i try to enable SDL client: gcc -I/sw/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/sw/include/SDL -D_THREAD_SAFE -L/sw/lib -o civserver civserver.o ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a -lintl -liconv ../utility/libcivutility.a ../common/libcivcommon.a ../ai/libcivai.a ../utility/libcivutility.a ./libcivserver.a ../utility/libcivutility.a ../common/aicore/libaicore.a ./generator/libgenerator.a ./scripting/libscripting.a ../dependencies/lua/src/liblua.a ../dependencies/lua/src/lib/liblualib.a ../dependencies/tolua/libtolua.a userdb/libuserdb.a -lreadline -lz -liconv -L/sw/lib -lSDLmain -lSDL -framework Cocoa -framework OpenGL ld: warning multiple definitions of symbol _locale_charset /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset Making all in client Making all in gui-sdl echo '/*****************************************************/' > Freeciv.h echo '/* DO NOT EDIT THIS FILE, EDIT ../../data/freeciv.rc */' >> Freeciv.h echo '/*****************************************************/' >> Freeciv.h ./rc2c ../../data/freeciv.rc >> Freeciv.h make all-am source='chatline.c' object='chatline.o' libtool=no \ depfile='.deps/chatline.Po' tmpdepfile='.deps/chatline.TPo' \ depmode=gcc3 /bin/sh ../../bootstrap/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../common/aicore -I../../intl -I./../agents -I/sw/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include -I/sw/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -I/sw/include/SDL -D_THREAD_SAFE -c `test -f 'chatline.c' || echo './'`chatline.c 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] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 if i instead try XAW client: source='pages.c' object='pages.o' libtool=no \ depfile='.deps/pages.Po' tmpdepfile='.deps/pages.TPo' \ depmode=gcc3 /bin/sh ../../bootstrap/depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include -I../../utility -I../../common -I../../intl -I../../common/aicore -I../../intl -I./../agents -I/usr/X11R6/include -I/sw/include -I/sw/include -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -c `test -f 'pages.c' || echo './'`pages.c pages.c: In function `update_start_page': pages.c:202: error: structure has no member named `is_observer' pages.c:231: error: structure has no member named `is_observer' make[4]: *** [pages.o] Error 1 make[3]: *** [all] Error 2 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 -- Lo'oris, sei il Crumiro dello Sballo! - Marco, dei JMP Limona Lo'oris su www.looris.webhop.net
|