Help compiling 1.10 on ubuntu 10.04

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
shkkmo
Posts: 2
Joined: February 3rd, 2012, 1:47 am

Help compiling 1.10 on ubuntu 10.04

Post by shkkmo »

So, I spent the time going through the prerequisites and getting everything installed and up to date. I then tried to compile using cmake and everything thing went find until the very end when I ran out of space. I deleted a bunch of stuff and went back tried the complile command again. The second time, everything went fine untill the end and then the terminal got spammed with a whole slew of error messages. I'm fairly new to linux and very new to compiling software from the source and so I'm not sure what the problem was or how to find out what the problem was. It seems to me that it was either a missing dependency of some sort or a problem with the installation path.

This is from the end of that slew of errors as the error output was longer that the buffer of my terminal. I hope this means more to someone else than it does to me.

CMakeFiles/wesnoth.dir/whiteboard/move.cpp.o: In function `wb::move::draw_hex(map_location const&)':
move.cpp:(.text+0x2df7): undefined reference to `font::NORMAL_COLOR'
move.cpp:(.text+0x2e3a): undefined reference to `display::draw_text_in_hex(map_location const&, display::tdrawing_layer, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, SDL_Color, double, double)'
CMakeFiles/wesnoth.dir/whiteboard/move.cpp.o: In function `wb::move::init()':
move.cpp:(.text+0x3136): undefined reference to `arrow::STYLE_STANDARD'
move.cpp:(.text+0x314b): undefined reference to `arrow::STYLE_HIGHLIGHTED'
move.cpp:(.text+0x315f): undefined reference to `arrow::STYLE_FOCUS'
move.cpp:(.text+0x3287): undefined reference to `arrow::STYLE_FOCUS_INVALID'
CMakeFiles/wesnoth.dir/whiteboard/move.cpp.o: In function `wb::move::move(config const&, bool)':
move.cpp:(.text+0x454b): undefined reference to `arrow::arrow(bool)'
move.cpp:(.text+0x4d79): undefined reference to `arrow::STYLE_STANDARD'
move.cpp:(.text+0x4d81): undefined reference to `arrow::set_style(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/wesnoth.dir/whiteboard/move.cpp.o: In function `wb::move::move(config const&, bool)':
move.cpp:(.text+0x57eb): undefined reference to `arrow::arrow(bool)'
move.cpp:(.text+0x601e): undefined reference to `arrow::STYLE_STANDARD'
move.cpp:(.text+0x6026): undefined reference to `arrow::set_style(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/wesnoth.dir/whiteboard/recall.cpp.o: In function `wb::recall::draw_hex(map_location const&)':
recall.cpp:(.text+0x2645): undefined reference to `display::draw_text_in_hex(map_location const&, display::tdrawing_layer, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, SDL_Color, double, double)'
CMakeFiles/wesnoth.dir/whiteboard/recruit.cpp.o: In function `wb::recruit::draw_hex(map_location const&)':
recruit.cpp:(.text+0x25ee): undefined reference to `display::draw_text_in_hex(map_location const&, display::tdrawing_layer, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, SDL_Color, double, double)'
CMakeFiles/wesnoth.dir/whiteboard/side_actions.cpp.o: In function `wb::side_actions::execute_net_cmd(config const&)':
side_actions.cpp:(.text+0x73ac): undefined reference to `display::invalidate(map_location const&)'
side_actions.cpp:(.text+0x78fe): undefined reference to `display::invalidate(map_location const&)'
side_actions.cpp:(.text+0x7932): undefined reference to `display::invalidate(map_location const&)'
side_actions.cpp:(.text+0x7fdc): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/suppose_dead.cpp.o: In function `wb::suppose_dead::init()':
suppose_dead.cpp:(.text+0x199): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/suppose_dead.cpp.o:suppose_dead.cpp:(.text+0x374): more undefined references to `display::invalidate(map_location const&)' follow
CMakeFiles/wesnoth.dir/whiteboard/suppose_dead.cpp.o: In function `wb::suppose_dead::draw_hex(map_location const&)':
suppose_dead.cpp:(.text+0x109b): undefined reference to `display::get_location_x(map_location const&) const'
suppose_dead.cpp:(.text+0x10af): undefined reference to `display::get_location_y(map_location const&) const'
suppose_dead.cpp:(.text+0x10df): undefined reference to `image::locator::locator(char const*)'
suppose_dead.cpp:(.text+0x10f6): undefined reference to `image::get_image(image::locator const&, image::TYPE)'
suppose_dead.cpp:(.text+0x1128): undefined reference to `display::drawing_buffer_add(display::tdrawing_layer, map_location const&, int, int, surface const&, SDL_Rect const&)'
CMakeFiles/wesnoth.dir/whiteboard/utility.cpp.o: In function `wb::unghost_owner_unit(unit*)':
utility.cpp:(.text+0x26a): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/utility.cpp.o: In function `wb::ghost_owner_unit(unit*)':
utility.cpp:(.text+0x2aa): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/validate_visitor.cpp.o: In function `wb::validate_visitor::visit(boost::shared_ptr<wb::recruit>)':
validate_visitor.cpp:(.text+0xc2a): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/validate_visitor.cpp.o: In function `wb::validate_visitor::visit(boost::shared_ptr<wb::recall>)':
validate_visitor.cpp:(.text+0x160a): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/validate_visitor.cpp.o: In function `wb::validate_visitor::visit(boost::shared_ptr<wb::attack>)':
validate_visitor.cpp:(.text+0x1f39): undefined reference to `display::invalidate(map_location const&)'
CMakeFiles/wesnoth.dir/whiteboard/validate_visitor.cpp.o:validate_visitor.cpp:(.text+0x1f57): more undefined references to `display::invalidate(map_location const&)' follow
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o: In function `gui::combo::set_selected_internal(int)':
combo.cpp:(.text+0x15b): undefined reference to `gui::button::set_label(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o: In function `gui::combo::make_drop_down_menu()':
combo.cpp:(.text+0x1f3): undefined reference to `gui::widget::location() const'
combo.cpp:(.text+0x2ed): undefined reference to `gui::show_dialog(display&, surface, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, gui::DIALOG_TYPE, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const*, std::vector<gui::preview_pane*, std::allocator<gui::preview_pane*> > const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, int, std::vector<gui::check_item, std::allocator<gui::check_item> >*, int, int, gui::dialog_frame::style const*, std::vector<gui::dialog_button_info, std::allocator<gui::dialog_button_info> >*, gui::menu::sorter const*, gui::menu::style*)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o: In function `gui::combo::process_event()':
combo.cpp:(.text+0x43e): undefined reference to `gui::button::pressed()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o: In function `gui::combo::combo(display&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
combo.cpp:(.text+0x4c2): undefined reference to `gui::button::button(CVideo&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, gui::button::TYPE, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, gui::button::SPACE_CONSUMPTION, bool)'
combo.cpp:(.text+0x5f8): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o: In function `gui::combo::combo(display&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)':
combo.cpp:(.text+0x6d2): undefined reference to `gui::button::button(CVideo&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, gui::button::TYPE, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, gui::button::SPACE_CONSUMPTION, bool)'
combo.cpp:(.text+0x808): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o: In function `gui::combo::~combo()':
combo.cpp:(.text._ZN3gui5comboD0Ev[gui::combo::~combo()]+0x51): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x8): undefined reference to `gui::button::handle_event(SDL_Event const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x10): undefined reference to `gui::widget::draw()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x14): undefined reference to `gui::widget::volatile_draw()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x18): undefined reference to `gui::widget::volatile_undraw()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x20): undefined reference to `gui::widget::process_help_string(int, int)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x24): undefined reference to `events::handler::join()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x28): undefined reference to `events::handler::leave()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x38): undefined reference to `gui::widget::set_location(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x3c): undefined reference to `gui::widget::hide(bool)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x40): undefined reference to `gui::button::enable(bool)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x44): undefined reference to `gui::button::draw_contents()'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x48): undefined reference to `gui::widget::update_location(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x50): undefined reference to `gui::button::mouse_motion(SDL_MouseMotionEvent const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x54): undefined reference to `gui::button::mouse_down(SDL_MouseButtonEvent const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTVN3gui5comboE[vtable for gui::combo]+0x58): undefined reference to `gui::button::mouse_up(SDL_MouseButtonEvent const&)'
CMakeFiles/wesnoth.dir/widgets/combo.cpp.o:(.rodata._ZTIN3gui5comboE[typeinfo for gui::combo]+0x8): undefined reference to `typeinfo for gui::button'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::mouse_down(SDL_MouseButtonEvent const&)':
combo_drag.cpp:(.text+0x76): undefined reference to `gui::button::hit(int, int) const'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::mouse_up(SDL_MouseButtonEvent const&)':
combo_drag.cpp:(.text+0x141): undefined reference to `gui::widget::free_mouse_lock()'
combo_drag.cpp:(.text+0x174): undefined reference to `gui::widget::free_mouse_lock()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::process(events::pump_info&)':
combo_drag.cpp:(.text+0x1cc): undefined reference to `gui::widget::location() const'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::handle_move(SDL_MouseMotionEvent const&)':
combo_drag.cpp:(.text+0x329): undefined reference to `gui::widget::clip_rect() const'
combo_drag.cpp:(.text+0x339): undefined reference to `gui::widget::clip_rect() const'
combo_drag.cpp:(.text+0x3f4): undefined reference to `gui::widget::aquire_mouse_lock()'
combo_drag.cpp:(.text+0x3fc): undefined reference to `gui::widget::location() const'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::combo_drag(display&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, boost::shared_ptr<gui::drop_group_manager>)':
combo_drag.cpp:(.text+0x509): undefined reference to `gui::widget::location() const'
combo_drag.cpp:(.text+0x55d): undefined reference to `events::pump_monitor::pump_monitor()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::combo_drag(display&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, boost::shared_ptr<gui::drop_group_manager>)':
combo_drag.cpp:(.text+0x659): undefined reference to `gui::widget::location() const'
combo_drag.cpp:(.text+0x6ad): undefined reference to `events::pump_monitor::pump_monitor()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::mouse_down(SDL_MouseButtonEvent const&)':
combo_drag.cpp:(.text+0x94): undefined reference to `gui::button::mouse_down(SDL_MouseButtonEvent const&)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::mouse_up(SDL_MouseButtonEvent const&)':
combo_drag.cpp:(.text+0x126): undefined reference to `gui::button::mouse_up(SDL_MouseButtonEvent const&)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::mouse_motion(SDL_MouseMotionEvent const&)':
combo_drag.cpp:(.text+0x4da): undefined reference to `gui::button::mouse_motion(SDL_MouseMotionEvent const&)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo::~combo()':
combo_drag.cpp:(.text._ZN3gui5comboD2Ev[gui::combo::~combo()]+0x51): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::~combo_drag()':
combo_drag.cpp:(.text._ZN3gui10combo_dragD0Ev[gui::combo_drag::~combo_drag()]+0x36): undefined reference to `events::pump_monitor::~pump_monitor()'
combo_drag.cpp:(.text._ZN3gui10combo_dragD0Ev[gui::combo_drag::~combo_drag()]+0x91): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o: In function `gui::combo_drag::~combo_drag()':
combo_drag.cpp:(.text._ZN3gui10combo_dragD1Ev[gui::combo_drag::~combo_drag()]+0x36): undefined reference to `events::pump_monitor::~pump_monitor()'
combo_drag.cpp:(.text._ZN3gui10combo_dragD1Ev[gui::combo_drag::~combo_drag()]+0x91): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x8): undefined reference to `gui::button::handle_event(SDL_Event const&)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x10): undefined reference to `gui::widget::draw()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x14): undefined reference to `gui::widget::volatile_draw()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x18): undefined reference to `gui::widget::volatile_undraw()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x20): undefined reference to `gui::widget::process_help_string(int, int)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x24): undefined reference to `events::handler::join()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x28): undefined reference to `events::handler::leave()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x38): undefined reference to `gui::widget::set_location(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x3c): undefined reference to `gui::widget::hide(bool)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x40): undefined reference to `gui::button::enable(bool)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x44): undefined reference to `gui::button::draw_contents()'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTVN3gui10combo_dragE[vtable for gui::combo_drag]+0x48): undefined reference to `gui::widget::update_location(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/combo_drag.cpp.o:(.rodata._ZTIN3gui10combo_dragE[typeinfo for gui::combo_drag]+0x20): undefined reference to `typeinfo for events::pump_monitor'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::client_area() const':
scrollpane.cpp:(.text+0x22): undefined reference to `gui::widget::location() const'
scrollpane.cpp:(.text+0x39): undefined reference to `gui::widget::location() const'
scrollpane.cpp:(.text+0x52): undefined reference to `gui::widget::location() const'
scrollpane.cpp:(.text+0x70): undefined reference to `gui::widget::location() const'
scrollpane.cpp:(.text+0x8a): undefined reference to `gui::widget::location() const'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:scrollpane.cpp:(.text+0xb4): more undefined references to `gui::widget::location() const' follow
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::update_content_size()':
scrollpane.cpp:(.text+0x10a): undefined reference to `gui::widget::height() const'
scrollpane.cpp:(.text+0x12e): undefined reference to `gui::widget::width() const'
scrollpane.cpp:(.text+0x144): undefined reference to `gui::widget::width() const'
scrollpane.cpp:(.text+0x15a): undefined reference to `gui::widget::height() const'
scrollpane.cpp:(.text+0x18f): undefined reference to `gui::scrollarea::set_full_size(unsigned int)'
scrollpane.cpp:(.text+0x1b7): undefined reference to `gui::scrollarea::set_shown_size(unsigned int)'
scrollpane.cpp:(.text+0x1ca): undefined reference to `gui::widget::set_dirty(bool)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::position_widget(gui::scrollpane::scrollpane_widget&)':
scrollpane.cpp:(.text+0x25c): undefined reference to `gui::widget::location() const'
scrollpane.cpp:(.text+0x27f): undefined reference to `gui::widget::location() const'
scrollpane.cpp:(.text+0x29f): undefined reference to `gui::widget::set_location(int, int)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::update_widget_positions()':
scrollpane.cpp:(.text+0x3e6): undefined reference to `gui::widget::set_dirty(bool)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::set_inner_location(SDL_Rect const&)':
scrollpane.cpp:(.text+0x4a0): undefined reference to `gui::widget::set_clip_rect(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::add_widget(gui::widget*, int, int, int)':
scrollpane.cpp:(.text+0x5b2): undefined reference to `gui::widget::set_clip_rect(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::hide(bool)':
scrollpane.cpp:(.text+0x6c3): undefined reference to `gui::widget::hide_override(bool)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::set_location(SDL_Rect const&)':
scrollpane.cpp:(.text+0x6f5): undefined reference to `gui::widget::set_location(SDL_Rect const&)'
scrollpane.cpp:(.text+0x717): undefined reference to `gui::scrollarea::set_shown_size(unsigned int)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::scrollpane(CVideo&)':
scrollpane.cpp:(.text+0x74e): undefined reference to `gui::scrollarea::scrollarea(CVideo&, bool)'
scrollpane.cpp:(.text+0x7b8): undefined reference to `gui::scrollarea::set_scroll_rate(unsigned int)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::scrollpane(CVideo&)':
scrollpane.cpp:(.text+0x81e): undefined reference to `gui::scrollarea::scrollarea(CVideo&, bool)'
scrollpane.cpp:(.text+0x888): undefined reference to `gui::scrollarea::set_scroll_rate(unsigned int)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o: In function `gui::scrollpane::~scrollpane()':
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0x38): undefined reference to `vtable for gui::scrollarea'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0x42): undefined reference to `vtable for gui::scrollbar'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0x4a): undefined reference to `gui::button::~button()'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0x58): undefined reference to `gui::button::~button()'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0x98): undefined reference to `gui::widget::~widget()'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0xa0): undefined reference to `gui::widget::~widget()'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0xd0): undefined reference to `gui::widget::~widget()'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0xe2): undefined reference to `gui::widget::~widget()'
scrollpane.cpp:(.text._ZN3gui10scrollpaneD0Ev[gui::scrollpane::~scrollpane()]+0x118): undefined reference to `gui::button::~button()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x8): undefined reference to `gui::scrollarea::handle_event(SDL_Event const&)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0xc): undefined reference to `gui::scrollarea::process_event()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x14): undefined reference to `gui::widget::volatile_draw()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x18): undefined reference to `gui::widget::volatile_undraw()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x20): undefined reference to `gui::widget::process_help_string(int, int)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x24): undefined reference to `events::handler::join()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x28): undefined reference to `events::handler::leave()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x34): undefined reference to `gui::scrollarea::handler_members()'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x40): undefined reference to `gui::widget::enable(bool)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTVN3gui10scrollpaneE[vtable for gui::scrollpane]+0x48): undefined reference to `gui::scrollarea::update_location(SDL_Rect const&)'
CMakeFiles/wesnoth.dir/widgets/scrollpane.cpp.o:(.rodata._ZTIN3gui10scrollpaneE[typeinfo for gui::scrollpane]+0x8): undefined reference to `typeinfo for gui::scrollarea'
libwesnoth-core.a(filesystem.cpp.o): In function `T.1706':
filesystem.cpp:(.text+0x6f86): undefined reference to `loadscreen::increment_progress()'
libwesnoth-core.a(map.cpp.o): In function `gamemap::get_terrain_info(t_translation::t_terrain) const':
map.cpp:(.text+0x3e8): undefined reference to `terrain_type::terrain_type()'
libwesnoth-core.a(map.cpp.o): In function `gamemap::write_terrain(map_location const&, config&) const':
map.cpp:(.text+0x1259): undefined reference to `t_translation::write_terrain_code(t_translation::t_terrain const&)'
libwesnoth-core.a(map.cpp.o): In function `gamemap::write() const':
map.cpp:(.text+0x1731): undefined reference to `t_translation::coordinate::coordinate(unsigned int, unsigned int)'
map.cpp:(.text+0x1775): undefined reference to `t_translation::coordinate::coordinate()'
map.cpp:(.text+0x195f): undefined reference to `t_translation::write_game_map(std::vector<std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> >, std::allocator<std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> > > > const&, std::map<int, t_translation::coordinate, std::less<int>, std::allocator<std::pair<int const, t_translation::coordinate> > >)'
libwesnoth-core.a(map.cpp.o): In function `gamemap::try_merge_terrains(t_translation::t_terrain)':
map.cpp:(.text+0x209e): undefined reference to `terrain_type::terrain_type(terrain_type const&, terrain_type const&)'
libwesnoth-core.a(map.cpp.o): In function `gamemap::merge_terrains(t_translation::t_terrain, t_translation::t_terrain, gamemap::tmerge_mode, bool)':
map.cpp:(.text+0x2512): undefined reference to `terrain_type::terrain_with_default_base() const'
libwesnoth-core.a(map.cpp.o): In function `gamemap::overlay(gamemap const&, config const&, int, int, bool)':
map.cpp:(.text+0x2ba6): undefined reference to `t_translation::FOGGED'
map.cpp:(.text+0x2bb2): undefined reference to `t_translation::VOID_TERRAIN'
map.cpp:(.text+0x2c59): undefined reference to `t_translation::read_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
map.cpp:(.text+0x2c8f): undefined reference to `t_translation::terrain_matches(t_translation::t_terrain const&, std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> > const&)'
map.cpp:(.text+0x2cd3): undefined reference to `t_translation::read_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
map.cpp:(.text+0x2d0f): undefined reference to `t_translation::terrain_matches(t_translation::t_terrain const&, std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> > const&)'
map.cpp:(.text+0x2d53): undefined reference to `t_translation::read_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
map.cpp:(.text+0x2d8c): undefined reference to `t_translation::terrain_matches(t_translation::t_terrain const&, std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> > const&)'
map.cpp:(.text+0x2dd0): undefined reference to `t_translation::read_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
map.cpp:(.text+0x2e03): undefined reference to `t_translation::terrain_matches(t_translation::t_terrain const&, std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> > const&)'
map.cpp:(.text+0x2eb3): undefined reference to `t_translation::read_list(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
map.cpp:(.text+0x334d): undefined reference to `t_translation::FOGGED'
map.cpp:(.text+0x3359): undefined reference to `t_translation::VOID_TERRAIN'
map.cpp:(.text+0x3368): undefined reference to `t_translation::VOID_TERRAIN'
libwesnoth-core.a(map.cpp.o): In function `gamemap::read(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool)':
map.cpp:(.text+0x3df7): undefined reference to `wml_exception(char const*, char const*, int, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
map.cpp:(.text+0x43f2): undefined reference to `wml_exception(char const*, char const*, int, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
map.cpp:(.text+0x4464): undefined reference to `t_translation::read_game_map(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::map<int, t_translation::coordinate, std::less<int>, std::allocator<std::pair<int const, t_translation::coordinate> > >&)'
map.cpp:(.text+0x4c11): undefined reference to `t_translation::write_terrain_code(t_translation::t_terrain const&)'
map.cpp:(.text+0x4c75): undefined reference to `t_translation::write_terrain_code(t_translation::t_terrain const&)'
map.cpp:(.text+0x5012): undefined reference to `wml_exception(char const*, char const*, int, char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
libwesnoth-core.a(map.cpp.o): In function `gamemap::gamemap(config const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
map.cpp:(.text+0x61e4): undefined reference to `create_terrain_maps(std::pair<config::const_child_iterator, config::const_child_iterator> const&, std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> >&, std::map<t_translation::t_terrain, terrain_type, std::less<t_translation::t_terrain>, std::allocator<std::pair<t_translation::t_terrain const, terrain_type> > >&)'
libwesnoth-core.a(map.cpp.o): In function `gamemap::gamemap(config const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':
map.cpp:(.text+0x6684): undefined reference to `create_terrain_maps(std::pair<config::const_child_iterator, config::const_child_iterator> const&, std::vector<t_translation::t_terrain, std::allocator<t_translation::t_terrain> >&, std::map<t_translation::t_terrain, terrain_type, std::less<t_translation::t_terrain>, std::allocator<std::pair<t_translation::t_terrain const, terrain_type> > >&)'
libwesnoth-core.a(parser.cpp.o): In function `(anonymous namespace)::parser::operator()()':
parser.cpp:(.text+0x3f41): undefined reference to `loadscreen::increment_progress()'
collect2: ld returned 1 exit status
make[2]: *** [wesnoth] Error 1
make[1]: *** [src/CMakeFiles/wesnoth.dir/all] Error 2
make: *** [all] Error 2
omn@serenity:~/Games/wesnoth$
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: Help compiling 1.10 on ubuntu 10.04

Post by Iris »

shkkmo wrote: The second time, everything went fine untill the end and then the terminal got spammed with a whole slew of error messages.
Did you try deleting the entire cmake build dir and starting over? It sounds like some of Wesnoth’s source code files weren’t previously compiled and cmake isn’t detecting that. Alternatively, there might be clues earlier in the full build log.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
vcap
Posts: 80
Joined: August 1st, 2010, 3:34 pm

Re: Help compiling 1.10 on ubuntu 10.04

Post by vcap »

shkkmo wrote: This is from the end of that slew of errors as the error output was longer that the buffer of my terminal.
btw, you can redirect the full output in a file with something like:

Code: Select all

make >compil.log 2>&1
or, if you want it both in a file and on the terminal:

Code: Select all

make 2>&1 | tee compil.log
also, you can see what commands are being executed by setting the VERBOSE variable, e.g:

Code: Select all

make VERBOSE=1 2>&1 | tee compil.log
Madlok
Posts: 80
Joined: April 24th, 2008, 1:26 pm
Location: Poland
Contact:

Re: Help compiling 1.10 on ubuntu 10.04

Post by Madlok »

You dont' have to compile this. There are .deb files. For the minimal version (no music, no campaigns etc. only multiplayer and games vs AI) you need data and core packages.
https://launchpad.net/ubuntu/precise/+p ... -1.10-data
https://launchpad.net/ubuntu/precise/+p ... -1.10-core
This work perfectly on my Mint 12.

I just guess you want to compile this because no 1.10 in repositories?
Quick bats are quick.
User avatar
Iris
Site Administrator
Posts: 6800
Joined: November 14th, 2006, 5:54 pm
Location: Chile
Contact:

Re: Help compiling 1.10 on ubuntu 10.04

Post by Iris »

Madlok wrote:You dont' have to compile this. There are .deb files. For the minimal version (no music, no campaigns etc. only multiplayer and games vs AI) you need data and core packages.
https://launchpad.net/ubuntu/precise/+p ... -1.10-data
https://launchpad.net/ubuntu/precise/+p ... -1.10-core
This work perfectly on my Mint 12.
Please note that Ubuntu 10.04 is much older than the yet-to-be-released Precise (12.04). Odds are the packages you linked may depend on versions of libraries and packages that are simply not available on 10.04, so you could end up with two broken packages and an unusable Wesnoth binary.
Author of the unofficial UtBS sequels Invasion from the Unknown and After the Storm.
shkkmo
Posts: 2
Joined: February 3rd, 2012, 1:47 am

Re: Help compiling 1.10 on ubuntu 10.04

Post by shkkmo »

shadowmaster wrote:
shkkmo wrote: The second time, everything went fine untill the end and then the terminal got spammed with a whole slew of error messages.
Did you try deleting the entire cmake build dir and starting over? It sounds like some of Wesnoth’s source code files weren’t previously compiled and cmake isn’t detecting that. Alternatively, there might be clues earlier in the full build log.
Nope, deleting the build directory fixed the error messages and everything compiled and installed cleanly.

thanks
Post Reply