Forums - not executable: 32-bit ELF file

1 post / 0 new
not executable: 32-bit ELF file
fvaray
Join Date: 19 Feb 19
Posts: 1
Posted: Tue, 2019-03-26 00:06
Colleagues, Hello!
 
Help with the launch of the executable file on the core of the smartphone.
I have qualcomm chip MSM8996. Hexagon architecture  V60.
I built an empty project, it is contained only the function main() and the empty body. Next, I want to fill the program with code and debug on the device!
What am I doing?
- I am building a project from a single file on c ++ from under windows 7 on qualcomm_hexagon_sdk_3_4_1_eval
- I am makeing the build configuration as LLVM_Release. The output after the build is a binary file elf with the "name" and the file "name.o" 
- Next, I connect to the phone with adb. The following list of commands
    adb push name/data/local/tmp/
    adb shell chmod 777 /data/local/tmp/name
    adb shell cd/data/local/tmp/; ./name
 
The system gives an error:
/system/bin/sh: ./name: not executable: 32-bit ELF file
 
Why can't I run my elf file? What have I done wrong?
  • Up0
  • Down0

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.