Hi !
I'm trying to recompile dosbox 0.6.5 on my Cacko. After a few modifications, it runs but segfaults. Surpriseingly, it segfaults at the very start. Here's the gdb bt:
(gdb) run
Starting program: /usr/mnt.rom/cf/rsync/dosbox/dosbox
Display size = 480x640
Program received signal SIGSEGV, Segmentation fault.
Config::~Config (this=0xbffff33c, __in_chrg=2) at setup.cpp:276
276 setup.cpp: No such file or directory.
in setup.cpp
(gdb) bt
#0 Config::~Config (this=0xbffff33c, __in_chrg=2) at setup.cpp:276
#1 0x4060ac64 in ZDecoration::reloadPixmaps ()
from /home/QtPalmtop/lib/libqpe.so.1
#2 0x40607ef8 in ZDecoration::ZDecoration ()
from /home/QtPalmtop/lib/libqpe.so.1
#3 0x4053de08 in QPEApplication::applyStyle ()
from /home/QtPalmtop/lib/libqpe.so.1
#4 0x4053cae8 in QPEApplication::QPEApplication ()
from /home/QtPalmtop/lib/libqpe.so.1
#5 0x00094864 in main (argc=1, argv=0xbffffa24) at sdlmain.cpp:1286
#6 0x4069f070 in __libc_start_main () from /lib/libc.so.6
In sdlmain.cpp I added the following lines, because I want to compile dosbox with libSDL optimized for the PXA27x (bvdd), which does not contain the qtopia main() code :
app = new QPEApplication(argc, argv);
QWidget dummy;
app->showMainWidget(&dummy);
Any ideas ?
Cheers,
. . Ludovic