Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
QT 2.3.10 application cann't run properly
I have successfully built a QT 2.3.10 application on my uClinux-dist (no MMU) platform. But when I execute it the following error happens,
/mnt> ./helloworld
BINFMT_FLAT: Loading file: ./helloworld
Mapping is 1800000, Entry point is 44, data_start is 343240
Load ./helloworld_rom: TEXT=1800040-1b43240 DATA=1f80004-1fb3bf4 BSS=1fb3bf4-1fbab54
helloworld_rom[19] killed because of sig - 4
STACK DUMP:
0x01fffe14: 01b43228 01ffff84 01f80004 018000e4 00000000 00000000 00000000
0x01fffe30: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x01fffe4c: 00000000 00000000 00000000 01adf0e8 01facd90 01ffff4c 01c3d00c
0x01fffe68: 01fffe24 00000000 00000000 00000000 00000000 00000000 00000000
0x01fffe84: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x01fffea0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0x01fffebc: 00000000 00000000 00000000 00000000 00000000 00000013 01ad69d8
0x01fffed8: 01ffff35 01adbd5c 01ffff24 00008a3b 01ad7570 00000500 00000005
0x01fffef4: 00001cb2 00008a3b 081c0300 01000415 1a131100 170f1200 00000016
0x01ffff10: 01f9fdfc 01fb6ac8 00000000 00000002 01ad7440 00000500 00000005
Pid: 19, comm: helloworld
CPU: 0
PC is at 0x2c8b178
LR is at 0x1ade39c
pc : [<02c8b178>] lr : [<01ade39c>] Not tainted
sp : 01fffe14 ip : 01ffff74 fp : 02000b5d
r10: 01b43dd8 r9 : 00000000 r8 : 00000000
r7 : 00000002 r6 : 01ffff90 r5 : 7e000002 r4 : 01ade270
r3 : 00000ba0 r2 : 01fffe60 r1 : 01ffff84 r0 : e92d4400
Flags: nzCv IRQs on FIQs on Mode USER_32 Segment kernel
[<0001b818>] (show_regs+0x0/0x4c) from [<00053078>] (do_coredump+0x190/0x764)
r4 = 00741DD4
[<00052ee8>] (do_coredump+0x0/0x764) from [<000303b8>] (get_signal_to_deliver+0x358/0x384)
[<00030060>] (get_signal_to_deliver+0x0/0x384) from [<0001d238>] (do_signal+0x5c/0x414)
[<0001d1dc>] (do_signal+0x0/0x414) from [<0001d77c>] (do_notify_resume+0x2c/0x30)
[<0001d750>] (do_notify_resume+0x0/0x30) from [<0001ab6c>] (work_pending+0x1c/0x20)
And this is my compile flags to build qte-2.3.10,
......
/home/nerokuo/uClinux/tools/ucfront-g++ arm-linux-g++ -c -Dlinux -D__linux__ -Dunix -D__uClinux__ -I/home/nerokuo/qt-2.3.10/include -I/home/nerokuo/uClinux/uClibc/include -I/home/nerokuo/uClinux/include -I/home/nerokuo/uClinux/linux-2.6.x/include -DDEBUG -D__PIC__ -fpic -msingle-pic-base -msoft-float -Wall -DQWS -O -DQT_QWS_NO_SHM -DQT_NO_QWS_MULTIPROCESS -DQT_NO_SOUNDSERVER -DQT_NO_SOUND -DQT_NO_IMAGEIO_MNG -DQT_NO_STL -DQT_NO_EXCEPTIONS -DQT_NO_QWS_SNAP -DQT_NO_QWS_VOODOO3 -DQT_NO_QWS_MACH64 -DQT_NO_QWS_MATROX -DQT_NO_QWS_VNC -DQT_KEYPAD_MODE -DQT_NO_QWS_VGA_16 -DQT_NO_QWS_DEPTH_24 -DQT_NO_QWS_VFB -DQT_BUILTIN_GIF_READER=1 -DQT_NO_IMAGEIO_MNG -DQT_NO_SM_SUPPORT -DQT_NO_XKB -I/home/nerokuo/jpeg-6b -I/home/nerokuo/qt-2.3.10/src/3rdparty/zlib -I/home/nerokuo/qt-2.3.10/src/3rdparty/libpng -I3rdparty/kernel -I3rdparty/tools -o widgets/qmainwindow.o widgets/qmainwindow.cpp
.......
Did I make anything wrong when building qte-2.3.10?? Please help provide
your suggestions if any. Thanks a lot.