在“检索所需的工具链组件”tarball中构建失败

问题描述 投票:0回答:1

我尝试在我的覆盆子pi中制作crosstool,我遵循的程序来自How to compile FFmpeg for Raspberry Pi (Raspbian)。当我完成ct-ng build(花了很长时间)时,发生了一个错误。它表明,Build failed in step 'Retrieving needed toolchain components' tarballs called in step '{top-level}'

这是我从build.log复制的错误。

[ERROR]  
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Retrieving needed toolchain components' tarballs'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: do_kernel_get[scripts/build/kernel/linux.sh@735]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@576]
[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]  >>      '/opt/cross/share/doc/crosstool-ng/ct-ng.1.19.0/B - Known issues.txt'
[ERROR] 

我怎么解决这个问题?请帮助我,我已经浪费了2天就可以了。

linux ffmpeg raspberry-pi cross-compiling crosstool-ng
1个回答
2
投票

Raspbian实际上是Debian。如果您在主机上安装相同的版本(7或8),那么您可以通过Emdebian获得工具链。有关详细信息,请参阅此wiki。例:

apt-get install g++-4.4-arm-linux-gnueabi

通过xapt,您可以安装缺少的依赖项以进行交叉编译。

替代方法是使用Buildroot。一方面BR也有ct-ng后端,另一方面你可以用它创建一个完整的根文件系统。 BR还提供ffmpeg包。

.

© www.soinside.com 2019 - 2024. All rights reserved.