我正在尝试为我的 Raspberry Pi 构建一个交叉编译器,以便最终ffmpeg
对其进行编译,我正在关注本教程。
配置 ct-ng 后,调用时nt-cg build
失败并打印以下内容:
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20150217.180740
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[ERROR] Could not retrieve 'cloog-ppl-0.15.10'.
[00:31] / make: *** [build] Error 1
看看build.log
我发现
...
[INFO ] Retrieving needed toolchain components' tarballs
[DEBUG] Already have 'linux-2.6.36'
[DEBUG] Already have 'gmp-5.0.1'
[DEBUG] Already have 'mpfr-3.0.0'
[DEBUG] Already have 'ppl-0.11'
[EXTRA] Retrieving 'cloog-ppl-0.15.10'
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.bz2'
[DEBUG] ==> Executing: 'curl -s --ftp-pasv -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.bz2 --connect-timeout 30 -L -f'
[DEBUG] ==> Executing: 'curl -s -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.bz2 --connect-timeout 30 -L -f'
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.gz'
[DEBUG] ==> Executing: 'curl -s --ftp-pasv -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.gz --connect-timeout 30 -L -f'
[DEBUG] ==> Executing: 'curl -s -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar.gz --connect-timeout 30 -L -f'
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tgz'
[DEBUG] ==> Executing: 'curl -s --ftp-pasv -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tgz --connect-timeout 30 -L -f'
[DEBUG] ==> Executing: 'curl -s -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tgz --connect-timeout 30 -L -f'
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar'
[DEBUG] ==> Executing: 'curl -s --ftp-pasv -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar --connect-timeout 30 -L -f'
[DEBUG] ==> Executing: 'curl -s -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10.tar --connect-timeout 30 -L -f'
[DEBUG] Trying 'ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10'
[DEBUG] ==> Executing: 'curl -s --ftp-pasv -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10 --connect-timeout 30 -L -f'
[DEBUG] ==> Executing: 'curl -s -O --retry 3 ftp://gcc.gnu.org/pub/gcc/infrastructure/cloog-ppl-0.15.10 --connect-timeout 30 -L -f'
[ERROR] Could not retrieve 'cloog-ppl-0.15.10'.
手动尝试获取文件似乎不起作用,因为它不可用(?)
我实际上已经整理了最新的克洛格但我不知道如何将 nt-cg 指向正确的方向。
任何帮助,将不胜感激。