私はこのガイドに従っています:https://wiki.archlinux.org/index.php/Orange_Pi
このコマンドでエラーが発生します。$ make -j4 ARCH=arm CROSS_COMPILE=arm-none-eabi-
エラーは次のとおりです。
make: arm-none-eabi-gcc: Command not found
/bin/sh: 1: arm-none-eabi-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
CFG u-boot.cfg
/bin/sh: 1: arm-none-eabi-gcc: not found
GEN include/autoconf.mk.dep
/bin/sh: 1: arm-none-eabi-gcc: not found
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make[1]: *** [u-boot.cfg] Error 1
make[1]: *** Waiting for unfinished jobs....
scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
CFG spl/u-boot.cfg
make[1]: *** [include/autoconf.mk.dep] Error 1
/bin/sh: 1: arm-none-eabi-gcc: not found
scripts/Makefile.autoconf:82: recipe for target 'spl/u-boot.cfg' failed
make[1]: *** [spl/u-boot.cfg] Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'. Stop.
私の考えでは、arm-none-eabi-gccが私のシステムにインストールされていないためですが、コマンドを入力するとそのsudo apt-get install arm-none-eabi-gcc
パッケージがないというエラーが発生します。
ベストアンサー1
Debianとその派生物で探しているパッケージは次のとおりですgcc-arm-none-eabi
。
apt install gcc-arm-none-eabi
後でそれを直接見つけるには、をインストールしてapt-file
インデックスを更新し、それを使用してコマンドを検索します。
apt install apt-file
apt-file update
apt-file search bin/arm-none-eabi-gcc