I have an executable file from an embedded device running linux. The device is running on an ARMv5TE Intel PXA255. Since that platform is long obsolete, I would like to run the program on a more modern and cheap Atheros AR9331 running OpenWrt 12.09.
Following common sense and some info I found on the net, I thought that I could just chmod +X prog1
the file and then run it. Unfortunately, doing that does nothing... The program is not recognized: at the prompt, if I write the first characters and press tab nothing happens, if I write the file name and press enter I get /bin/ash: prog1: not found
, and of course if I write ./prog1
I get this error:
./prog1: line 1: syntax error: unexpected word (expecting ")")
more info:
-I verified that the header is 0x7F 'E' 'L' 'F'
-The program seems to decompile correctly on IDA
Am I getting these errors because the platforms are too different? What am I doing wrong/what can I do to run this program? I don't have sources.