嵌入式Linux中在开发板上/usr/bin目录下不能运行自己交叉编译的程序

~~一个很不知道错在哪里的问题
我编译了内核与文件系统后成功下载后
我将我交叉编译的hello,led测试程序,key测试程序下载到/usr/bin中不能运行:其现象如下:
[root@YWW-2440 bin]#cp /mnt/nfs/hello /usr/bin
[root@YWW-2440 bin]#ls
[            diff         id           nc           setkeycodes  tr
[[           dirname      ifplugd      nmeter       setsid       traceroute
ar           dos2unix     install      nohup        setuidgid    tty
arping       du           ipcrm        nslookup     sha1sum      ttysize
awk          dumpleases   ipcs         od           sha256sum    udpsvd
basename     eject        kbd_mode     openvt       sha512sum    unexpand
beep         env          key_test     passwd       showkey      uniq
bunzip2      envdir       killall      patch        softlimit    unix2dos
bzcat        envuidgid    killall5     pgrep        sort         unlzma
bzip2        ether-wake   last         pkill        split        unlzop
cal          expand       led          printf       strings      unzip
chat         expr         length       pscan        sum          uptime
chpst        fdformat     less         readahead    sv           uudecode
chrt         find         logger       readlink     tac          uuencode
chvt         fold         logname      realpath     tail         vlock
cksum        free         lpq          renice       tcpsvd       volname
clear        ftpget       lpr          reset        tee          vsftpd
cmp          ftpput       lzmacat      resize       telnet       wc
comm         fuser        lzopcat      rtcwake      test         wget
crontab      hd           md5sum       runsv        tftp         which
cryptpw      head         mesg         runsvdir     tftpd        who
cut          hello        microcom     rx           time         whoami
dc           hexdump      mkfifo       script       timeout      xargs
deallocvt    hostid       mkpasswd     seq          top          yes
[root@YWW-2440 bin]#hello
-bin/sh: hello: not found
[root@YWW-2440 bin]#./hello
-bin/sh: ./hello: not found
但是运行/usr/bin下的其他命令却可以。能够用telnet命令到我自己的电脑。
这是怎么回事呢???

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 4
    评论
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值