wireless_tools编译出错

编译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 

这是交叉编译工具的安装问题,换用其他的完整版的交叉编译工具可解决问题。

你可能感兴趣的:(android开发)