您的位置:首页 > 其它

busybox编译错误解决方法

2012-12-02 19:39 330 查看
networking/libiproute/lib.a(iptunnel.o): In function `parse_args':

iptunnel.c:(.text.parse_args+0x13c): undefined reference to `__cpu_to_be16'

iptunnel.c:(.text.parse_args+0x154): undefined reference to `__cpu_to_be16'

iptunnel.c:(.text.parse_args+0x1ec): undefined reference to `__cpu_to_be16'

iptunnel.c:(.text.parse_args+0x284): undefined reference to `__cpu_to_be16'

iptunnel.c:(.text.parse_args+0x2fc): undefined reference to `__cpu_to_be16'

networking/libiproute/lib.a(iptunnel.o):iptunnel.c:(.text.parse_args+0x338): more undefined references to `__cpu_to_be16' follow

collect2: ld returned 1 exit status

make: *** [busybox_unstripped] Error 1

修改 networking/libiproute/iptunnel.c

#include <asm/types.h>

# 後面加上

#include <asm/byteorder.h>

====================================

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: