程序在linux上交叉编译后移植到开发板运行不了
[ 本帖最后由 18316199165 于 2020-8-31 12:08 编辑 ]\n\n在qt上写好的程序通过arm-linux-gcc 5.4交叉编译后产生得可执行文件,移植到PX30开发板上运行不了报错-/bin/sh: ./xxx: not found
# ./ControlInterface -/bin/sh: ./ControlInterface: not found
# source ControlInterface-/bin/sh: /bin/ControlInterface: line 1: syntax error: unexpected word (expecting ")")
没有执行权限吧, chmod 755 ControlInterface
页:
[1]