Skip navigation.
Home
The QNX Community Portal

View topic - Executable File

Executable File

Discussion about the QNX6 OS.

Executable File

Postby bkoe » Thu Sep 01, 2011 9:47 pm

Hi,

I was wondering if someone would kindly assist me on this matter:

I have an executable file that was build for a QNX 6.4.0 Neutrino Target. However, when I tried to run it on a QNX 6.4.0 Target on VMWare... I got an error that looked like this:

./root/project[1]: syntax error: `^A^\^S^P4t^A^A^B^F4' unexpected

Can someone please help me on this issue?

Thanks,

bko
bkoe
New Member
 
Posts: 1
Joined: Thu Sep 01, 2011 9:43 pm

Re: Executable File

Postby Thunderblade » Fri Sep 02, 2011 8:15 am

What CPU architecture is the target hardware, where this executeable is coming from? If it's not x86, the file is not going to work in VmWare...
Thunderblade
Senior Member
 
Posts: 487
Joined: Thu Apr 07, 2005 11:52 am

Re: Executable File

Postby mario » Tue Sep 06, 2011 6:58 pm

Use spatch to look at the executable, the first 4 bytes should be :

7F 45 4C 46 (.ELF)

If not then it is not an executable. If they match, then most likely this is not an x86 executable or it's an ELF executable but not a QNX6 one.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am


Return to QNX6 - OS

Who is online

Users browsing this forum: No registered users and 2 guests