|
【Linux】
编译UBOOT报下面的错是什么原因呢
发表于 2021-10-9 09:05:09
浏览:5507
|
回复:0
打印
只看该作者
[复制链接]
楼主
@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[1]: *** [u-boot.cfg] Error 1
make[1]: *** Waiting for unfinished jobs....
scripts/Makefile.autoconf:50: recipe for target 'include/autoconf.mk.dep' failed
make[1]: *** [include/autoconf.mk.dep] Error 1
scripts/Makefile.autoconf:86: recipe for target 'tpl/u-boot.cfg' failed
make[1]: *** [tpl/u-boot.cfg] Error 1
cc1: all warnings being treated as errors
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.
|
|