weif40423p 发表于 2011-11-18 15:40:04

busybox编译错误解决方法

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: *** Error 1




修改 networking/libiproute/iptunnel.c
#include <asm/types.h>
# 後面加上
#include <asm/byteorder.h>
页: [1]
查看完整版本: busybox编译错误解决方法