linux - 在步骤 'Retrieving needed toolchain components' tarball 中构建失败

标签 linux ffmpeg raspberry-pi cross-compiling crosstool-ng

我尝试在我的树莓派中构建 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 天时间。

最佳答案

Raspbian 实际上是 Debian。如果你在你的主机上安装相同的版本(7 或 8),那么你可以通过 Emdebian 获得一个工具链。 .看这个wiki更多细节。示例:

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

通过 xapt 为交叉编译安装缺少的依赖项。

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

.

关于linux - 在步骤 'Retrieving needed toolchain components' tarball 中构建失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22360870/

相关文章:

ruby - 试图删除在 Centos 中 protected yum

linux - 在 linux 中为 libudev 添加信息到设备

linux - 在 Raspbian/etc/profile 脚本中找不到命令

linux - 通过同一IP访问不同的Raspberry/BeagleBones(不同时插)

linux - 需要检查文件是否存在?

linux - awk 在同一行打印两个变量

html - 如何在 WebRTC 中使用 FFmpeg H264 编码器?

ffmpeg - 使用 ffmpeg 如何将 dv pal 格式转换为 mp4 而不会出现隔行扫描问题?

ruby-on-rails - 事件存储视频的 Rails 预览不起作用

python - MPU6050中I2C工作频率与采样率设置的关系