|
技术交流 | 电路欣赏 | 工控天地 | 数字广电 | 通信技术 | 电源技术 | 测控之家 | EMC技术 | ARM技术 | EDA技术 | PCB技术 | 嵌入式系统 驱动编程 | 集成电路 | 器件替换 | 模拟技术 | 新手园地 | 单 片 机 | DSP技术 | MCU技术 | IC 设计 | IC 产业 | CAN-bus/DeviceNe |
写给周立功公司的求助信,还未得到解答。 |
作者:flylongins 栏目:嵌入式系统 |
最近开始用smartarm 2200 做实验,遇到一个问题。问题描述如下:主机使用虚拟机vmware ,宿主机和目标板IP都联系得上。主机开超级终端,目标板上电后,超级终端显示选择目录,选择启动uclinux后,一切正常。NFS连接也正常,但是在主机编译hello之后,通过超级终端在目标板上运行时,不能运行。一些在超级终端下的键入命令如下: /> cd usr /usr> portmap& [27] /usr> mount -t nfs 192.168.15.11:/home/armwork /mnt -o nolock /usr> cd /mnt /mnt> ls hello /mnt> cd hello /mnt/hello> ls Makefile hello hello.c hello.gdb hello.o /mnt/hello> ./hello ./hello: Permission denied /mnt/hello> ./hello ./hello: Permission denied /mnt/hello> ./hello ./hello: Permission denied /mnt/hello> ls Makefile hello hello.c hello.gdb hello.o /mnt/hello> ls Makefile hello hello.c hello.gdb hello.o /mnt/hello> ./hello ./hello: Permission denied /mnt/hello> gdb hello gdb: Bad command or file NAME /mnt/hello> gdb hello gdb: Bad command or file NAME /mnt/hello> ls Makefile hello hello.c hello.gdb hello.o /mnt/hello> ls Makefile hello hello.c hello.gdb hello.o /mnt/hello> ./hello ./hello: Permission denied 不知道是什么原因!!!程序为提供的hello源程序。 还有就是gdbserver为啥目标板上没有这个命令? /mnt/hello> gdbserver:2000 hello& gdbserver:2000: Bad command or file NAME sh 26: Child 32 died [32] 哪位大虾能指点我一下。万分感激。。。 |
2楼: | >>参与讨论 |
作者: zlgarm 于 2006/9/27 21:19:00 发布:
re: 最近工程师出差,没法回复. 您现在遇到的问题是程序没有可执行权限,请使用chmod改变权限. chmod a+x hello 即可. |
3楼: | >>参与讨论 |
作者: flylongins 于 2006/9/28 19:11:00 发布:
谢谢!!! 谢谢周立功。。。。 中国嵌入式多几个像周立功这样热心的人就好了啊。。。。 |
4楼: | >>参与讨论 |
作者: sockit 于 2006/9/29 8:57:00 发布:
只能说明工作没有交接好 理解万岁~呵呵 |
|
|
Copyright © 1998-2006 tgdrjb.cn 浙ICP证030469号 |