zoukankan      html  css  js  c++  java
  • 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: *** [busybox_unstripped] Error 1
    
    修改 networking/libiproute/iptunnel.c
    #include <asm/types.h>
    # 後面加上
    #include <asm/byteorder.h>
     
  • 相关阅读:
    对老师的评价以及课程建议
    每日日报
    每日日报
    每日日报
    每日日报
    每日日报
    每日日报
    每日日报
    关于matlab使用medfilt2报错
    Matlab中hold on与hold off的用法
  • 原文地址:https://www.cnblogs.com/luster/p/3014768.html
Copyright © 2011-2022 走看看