为什么移植的linuxshell下不能执行./hello?
时间:2008-01-19
来源:互联网
我最近在2410移植了一套vivi+2.6.22kernel+cramfs,交叉编译的内核模块能装载(insmod/rmmod没问题),可是在shell下运行我的测试hello程序,显示错误,我把sh切换成ash也是一样:(如下)
test和testhello都是交叉编译的用户态测试程序
报错解图
# ./test
sh: ./test: not found
# ./testhello
sh: ./testhello: not found
# ash
# ./test
ash: ./test: not found
# ./testhello
ash: ./testhello: not found
去掉./当然也不行
# testhello
-sh: testhello: not found
shell不能解释./test和./testhello,不知道是文件系统的问题(静态编译),还是kernel的问题,是不是哪里我配置的不对?
忘有经验的高手指点一下。
谢谢!
test和testhello都是交叉编译的用户态测试程序
报错解图
# ./test
sh: ./test: not found
# ./testhello
sh: ./testhello: not found
# ash
# ./test
ash: ./test: not found
# ./testhello
ash: ./testhello: not found
去掉./当然也不行
# testhello
-sh: testhello: not found
shell不能解释./test和./testhello,不知道是文件系统的问题(静态编译),还是kernel的问题,是不是哪里我配置的不对?
忘有经验的高手指点一下。
谢谢!
作者: yanan_tian95 发布时间: 2008-01-19
用绝对路径看看
作者: AIKO_sex 发布时间: 2008-01-19
谢谢,我试了,绝对路径也不行呀,也是报那样的错误
# /mydriver/test
-sh: /mydriver/test: not found
# ./mydriver/test
-sh: ./mydriver/test: not found
# /mydriver/test
-sh: /mydriver/test: not found
# ./mydriver/test
-sh: ./mydriver/test: not found
作者: yanan_tian95 发布时间: 2008-01-19
你是busybox吧
有runtime么
有runtime么
作者: AIKO_sex 发布时间: 2008-01-21
是busybox呀,什么是runtime ?
作者: yanan_tian95 发布时间: 2008-01-21
Runtime SUID/SGID configuration via /etc/busybox.conf ?这个我选了呀 ,可是我我有/etc/busybox.conf 文件呀,应该怎么弄呢?
作者: yanan_tian95 发布时间: 2008-01-21
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28