issue during linking for 0.4 (test version)

Having trouble with the game? Report issues and get help here. Read this first!

Moderators: Forum Moderators, Developers

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
Balin

issue during linking for 0.4 (test version)

Post by Balin »

Hello,

I have an issue during the building of Wesnoth 0.4 : the link fails.

gcc 3.3.2
libsdl 1.2.5
libsdl-ttf 2.0.6
libfreetype6 2.1.4

alex@debian:~/games/wesnoth/wesnoth-0.3.10$ make
gcc -lstdc++ `sdl-config --cflags` `freetype-config --cflags` -o wesnoth actions.o ai.o ai_attack.o ai_move.o config.o dialogs.o display.o font.o game.o game_config.o game_events.o gamestatus.o intro.o key.o language.o map.o menu.o multiplayer.o pathfind.o playlevel.o playturn.o replay.o sdl_utils.o team.o terrain.o unit.o unit_types.o video.o widgets/button.o widgets/textbox.o `sdl-config --libs` -lSDL_ttf `freetype-config --libs`

menu.o(.text+0x604): In function `gui::show_dialog(display&, SDL_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<unit, std::allocator<unit> > const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
: référence indéfinie vers « gui::textbox::textbox[in-charge](display&, int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)»
menu.o(.text+0x671): In function `gui::show_dialog(display&, SDL_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<unit, std::allocator<unit> > const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*)':
: référence indéfinie vers « gui::textbox::width() const»
...

Thanks for your help.

Balin

ettin
Lord of Glamdrol
Posts: 369
Joined: August 17th, 2003, 2:05 pm
Contact:

Post by ettin »

alex@debian:~/games/wesnoth/wesnoth-0.3.10$
This is not Wesnoth 0.4. Download the latest release.
Anyway, you only need to remove the objects from the widgets/ directory.

Code: Select all

cd widgets/
rm *.o

Balin

Post by Balin »

Thanks.

Balin

Post Reply