问题描述
我正在尝试使用 crosstool-ng 构建工具链。但是,我在执行构建操作时收到此错误。
Retrieving 'libelf-0.8.13'
[ERROR] libelf: download failed
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_Abort[scripts/functions@487]
[ERROR] >> called from: CT_DoFetch[scripts/functions@2103]
[ERROR] >> called from: CT_PackageRun[scripts/functions@2063]
[ERROR] >> called from: CT_Fetch[scripts/functions@2174]
[ERROR] >> called from: do_libelf_get[scripts/build/companion_libs/200-libelf.sh@12]
[ERROR] >> called from: do_companion_libs_get[scripts/build/companion_libs.sh@15]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@648]
[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] >> https://crosstool-ng.github.io/docs/known-issues/
[ERROR] >>
[ERROR] >> If you feel this is a bug in crosstool-NG,report it at:
[ERROR] >> https://github.com/crosstool-ng/crosstool-ng/issues/
[ERROR] >>
[ERROR] >> Make sure your report includes all the information pertinent to this issue.
[ERROR] >> Read the bug reporting guidelines here:
[ERROR] >> http://crosstool-ng.github.io/support/
[ERROR]
[ERROR] (elapsed: 2:19.55)
[02:22] / make: *** [build] Error 1
据我所知,这是因为下载 libelf-0.8.13 的链接不再存在。 因此,在 libelf.in 文件中,我已将链接更改为存在 libelf-0.8.13 以供下载的链接,但我仍然遇到相同的错误。
我可以通过取消选中 menuconfig 中的调试选项来覆盖它,使用它我已经成功构建了一个工具链,但是,我认为缺少 libelf 会导致稍后使用工具链时出现问题。
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)