bin/sh: hello :not found
来源:互联网 发布:淘宝首充号是什么意思 编辑:程序博客网 时间:2024/04/28 08:48
奋战半月有余,终于建起了开发平台,以第一个“Hello World”入门程序开始,兴奋之余却遇到bin/sh: hello:notfound拦路虎,郁闷啊~~~网上说法云云,改了kernel,又改rootfs,瞎忙一通无济啊,不过还是被我的鼠眼瞄到了,嘿嘿~~~
Build Options->
Build BusyBox as a static binary (no shared libs)
Build with Large File Support (for accessingfile>2GB)
如果选择 Build BusyBox as a static binary (no shared libs)方式进行编译时,所需的库已经与程序静态地链接在一起,这些程序不需要额外的库就可以单独运行,但是自己编写的程序在文件系统上运行必须采用静态编译,否则会报诸如:bin/sh:hello :not found的错误。
静态编译如:
arm-linux-gcc –static hello.c –o hello
在开发板上直接./hello,便会有你要的惊喜~~~
转自:http://hi.baidu.com/xx��ӰƮ��xx/blog/item/839f018133db12dd9023d9b4
0 0
- bin/sh: hello :not found
- bin/sh: hello :not found
- bin/sh: hello :not found -sh: ./hello: not found
- bash: crontab: command not found
- -bin/sh ./hello not found错误
- bin/sh: hello :not found 的解决方法
- Linux: File not found by glob
- sh脚本异常:/bin/sh^M:bad interp…
- HDOJ 1085 Holding Bin-Laden …
- “constructors not allowed …
- bin.sh not found
- symbol(s) not found&nb…
- bash:command not found以及原理
- 使用命令jps,command not found
- SOA架构师 职责 HP SH
- latex hello world
- No Launcher activity found!
- linux 下 /bin /sbin 的区别
- QT4.5.3 + Mplayer + tslib 移植到…
- linux 模块编译步骤
- 在开发板上挂载NFS
- FPGA嵌入式项目开发实战 随书光盘…
- Android ViewPager dimension
- bin/sh: hello :not found
- CGI学习手记-CGI和表单②
- Win7下安装VC6.0的完美解决方案
- nfs常见问题解决方法
- 在Centos中yum安装和卸载软件的使用方法
- s3c2410_gpio_setpin()等系列函数
- oem vlk版本xp序列号所在位置
- Linux 下个头文件作用
- 非常好用的select美化