嵌入式开发板执行wpa_supplicant 提示-sh: ./wpa_supplicant: not found

emlslxl 2016-06-17 10:30:59
原来的开发板文件系统中在/sbin/目录下有wpa_supplicant,版本2.2。所以现在移植一个新的2.2版本的wpa_supplicant,按照提示和网上的移植例程移植很顺利,将生成的wpa_passphrase/wpa_supplicant/wpa_cli拷贝到开发板的/sbin/目录下,执行的时候提示-sh: ./wpa_supplicant: not found。
如图所示:
不明白原因,网上也没找到答案,可能是一个比较低级的错误,哪位大侠指点一下啊
...全文
2458 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
lbaihao 2016-08-27
  • 打赏
  • 举报
回复
缺少相应的库文件
fly 100% 2016-07-01
  • 打赏
  • 举报
回复
wpa也要同一个编译器
zhaozhen2004 2016-06-30
  • 打赏
  • 举报
回复
用的编译器和开发板是一样的?
Snow_Leaf 2016-06-25
  • 打赏
  • 举报
回复
readelf --header 看看这个选项是不是一样 Requesting program interpreter
emlslxl 2016-06-17
  • 打赏
  • 举报
回复
有说和动态库相关的

emlslxl 2016-06-17
  • 打赏
  • 举报
回复
wpa_supplicant_bak 是开发板原有的,可执行。 file wpa_supplicant: 提示:wpa_supplicant: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=12b7223e766cf8c4ea0a85299c7f270851980b38, not stripped file wpa_supplicant_bak: 提示:wpa_supplicant_bak: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, stripped
全志R16平台编译linux系统V1.0.txt 2017/4/11 13:36 (编译请使用编译android的lichee的选项编译生成的.config文件,不然直接编译会报错!!!!) rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ tar zxvf lichee_parrotv1.1_20161202.tar.gz rootroot@cm-System-Product-Name:/home/wwt/linux_r16$ cd lichee/ rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh config Welcome to mkscript setup progress All available chips: 0. sun8iw5p1 Choice: 0 All available platforms: 0. android 1. dragonboard 2. linux 3. tina Choice: 2 All available kernel: 0. linux-3.4 Choice: 0 All available boards: 0. bell-one 1. evb 2. evb-20 3. evb-30 4. evb-rtl8723bs 5. sc3813r Choice: 3 rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ ./build.sh 错误1: KCONFIG_AUTOCONFIG=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/tristate.config BUILDROOT_CONFIG=/home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/.config /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/conf --silentoldconfig Config.in # # make dependencies written to .auto.deps # ATTENTION buildroot devels! # See top of this file before playing with this auto-preprequisites! # make[1]:正在离开目录 `/home/wwt/linux_r16/lichee/buildroot' You must install 'makeinfo' on your build machine makeinfo is usually part of the texinfo package in your distribution make: *** [dependencies] 错误 1 make:离开目录“/home/wwt/linux_r16/lichee/buildroot” ERROR: build buildroot Failed rootroot@cm-System-Product-Name:/home/wwt/linux_r16/lichee$ d/buildroot-config/conf.o /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buildroot/build/buildroot-config/zconf.tab.o -o /home/wwt/linux_r16/lichee/out/sun8iw5p1/linux/common/buil

1,319

社区成员

发帖
与我相关
我的任务
社区描述
主要是开发驱动技术
社区管理员
  • 驱动程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧