最近移植linux到TQ2440板上,在移植yaffs系统时需要先编译好一个busybox,按着移植手册上的步骤操作,在编译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] Error 1
make:***[networking/libiproute]Error 2
在论坛上找到答案
配置内核时,Networking Utilities --->ip tunnel项不选即可解决问题