redefinition of 'struct iphdr'
2014-06-10 20:07
435 查看
busybox 编译不过去,错误如下
CC networking/libiproute/iptunnel.o
In file included from /opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/if_tunnel.h:5,
from networking/libiproute/iptunnel.c:24:
/opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/ip.h:85: 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来此选项会产生两个模块(=代码,可
插在从正在运行的内核中删除每当你
希望的)。 大多数人不需要这个,可以说No
符号:NET_IPIP [= n]的
提示:IP:已定义的隧道在net/ipv4/Kconfig:201
这大概是关于IP 通道的设置,可以对Ip 根据一定的协议进行封装,实现移动IP 设施的无缝移动,
不过不是必须的,对于网络来说,所以此选项可不选。
CC networking/libiproute/iptunnel.o
In file included from /opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/if_tunnel.h:5,
from networking/libiproute/iptunnel.c:24:
/opt/EmbedSky/4.3.3/bin/../arm-none-linux-gnueabi/libc/usr/include/linux/ip.h:85: 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来此选项会产生两个模块(=代码,可
插在从正在运行的内核中删除每当你
希望的)。 大多数人不需要这个,可以说No
符号:NET_IPIP [= n]的
提示:IP:已定义的隧道在net/ipv4/Kconfig:201
这大概是关于IP 通道的设置,可以对Ip 根据一定的协议进行封装,实现移动IP 设施的无缝移动,
不过不是必须的,对于网络来说,所以此选项可不选。
相关文章推荐
- error: redefinition of 'struct iphdr'
- redefinition of `struct in6_addr' 的解决办法
- VC编译错误:'waveformat_tag' : 'struct' type redefinition
- error C2371: 'int8_t' : redefinition; different basic types;see declaration of 'int8_t'
- Sending 'ccColor4B' (aka 'struct _ccColor4B') to parameter of incompatible type 'CIColor *'
- error C2011: 'ip_mreq' : 'struct' type redefinition
- 简单的问题,用类创建一个对象error C2380: type(s) preceding 'Complex' (constructor with return type, or illegal redefinition of current class-n
- struct--iphdr sk_buff->tcphdr -- IP头部
- 如何解决Reachability中的Declaration of 'struct sockaddr_in' will not be visible outside of this function
- Declaration of 'struct sockaddr_in' will not be visible outside of this function警告的处理
- WinPcap编程错误:error C2079: 'IPAddress' uses undefined struct 'sockaddr_storage的解决办法
- left of '->GetStatus' must point to class/struct/union/generic type
- Declaration of 'struct sockaddr_in' will not be visible outside of this function警告的处理
- left of 'name' specifies undefined struct/union '$S1'
- 解决QT:forward declaration of 'struct Ui::xxx';invalid use of incomplete struct "Ui::Widget" 等莫名奇妙错误
- error C2011: 'fd_set' : 'struct' type redefinition 的原因(转)
- error C2011: 'fd_set' : 'struct' type redefinition 。。。
- forward declaration of 'struct WebCore:: 错误
- illegal use of incomplete struct/union/class 'CAknViewAppUi'
- error C2227: left of '->first' must point to class/struct/union