编译EABI-4.3.3+busybox-1.13.0报错-重定义struct iphdr

编译EABI-4.3.3+busybox-1.13.0报错-重定义struct iphdr

本人使用RedHat9.0+EABI-4.3.3_EmbedSky_20091210+busybox-1.13.0报如下错误,请问应该如何解决?
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:*** Error 1
make:***Error 2

You will probably need to make your busybox binary
setuid root to ensure all configured applets will
work properly.

本人试过修改iptunnel.c,去掉里面ip.h的引用,可以编译通过,但不知是否正确。并且后来再也进不了Redhat9.0,不知是否与此修改有关呢?

carterlam 发表于 2010-2-25 17:49:42

配置内核时,Networking Utilities --->ip tunnel项不选即可解决问题
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值