安装Xtensa-lx106 GNU工具链时出错

时间:2018-04-06 18:54:32

标签: esp8266 kaa

我正在尝试为ESP8266安装SDK以便与kaa一起使用。 我正在使用本指南 https://docs.kaaproject.org/display/KAA/ESP8266 但是在舞台上

./ct-ng xtensa-lx106-elf
./ct-ng build

我收到了错误

[INFO ]  Performing some trivial sanity checks
[INFO ]  Build started 20180406.213426
[INFO ]  Building environment variables
[INFO ]  =================================================================
[INFO ]  Retrieving needed toolchain components' tarballs
[ERROR]   
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: do_mpc_get[scripts/build/companion_libs/140-mpc.sh@741]
[ERROR]  >>        called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@583]
[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]  >>      'share/doc/crosstool-ng/ct-ng.1.20.0/B - Known issues.txt'
[ERROR]   
[ERROR]  (elapsed: 0:07.12)
[00:08] / make: *** [build] Помилка 1

我该怎么办?我怎么能活下去? 提前感谢您的回答。

1 个答案:

答案 0 :(得分:0)

函数do_mpc_get()正在尝试从不可用的资源下载MPC tarball。您可以尝试在脚本

上编辑此功能
  

脚本/建造/ companion_libs / 140-mpc.sh

并改为使用以下行:

do_mpc_get() {
CT_GetFile "mpc-${CT_MPC_VERSION}" .tar.gz      \
    https://ftp.gnu.org/gnu/mpc
}

如果错误仍然存​​在且所需的tarball仍然缺失,您可以手动下载并将它们放在tarball目录中,然后继续构建。

  

/crosstool-NG/.build/tarballs