trunk compiled fine yesterday after the bzr pull (r6149), compiled the changed files and worked correctly.
However, after make clean it did not compile/link anymore.
This occurs after r6148. The r6147 works perfectly.
gcc4.5.3, Linux 32bit. I didn't change anything to the make toolchain (I believe so, at least ;-) )
Console output (the last few lines:)
Linking CXX executable widelands
Linking CXX executable test_widelands_scripting
[100%] Built target test_widelands_scripting
libwidelands_all.a(editorinteractive.cc.o): In function `~Editor_Set_Port_Space_Tool':
/home/beyerj/widelands/widelands/src/editor/tools/editor_set_port_space_tool.h:41: undefined reference to `vtable for Editor_Set_Port_Space_Tool'
libwidelands_all.a(editorinteractive.cc.o): In function `~Editor_Unset_Port_Space_Tool':
/home/beyerj/widelands/widelands/src/editor/tools/editor_set_port_space_tool.h:31: undefined reference to `vtable for Editor_Unset_Port_Space_Tool'
libwidelands_all.a(editorinteractive.cc.o): In function `Tools':
/home/beyerj/widelands/widelands/src/editor/editorinteractive.h:80: undefined reference to `Editor_Set_Port_Space_Tool::Editor_Set_Port_Space_Tool(Editor_Unset_Port_Space_Tool&)'
/home/beyerj/widelands/widelands/src/editor/editorinteractive.h:80: undefined reference to `Editor_Unset_Port_Space_Tool::Editor_Unset_Port_Space_Tool()'
libwidelands_all.a(widelands_map_loader.cc.o): In function `Widelands::WL_Map_Loader::load_map_complete(Widelands::Editor_Game_Base&, bool)':
/home/beyerj/widelands/widelands/src/map_io/widelands_map_loader.cc:156: undefined reference to `Widelands::Map_Port_Spaces_Data_Packet::Read(FileSystem&, Widelands::Editor_Game_Base&, bool, Widelands::Map_Map_Object_Loader&)'
libwidelands_all.a(widelands_map_loader.cc.o): In function `Map_Port_Spaces_Data_Packet':
/home/beyerj/widelands/widelands/src/map_io/widelands_map_port_spaces_data_packet.h:30: undefined reference to `vtable for Widelands::Map_Port_Spaces_Data_Packet'
libwidelands_all.a(widelands_map_loader.cc.o): In function `~Map_Port_Spaces_Data_Packet':
/home/beyerj/widelands/widelands/src/map_io/widelands_map_port_spaces_data_packet.h:30: undefined reference to `vtable for Widelands::Map_Port_Spaces_Data_Packet'
libwidelands_all.a(editor_tool_menu.cc.o): In function `Editor_Tool_Menu::changed_to()':
/home/beyerj/widelands/widelands/src/editor/ui_menus/editor_tool_menu.cc:145: undefined reference to `Editor_Tool_Set_Port_Space_Callback(Widelands::TCoords<Widelands::FCoords>, void*, int)'
libwidelands_all.a(widelands_map_saver.cc.o): In function `Widelands::Map_Saver::save()':
/home/beyerj/widelands/widelands/src/map_io/widelands_map_saver.cc:87: undefined reference to `Widelands::Map_Port_Spaces_Data_Packet::Write(FileSystem&, Widelands::Editor_Game_Base&, Widelands::Map_Map_Object_Saver&)'
collect2: ld gab 1 als Ende-Status zurück
make[2]: *** [src/widelands] Fehler 1
make[1]: *** [src/CMakeFiles/widelands.dir/all] Fehler 2
make: *** [all] Fehler 2
I ran into the same problem on my 32 bit Arch system (64-bit Ubuntu was ok). However, after deleting everything in the build directory and running compile.sh from scratch I did not have any problems. (Still I would assume make clean should do this)
Also, the PPA seem to build without any problems https:/ /launchpad. net/~widelands- dev/+archive/ widelands- daily/+ packages