开发板中运行可执行程序 Killed

JangSeo JangSeo 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
一个困扰我一天的问题了,希望能有大神指点一下
本人小白
x6818 arm 开发版 烧了linux的操作系统应该是32位的:
[root@X6818:~]# uname -a
Linux X6818 3.4.39-9tripod #9 SMP PREEMPT Thu Jul 20 14:16:45 CST 2017 armv7l GNU/Linux


我交叉编译了一个简单的helloworld程序,只用到了printf, 放到开发板上执行就显示:
[root@X6818:~]# ./test
Killed
[root@X6818:~]# file test
test: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, not stripped


我去看了一下板子里能正常启动的程序是这样的:
[root@X6818:~]# file /usr/share/demo/qttest
/usr/share/demo/qttest: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.3, for GNU/Linux 3.4.5, BuildID[sha1]=83daaecc89b4f1bc587ecb7915350473540d2488, not stripped
...全文
评论 4
收藏 已收藏
分享
返回顶部
JangSeo
Linux/Unix社区 23,224 成员 74,535 内容