这是我的构建日志:
[ERROR]
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing C library headers & start files'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@172]
[ERROR] >> called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@347]
[ERROR] >> called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR] >> called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@598]
[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] >> '/usr/local/powerpc-eabi/share/doc/crosstool-ng/ct-ng.1.15.2/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 29:41.80)
我想在交叉编译后构建一个应该在 32 位机器上运行的内核。我正在 amd64 位和 32 位 Ubuntu 操作系统上工作。我的 crosstool 配置文件应该是什么才能让它工作?
答案1
“安装 C 库头文件和启动文件”时失败。我的猜测是,您没有权限访问构建尝试将某些内容复制到的任何位置。