安装 Xtensa-lx106 GNU 工具链时出错
Error during Install Xtensa-lx106 GNU toolchain
我正在尝试为 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
我该怎么办?我怎么活下去? 预先感谢您的回答。
函数 do_mpc_get() 正在尝试从不可用的资源下载 MPC tarball。您可以尝试在脚本上编辑此功能
scripts/build/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