13777842522 发表于 2021-10-9 09:05:09

编译UBOOT报下面的错是什么原因呢

@acer-vm:~/rk3399_linux_release_v2.5.1_20210301/u-boot$ make roc-rk3399-pc_defconfig
#
# configuration written to .config
#
acer@acer-vm:~/rk3399_linux_release_v2.5.1_20210301/u-boot$ make ARCHV=aarch64 -j8
scripts/kconfig/conf--silentoldconfig Kconfig
CHK   include/config.h
UPD   include/config.h
CFG   u-boot.cfg
GEN   include/autoconf.mk.dep
CFG   spl/u-boot.cfg
CFG   tpl/u-boot.cfg
cc1: error: unknown register name: x18 [-Werror]
cc1: error: unknown register name: x18 [-Werror]
cc1: error: unknown register name: x18 [-Werror]
cc1: error: unknown register name: x18 [-Werror]
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
cc1: all warnings being treated as errors
scripts/Makefile.autoconf:79: recipe for target 'u-boot.cfg' failed
make: *** Error 1
make: *** Waiting for unfinished jobs....
scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
make: *** Error 1
scripts/Makefile.autoconf:86: recipe for target 'tpl/u-boot.cfg' failed
make: *** Error 1
cc1: all warnings being treated as errors
scripts/Makefile.autoconf:82: recipe for target 'spl/u-boot.cfg' failed
make: *** Error 1
make: *** No rule to make target 'include/config/auto.conf', needed by 'include/config/uboot.release'.Stop.
页: [1]
查看完整版本: 编译UBOOT报下面的错是什么原因呢