Trying cross compile simple application, when runnig it on devboard, getting
wrong response
-ash: ./dr_daemon: not found`
System information:
Latest OpenWrt branch.
Build with toolchain and SDK. Run from SD card OK system boot up, network working.
SAM9X60 board:
uname -a
Linux DanridaTest 5.15.108 #0 Thu Apr 27 20:26:58 2023 armv5tejl GNU/Linux
then cross compile simple application binary using toolchain and SDK on Ubuntu PC
binary file created, then run file dr_daemon returns
dr_daemon: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-musl-armhf.so.1, with debug_info, not stripped
when run from SM9X60 cd /tmp; ./dr_daemon getting
-ash: ./dr_daemon: not found`
ldd ./dr_daemon returns
/lib/ld-musl-armhf.so.1 (0xb6f49000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6f3a000)
libc.so => /lib/ld-musl-armhf.so.1 (0xb6f49000)
Please can some one point me to the correct solution?
Thank you