error: redefinition of 'struct iphdr'
来源:互联网 发布:unity3d广州培训多少钱 编辑:程序博客网 时间:2024/06/09 23:54
编译Busybox产生的一个错误:
error: redefinition of 'struct iphdr'
make[1]: *** [networking/libiproute/iptunnel.o] 错误 1
make: *** [networking/libiproute] 错误 2
You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.
struct iphder 的重定义,
根据该错误提示可知错误有关Network 设置。
根本解决是去掉了Network中的
Networking Utilities --->ip tunnel
ip tunel 的解释是
Tunneling means encapsulating data of one protocol type within
another protocol and sending it over a channel that understands the
encapsulating protocol. This particular tunneling driver implements
encapsulation of IP within IP, which sounds kind of pointless, but
can be useful if you want to make your (or some other) machine
appear on a different network than it physically is, or to use
mobile-IP facilities (allowing laptops to seamlessly move between
networks without changing their IP addresses).
Saying Y to this option will produce two modules ( = code which can
be inserted in and removed from the running kernel whenever you
want). Most people won't need this and can say N.
Symbol: NET_IPIP [=n]
Prompt: IP: tunneling
Defined at net/ipv4/Kconfig:201
翻译大概是:
IP隧道
隧道是指在一种协议中用另一种协议来封装数据,并且将数据
通过一个可以理解该种封装协议的通道。
这种特殊的驱动程序实现隧道
在IP的IP封装,这听起来是一种无意义的做法,但
可能是有用的,如果你想使你的(或其他)机
出现在不同的网络上,或使用移动IP的设施(允许笔记本电脑之间的无缝移
网络不用改变其IP地址)。
对此选项选择Y会产生两个模块(代码 可以在你希望的时候
插在从正在运行的内核中,也可以被移除)。 大多数人不需要这个,可以选择N
符号:NET_IPIP [= n]
提示:IP:隧道
已定义在net/ipv4/Kconfig:201
这大概是关于IP 通道的设置,可以对Ip 根据一定的协议进行封装,实现移动IP 设施的无缝移动,
不过不是必须的,所以此选项可不选。
- error: redefinition of 'struct iphdr'
- redefinition of 'struct iphdr'
- error: redefinition of
- error: redefinition of ‘struct ifmap’ 和 redefinition of ‘struct ifreq’(linux/if.h和net/if.h重复定义的解决)
- C++ ERROR redefinition of ‘class ***’
- C++ ERROR redefinition of ‘class ***’
- C++ ERROR redefinition of ‘class ***’
- error redefinition of 'xxx' 问题解决
- error C2011: 'fd_set' : 'struct' type redefinition问题
- error C2011: '_INTERFACE_INFO' : 'struct' type redefinition
- error C2011: 'fd_set' : 'struct' type redefinition 。。。
- error C2011: 'ip_mreq' : 'struct' type redefinition
- redefinition of `struct in6_addr' 的解决办法
- redefinition of ‘struct' 报错的解决办法
- c语言 error redefinition of 'xxx' 解决
- error: redefinition of ‘xxx’问题的解决
- struct--iphdr -- IP头部
- struct--iphdr -- IP头部
- 程序猿的日常-10
- 一张图让你彻底搞清Android线程间通信机制
- LuceneDemo类的演示案例:建立索引、建立搜索,另外建立一个测试类TestLucene(用到JUnit)
- 使用SDL_Surface显示BMP位图
- Java学习之关键字this的学习
- error: redefinition of 'struct iphdr'
- 在win7下安装ubuntu
- 【LeetCode】【C++】Maximal Rectangle
- 嵌入式行业的一些建议
- 第一周项目4 图书馆的书
- Jq之animate
- 软件模块和领域概念
- 数据库中视图的作用
- 基于WiFi定位的签到系统(2)--GPS、A-GPS、RFID、WiFi定位的比较