Firefly开源社区

[Linux] 程序在linux上交叉编译后移植到开发板运行不了

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2020-8-31 11:03:47     
[ 本帖最后由 18316199165 于 2020-8-31 12:08 编辑 ]\n\n在qt上写好的程序通过arm-linux-gcc 5.4交叉编译后产生得可执行文件,移植到PX30开发板上运行不了
报错-/bin/sh: ./xxx: not found

[root@px30_64:/test]# ./ControlInterface -/bin/sh: ./ControlInterface: not found
[root@px30_64:/test]# source ControlInterface-/bin/sh: /bin/ControlInterface: line 1: syntax error: unexpected word (expecting ")")

回复

使用道具 举报

18

积分

0

威望

0

贡献

技术小白

积分
18
发表于 2020-8-31 12:06:11     
[img][/img]
回复

使用道具 举报

1306

积分

0

威望

0

贡献

中级创客

Rank: 4

积分
1306
发表于 2020-9-2 09:27:50     
没有执行权限吧, chmod 755 ControlInterface
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表