0
我正在嘗試爲樹莓派構建一個交叉編譯器。我正在使用crosstool-ng來構建這個編譯器。我正在關注這個鏈接以供參考。我已經完成了link中的所有配置。但是,當我試圖建立,我得到「CT_TARGET命令未找到」的錯誤。我試着用google搜索錯誤,但無法找到任何匹配結果。有人能幫我克服這個問題嗎?這是完整的構建輸出。crosstool-ng構建失敗:找不到CT_TARGET命令
/opt/cross/bin$ sudo ct-ng build
/opt/cross/bin/.config.2: line 30: CT_TARGET: command not found
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: source[/opt/cross/bin/[email protected]]
[ERROR] >> called from: main[scripts/[email protected]]
[ERROR] >>
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/opt/cross/share/doc/crosstool-ng/ct-ng.1.21.0/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 24087567:26.24)
make: *** [build] Error 127