天嵌 ARM开发社区

 找回密码
 注册
查看: 1469|回复: 3

busybox-1.13.0编译通不过

[复制链接]
小胖子 发表于 2010-7-13 15:07:36 | 显示全部楼层 |阅读模式
这是《step by step》的step10,配置时都是按照教材操作的,最后在Linux系统里面使用命令
#make;make install,产生以下错误提示:
   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
  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

    请问这个问题怎么解决?如果这里不通过,以下的事情都无法进行了,请大家帮帮忙呀!
亚瑟王 发表于 2010-7-14 20:00:07 | 显示全部楼层
论坛里面有解决方法,你搜索一下论坛就可以获取到答案了。
justahu 发表于 2010-8-24 16:30:30 | 显示全部楼层
把struct iphdr 改为struct ip_hdr

编译可以通过的
justahu 发表于 2010-8-24 16:32:27 | 显示全部楼层
redefinition重定义了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号-2 )

GMT+8, 2024-9-19 15:52 , Processed in 1.012734 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表