busybox编译报错
2012-05-29 16:47
113 查看
报错信息:
arm-none-linux-gnueabi/libc/usr/include/linux/netfilter.h:56:17: error: field 'in' has incomplete type
../arm-none-linux-gnueabi/libc/usr/include/linux/netfilter.h:57:18: error: field 'in6' has incomplete type
原因:
我们下载的交叉编译库中有个头文件中的 in 及 in6 类型不对
解决办法:
在 .../arm-none-linux-gnueabi/libc/usr/include/linux/netfilter.h 的开头
添加缺少的头文件:
#include <netinet/in.h>
arm-none-linux-gnueabi/libc/usr/include/linux/netfilter.h:56:17: error: field 'in' has incomplete type
../arm-none-linux-gnueabi/libc/usr/include/linux/netfilter.h:57:18: error: field 'in6' has incomplete type
原因:
我们下载的交叉编译库中有个头文件中的 in 及 in6 类型不对
解决办法:
在 .../arm-none-linux-gnueabi/libc/usr/include/linux/netfilter.h 的开头
添加缺少的头文件:
#include <netinet/in.h>
相关文章推荐
- 基于Android Bionic 库动态编译busybox
- BUSYBOX编译备忘录
- 编译busybox
- Busybox编译及其yaffs2文件系制作
- 嵌入式开发六:busybox编译根文件系统的一些错误解决办法
- 解决:busybox编译 fatal error: curses.h: 没有那个文件或目录
- busybox动态编译静态编译的区别
- ubuntu11.04下编译busybox
- busybox编译问题
- linux编译busybox,uboot,kernel等常用到的命令及出现过的问题
- 编译busybox的组合
- 编译busybox1.12.1和uboot1.1.6
- busybox的配置编译
- 在Linux下为嵌入式Linux内核编译busybox
- 文件系统制作(cramfs,jffs2)及busybox编译
- 编译busybox的时候出现error: field 'in' has incomplete type
- CentOS下编译安装Busybox
- 第4阶段——制作根文件系统之编译配置安装busybox(3)
- 编译busybox 出错
- 手把手带你自制Linux系统之六 编译内核及busybox完成系统定制