I just managed to compile wesnoth for N900, but right after starting its execution startup I get a segfault. According to GDB, it happens while parsing the font configuration:
- Code: Select all
Starting program: /home/opt/maemo/usr/games/wesnoth --nosound -w
Battle for Wesnoth v1.6.5
Started on Wed Jan 27 22:40:27 2010
Data directory: /usr/share/games/wesnoth
User configuration directory: /home/user/.wesnoth1.6
Program received signal SIGSEGV, Segmentation fault.
0x005c8138 in tokenizer::tokenizer(std::istream&) ()
0x005c8138 <_ZN9tokenizerC1ERSi+108>: ldr r3, [r2, #20]
(gdb) bt
#0 0x005c8138 in tokenizer::tokenizer(std::istream&) ()
#1 0x005b32d4 in (anonymous namespace)::parser::parser(config&, std::istream&) ()
#2 0x005b7300 in read(config&, std::istream&, std::string*) ()
#3 0x0005e204 in font::load_font_config() ()
#4 0x00023e18 in do_gameloop(int, char**) ()
#5 0x00024df8 in main ()
Reading other cross-compilation threads and the Diablo (n810) records in the maemo community it appears I need the dejavu fonts or the whole freetype package, but I'm not sure about which folder will these fonts been searched into. Any ideas?
