Firefly开源社区

打印 上一主题 下一主题

[应用开发] wireless_tools.29编译失败

101

积分

0

威望

0

贡献

技术小白

积分
101

wireless_tools.29编译失败

发表于 2018-5-29 22:29:00      浏览:4833 | 回复:0        打印      只看该作者   [复制链接] 楼主
网上下载了一个wireless_tools.29源码包,修改了根目录下的makefile的编译工具如下:
CC = /home/ln/workplace/firefly/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc
## Other tools you need to modify for cross compile (static lib only).
AR = /home/ln/workplace/firefly/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-ar
RANLIB = /home/ln/workplace/firefly/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-ranlib
用的SDK里的编译工具链,而且是绝对路径,编译的时候出现了找不到头文件的错误,如下图:
root@machine:/home/ln/workplace/firefly/wireless_tools.29# make
/home/ln/workplace/firefly/prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/bin/arm-eabi-gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD     -fPIC -c -o iwlib.so iwlib.c
In file included from iwlib.c:14:0:
iwlib.h:20:23: fatal error: sys/types.h: No such file or directory
compilation terminated.
make: *** [iwlib.so] Error 1
求大神解惑
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表