开发板中运行可执行程序 Killed
一个困扰我一天的问题了,希望能有大神指点一下
本人小白
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