代码之家  ›  专栏  ›  技术社区  ›  Johnny Da Costa

无法使用crosstool ng构建ARM交叉编译器

  •  2
  • Johnny Da Costa  · 技术社区  · 7 年前

    我正在做一个从自由电子到构建交叉编译工具链的实验室 但当我运行build命令时,它在下载东西后不久就失败了。。。

    我的东西:徐邦图14.04.3 | crosstool-ng-1.19.0

    当我跑步的时候/ct ng构建

    [DEBUG]    Entering '/home/thibaut/felabs/sysdev/toolchain/crosstool-ng-1.19.0/.build/src/mpfr-2.4.2'
    [DEBUG]    Running autoreconf
    [DEBUG]    ==> Executing: 'autoreconf' 
    [ALL  ]    aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
    [ERROR]    configure.in:294: error: automatic de-ANSI-fication support has been removed
    [ALL  ]    /usr/share/aclocal-1.14/obsolete.m4:26: AM_C_PROTOTYPES is expanded from...
    [ALL  ]    configure.in:294: the top level
    [ALL  ]    autom4te: /usr/bin/m4 failed with exit status: 1
    [ERROR]    aclocal: error: echo failed with exit status: 1
    [ALL  ]    autoreconf: aclocal failed with exit status: 1
    [ERROR]  
    [ERROR]  >>
    [ERROR]  >>  Build failed in step 'Extracting and patching toolchain components'
    [ERROR]  >>        called in step '(top-level)'
    [ERROR]  >>
    [ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
    [ERROR]  >>        called from: do_mpfr_extract[scripts/build/companion_libs/110-mpfr.sh@37]
    [ERROR]  >>        called from: do_companion_libs_extract[scripts/build/companion_libs.sh@22]
    [ERROR]  >>        called from: main[scripts/crosstool-NG.sh@600]
    [ERROR]  >>
    [ERROR]  >>  For more info on this error, look at the file: 'build.log'
    [ERROR]  >>  There is a list of known issues, some with workarounds, in:
    [ERROR]  >>      'docs/B - Known issues.txt'
    [ERROR]  
    [ERROR]  (elapsed: 0:03.97)
    
    2 回复  |  直到 7 年前
        1
  •  3
  •   Jérôme Pouiller    7 年前

    看起来的版本之间不兼容 mpfr 使用人: crosstool-ng 以及您的版本 autoconf . 我建议尝试更新版本的 交叉工具ng (2013年发布了1.19版)。

    如果你真的需要 交叉工具ng 1.19,您可以尝试编译 自动确认 来自“配套工具”的版本( EXPERIMENTAL 必须设置)。

    您还可以尝试安装另一个版本的autoconf。我相信Ubuntu 14.04提供了autoconf 2.13、2.59和2.68。你可以试试。

        2
  •  0
  •   Johnny Da Costa    7 年前

    解决方案 : 问题是我的mpfr版本。。。为了解决我配置的问题 ./-ct-ng menuconfig 我告诉他 重建此模块 . 它就在那一部分 配套库 .