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

来源:互联网 发布:选择打印机端口 怎么选 编辑:程序博客网 时间:2024/05/24 04:18

编译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项不选即可解决问题
原创粉丝点击