为什么移植的linuxshell下不能执行./hello?
我最近在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的问题,是不是哪里我配置的不对?
忘有经验的高手指点一下。
谢谢!