九鼎创展论坛中文版English
登录 | 立即注册 设为首页收藏本站 切换到宽版
查看: 3529|回复: 0
打印 上一主题 下一主题

wireless_tools编译出错

[复制链接]
跳转到指定楼层
楼主
发表于 2012-7-19 12:12:20 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
编译wireless工具,弹出如下错误:
[root@lqm wireless_tools.29]# make
/opt/freescale/usr/local/arm-eabi-4.4.0/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:
iwlib.h:20:23: error: sys/types.h: No such file or directory
iwlib.h:21:23: error: sys/ioctl.h: No such file or directory
iwlib.h:22:19: error: stdio.h: No such file or directory
iwlib.h:23:18: error: math.h: No such file or directory
iwlib.h:24:19: error: errno.h: No such file or directory
iwlib.h:25:19: error: fcntl.h: No such file or directory
iwlib.h:26:19: error: ctype.h: No such file or directory
iwlib.h:27:20: error: stdlib.h: No such file or directory
iwlib.h:28:20: error: string.h: No such file or directory
iwlib.h:29:20: error: unistd.h: No such file or directory
iwlib.h:30:54: error: netdb.h: No such file or directory
iwlib.h:31:50: error: net/ethernet.h: No such file or directory
iwlib.h:32:44: error: sys/time.h: No such file or directory
iwlib.h:43:48: error: net/if_arp.h: No such file or directory
iwlib.h:44:61: error: sys/socket.h: No such file or directory
iwlib.h:45:61: error: netinet/in.h: No such file or directory
iwlib.h:46:30: error: netinet/if_ether.h: No such file or directory
iwlib.h:54:53: error: linux/types.h: No such file
这是交叉编译工具的安装问题,换用其他的完整版的交叉编译工具可解决问题。

回复

使用道具 举报

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

本版积分规则

QQ|手机版|小黑屋|深圳市九鼎创展科技官方论坛 ( 粤ICP备11028681号-2  

GMT+8, 2024-5-8 07:21 , Processed in 0.017598 second(s), 17 queries .

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表