URL: <http://gna.org/bugs/?14671>
Summary: Error compiling trunk since commit 16285 Project: Freeciv Submitted by: arodriguez Submitted on: Tuesday 11/03/2009 at 01:17 Category: client-gtk-2.0 Severity: 3 - Normal Priority: 5 - Normal Status: None Assigned to: None Originator Email: Open/Closed: Open Release: Discussion Lock: Any Operating System: None Planned Release: None _______________________________________________________ Details: I get this error compiling trunk: libtool: link: ( cd ".libs" && rm -f "libfcgui-gtk2.la" && ln -s "../libfcgui-gtk2.la" "libfcgui-gtk2.la" ) /bin/bash ../libtool --preserve-dup-deps --tag=CC --mode=link gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Werror -g -O2 -fsigned-char -o freeciv-gtk2 dummy.o libfcgui-gtk2.la ../common/libfreeciv.la -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lgio-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lz libtool: link: gcc -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -Werror -g -O2 -fsigned-char -o freeciv-gtk2 dummy.o ./.libs/libfcgui-gtk2.a ../common/.libs/libfreeciv.a -L/usr/local/lib /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/local/lib/libgio-2.0.so -lresolv /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lfontconfig /usr/local/lib/libgobject-2.0.so /usr/local/lib/libgmodule-2.0.so -ldl /usr/local/lib/libglib-2.0.so -lz ./.libs/libfcgui-gtk2.a(wldlg.o): In function `refresh_worklist': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:1390: undefined reference to `global_worklist_get' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:1350: undefined reference to `global_worklist_by_id' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `commit_worklist': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:1478: undefined reference to `global_worklist_by_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:1480: undefined reference to `global_worklist_set' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `menu_item_callback': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:463: undefined reference to `global_worklist_by_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:468: undefined reference to `global_worklist_get' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `update_worklist_report_dialog': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:120: undefined reference to `global_worklist_is_valid' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:123: undefined reference to `global_worklist_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:123: undefined reference to `global_worklist_name' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `popup_add_menu': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:493: undefined reference to `global_worklist_is_valid' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:494: undefined reference to `global_worklist_name' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:496: undefined reference to `global_worklist_id' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `cell_edited': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:198: undefined reference to `global_worklist_by_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:205: undefined reference to `global_worklist_set_name' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `worklists_response': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:153: undefined reference to `global_worklist_new' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:145: undefined reference to `global_worklist_by_id' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `popdown_worklist': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:426: undefined reference to `global_worklist_id' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `worklists_response': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:163: undefined reference to `global_worklist_destroy' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `popup_worklist': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:392: undefined reference to `global_worklist_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:395: undefined reference to `global_worklist_name' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `reset_global_worklist': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:1316: undefined reference to `global_worklist_id' ./.libs/libfcgui-gtk2.a(wldlg.o): In function `popup_worklist': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/wldlg.c:408: undefined reference to `global_worklist_id' ./.libs/libfcgui-gtk2.a(cityrep.o): In function `append_worklist_callback': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:789: undefined reference to `global_worklist_by_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:798: undefined reference to `global_worklist_get' ./.libs/libfcgui-gtk2.a(cityrep.o): In function `set_worklist_callback': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:831: undefined reference to `global_worklist_by_id' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:842: undefined reference to `global_worklist_get' ./.libs/libfcgui-gtk2.a(cityrep.o): In function `production_menu_shown': /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:882: undefined reference to `global_worklist_is_valid' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:883: undefined reference to `global_worklist_name' /home/arodriguez/Projects/freeciv/client/gui-gtk-2.0/cityrep.c:885: undefined reference to `global_worklist_id' ./.libs/libfcgui-gtk2.a(client_main.o): In function `client_game_free': /home/arodriguez/Projects/freeciv/client/client_main.c:218: undefined reference to `global_worklists_free' ./.libs/libfcgui-gtk2.a(client_main.o): In function `client_game_init': /home/arodriguez/Projects/freeciv/client/client_main.c:202: undefined reference to `global_worklists_init' ./.libs/libfcgui-gtk2.a(options.o): In function `options_save': /home/arodriguez/Projects/freeciv/client/options.c:1903: undefined reference to `global_worklists_save' ./.libs/libfcgui-gtk2.a(options.o): In function `options_load_ruleset_specific': /home/arodriguez/Projects/freeciv/client/options.c:1826: undefined reference to `global_worklists_load' Looking at svn history i check that the last change in wldlg.c are in commit 16825. I test the version in commit 16284 and it compiles properly. I tried to investigate what happens with that commit without success. _______________________________________________________ Reply to this item at: <http://gna.org/bugs/?14671> _______________________________________________ Message sent via/by Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev