Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. Qt on BlackBerry and QNX
  4. Error: Failed to create application process: Exec format error
Forum Updated to NodeBB v4.3 + New Features

Error: Failed to create application process: Exec format error

Scheduled Pinned Locked Moved Qt on BlackBerry and QNX
14 Posts 3 Posters 10.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rocjohn
    wrote on last edited by
    #5

    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.exe

    The 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/plugins

    I 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?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      borceg
      wrote on last edited by
      #6

      Your ndk installation is messed up. Uninstall it completely (after uninstall delete bbndk folder in C) and re-install beta 4

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rocjohn
        wrote on last edited by
        #7

        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 ?

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rocjohn
          wrote on last edited by
          #8

          http://supportforums.blackberry.com/t5/Native-Development/NDK-Beta-4-Simulator-Qt-Creator-2-6-problem/m-p/2011837/thread-id/9401/highlight/false

          It seems someone face the same problem.
          I think, the important clue is "Exec format error",some ideas?

          1 Reply Last reply
          0
          • B Offline
            B Offline
            borceg
            wrote on last edited by
            #9

            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.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              rocjohn
              wrote on last edited by
              #10

              Found this:
              http://www.qnx.com/developers/qnx4/qnx4kb/solution.html?code=5996

              1 Reply Last reply
              0
              • R Offline
                R Offline
                rocjohn
                wrote on last edited by
                #11

                [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".

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  rocjohn
                  wrote on last edited by
                  #12

                  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-i386

                  HelloWorld (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-little

                  This 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.

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    rocjohn
                    wrote on last edited by
                    #13

                    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

                    1 Reply Last reply
                    0
                    • Z Offline
                      Z Offline
                      Zingam
                      wrote on last edited by
                      #14

                      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 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved