Forums - Failed to run the sample executable file (snpe-net-run) on QCS605

2 posts / 0 new
Last post
Failed to run the sample executable file (snpe-net-run) on QCS605
chunghunk
Join Date: 14 Jan 19
Posts: 1
Posted: Mon, 2019-03-11 01:01

Hi,

when I run sample executable file (snpe-net-run) on QCS605, it seems not working because of something errors that terminal print some permission denied information as follows:

    /data/local/tmp/snpeexample/arm-android-gcc4.9/bin # ./snpe-net-run 
    /bin/sh: ./snpe-net-run: Permission denied
 
    /data/local/tmp/snpeexample/arm-android-gcc4.9/bin # bash ./snpe-net-run 
    ./snpe-net-run: ./snpe-net-run: cannot execute binary file
 
 
device spec is defined as follows:
 
    / # uname -a
    Linux qcs605-32 4.9.112-perf #1 SMP PREEMPT Wed Nov 7 11:02:36 UTC 2018 armv7l armv7l armv7l GNU/Linux
 
 
 
and snpe-net-run file info is introduced as follows:
 
    [arm-android-gcc4.9]
    %SNPE_ROOT%/bin/arm-android-gcc4.9$ file snpe-net-run
    snpe-net-run: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /system/bin/linker, BuildID[sha1]=8ff421afa0bcf1a86a7705b4064b31af2d29a5db, stripped
 
    [arm-linux-gcc4.9sf]
    %SNPE_ROOT%/bin/arm-linux-gcc4.9sf$ file snpe-net-run 
    snpe-net-run: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 2.6.16, BuildID[sha1]=2cc141cd3b54b83e9a41f2312c9bea89d9f6b8b6, stripped
 
 
How to solve this problem? Thanks for the help!!
  • Up0
  • Down0
khegelich
Join Date: 27 Feb 20
Posts: 1
Posted: Mon, 2020-03-02 06:07

I was able to get rid of the permission denied message by running:
chmod +x snpe-net-run

  • Up0
  • Down0
or Register

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.