Error: Failed to create application process: Exec format error
-
wrote on 6 Dec 2012, 16:04 last edited by
Following this link http://qt-project.org/wiki/Setting-up-Qt-Creator-for-BlackBerry-and-QNX
Build and Deploy all sucess, but can't launch the application in the simulator.
Does anyone have some ideas? -
wrote on 6 Dec 2012, 16:35 last edited by
Remove your previous versions of the app, change network setting in vmware (switch between bridge/nat)
-
wrote on 7 Dec 2012, 15:12 last edited by
Hi,borceg.
It doesn't solved the problem.My Env is: Win7 Home Basic + QtCreator 2.6 + BBNDK beta4
Compiler Path: C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qcc.exe
ABI: custom - arm - linux - generic - elf - 32bit
Qt Version: C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qmake.exeIs there some wrong?
-
wrote on 7 Dec 2012, 16:15 last edited by
NDK beta 4 is 10_0_9_1101, maybe you're using older version ?
-
wrote on 8 Dec 2012, 03:43 last edited by
Hi, borceg.
The details setting of [QtCreator]:
[Compiler Path:] C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qcc.exe
[ABI:] custom – arm – linux – generic – elf – 32bit
[Qt Version:] C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\qmake.exeThe details setting of [qt.conf]:
Prefix = ../../../../..
Binaries = C:/bbndk/host_10_0_9_284/win32/x86/usr/bin
Headers = C:/bbndk/target_10_0_9_1101/qnx6/usr/include/qt4
Data = C:/bbndk/target_10_0_9_1101/qnx6/usr/share/qt4
Libraries = C:/bbndk/target_10_0_9_1101/qnx6/armle-v7/usr/lib/qt4/lib
Imports = C:/bbndk/target_10_0_9_1101/qnx6/armle-v7/usr/lib/qt4/imports
Plugins = C:/bbndk/target_10_0_9_1101/qnx6/armle-v7/usr/lib/qt4/pluginsI think , all other path point to target_10_0_9_1101, except qcc/qmake/binaries path point to host_10_0_9_284.
Something wrong?
-
wrote on 8 Dec 2012, 08:35 last edited by
Your ndk installation is messed up. Uninstall it completely (after uninstall delete bbndk folder in C) and re-install beta 4
-
wrote on 8 Dec 2012, 08:54 last edited by
Yes, i do. I uninstalled previous sdk, and reboot computer and deleted bbndk folder in C, then reinstall beta 4.
The result is same.
Are you sure the path host_10_0_9_284 is incorrect?
What's the correct host path in beta 4 ? -
wrote on 8 Dec 2012, 09:08 last edited by
It seems someone face the same problem.
I think, the important clue is "Exec format error",some ideas? -
wrote on 8 Dec 2012, 09:09 last edited by
Opps my mistake. Correct is host_10_0_9_284. [ABI:] for Simulator should be custom – x86 – linux – generic – elf – 32bit
Seems that there is some issue with beta 4.
-
wrote on 9 Dec 2012, 12:31 last edited by
-
wrote on 9 Dec 2012, 14:46 last edited by
[quote author="borceg" date="1354957741"]Opps my mistake. Correct is host_10_0_9_284. [ABI:] for Simulator should be custom – x86 – linux – generic – elf – 32bit
Seems that there is some issue with beta 4.
[/quote]The same result, remaining "Exec format error".
-
wrote on 9 Dec 2012, 15:08 last edited by
HelloWorld (build by QNX Momentic IDE):
C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\ntox86-objdump.exe -a HelloWorld
result: file format elf32-i386HelloWorld (build by QtCreator 2.6):
C:\bbndk\host_10_0_9_284\win32\x86\usr\bin\ntox86-objdump.exe -a HelloWorld
result: file format elf32-littleThis is the point why i got 'Exec format error'!
But i don't know how to modify the compiler abi settings in QtCreator 2.6, i'v tried almost all items.
-
wrote on 9 Dec 2012, 15:38 last edited by
Finally Solution:
point the Qt mkspec in the kits page to C:\bbndk\target_10_0_9_1101\qnx6\usr\share\qt4\mkspecs\blackberry-x86-qcc.
:-D
-
wrote on 14 Dec 2012, 05:47 last edited by
Finally it works... Thank you! But can you use the debugger now? Every time when I start it it just crashes, says that is has timed out or that it cannot connect, etc.
The app does get packaged and uploaded to the simulator and works though.
1/14