我正在尝试安装用于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我该怎么办?我怎么能活下去?提前谢谢你的回答。
发布于 2018-04-18 16:22:06
函数do_mpc_get()试图从不可用的资源下载MPC tarball。您可以尝试在脚本上编辑此函数。
脚本/构建/伙伴_libs/140-mpc.sh
并使用以下代码行:
do_mpc_get() {
CT_GetFile "mpc-${CT_MPC_VERSION}" .tar.gz \
https://ftp.gnu.org/gnu/mpc
}如果错误持续存在,所需的tarball仍然丢失,您可以手动下载它,并将它们放在tarball目录中,然后继续构建。
/交叉台-NG/..build/tarball
https://stackoverflow.com/questions/49699386
复制相似问题