v853 mboot编译失败
-
xxxx@server:~/workspace/tina-v85x_1.1$ mboot v853_vision v853 v853-vision build_boot platform:sun8iw21p1 o_option:uboot grep: /home/data1/xxxx/workspace/tina-v85x_1.1/lichee/brandy-2.0/spl/Makefile: No such file or directory Prepare toolchain ... build for sun8iw21p1_defconfig ... cat: .tmp_config_from_defconfig.o.md5sum: No such file or directory md5sum: .config: No such file or directory CLEAN scripts/basic HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o YACC scripts/kconfig/zconf.tab.c /bin/sh: 1: bison: not found scripts/Makefile.lib:228: recipe for target 'scripts/kconfig/zconf.tab.c' failed make[1]: *** [scripts/kconfig/zconf.tab.c] Error 127 Makefile:547: recipe for target 'sun8iw21p1_defconfig' failed make: *** [sun8iw21p1_defconfig] Error 2 muboot stop for build error in brandy, Please check!
这是V1.1版本的SDK,不确定之前V1.0是否就有这个问题
-
@cruise33 这个是你服务器没安装好需要的包
试一下执行 sudo apt-get install bison,之后在make -
@daizebin 安装后可以编译了。
但报了新的问题arch/arm/cpu/armv7/built-in.o: In function `cleanup_before_linux_select': /home/data1/xxxx/workspace/tina-v853/lichee/brandy-2.0/u-boot-2018/arch/arm/cpu/armv7/cpu.c:43: undefined reference to `dcache_disable' /home/data1/xxxx/workspace/tina-v853/lichee/brandy-2.0/u-boot-2018/arch/arm/cpu/armv7/cpu.c:58: undefined reference to `icache_disable' /home/data1/xxxx/workspace/tina-v853/lichee/brandy-2.0/u-boot-2018/arch/arm/cpu/armv7/cpu.c:64: undefined reference to `icache_disable' /home/data1/xxxx/workspace/tina-v853/lichee/brandy-2.0/u-boot-2018/arch/arm/cpu/armv7/cpu.c:69: undefined reference to `icache_enable' arch/arm/mach-sunxi/built-in.o: In function `enable_caches': /home/data1/xxxx/workspace/tina-v853/lichee/brandy-2.0/u-boot-2018/arch/arm/mach-sunxi/board.c:170: undefined reference to `dcache_enable' cmd/built-in.o: In function `do_sprite_test': /home/data1/xxxx/workspace/tina-v853/lichee/brandy-2.0/u-boot-2018/cmd/sunxi_sprite.c:74: undefined reference to `dcache_disable' ./../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-ld.bfd: BFD (Linaro_Binutils-2017.11) 2.28.2.20170706 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/snapshots/binutils-gdb.git~users~linaro~binutils-2_28-branch/bfd/elf32-arm.c:9514 ./../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-ld.bfd: BFD (Linaro_Binutils-2017.11) 2.28.2.20170706 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/snapshots/binutils-gdb.git~users~linaro~binutils-2_28-branch/bfd/elf32-arm.c:9514 ./../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-ld.bfd: BFD (Linaro_Binutils-2017.11) 2.28.2.20170706 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/snapshots/binutils-gdb.git~users~linaro~binutils-2_28-branch/bfd/elf32-arm.c:9514 ./../tools/toolchain/gcc-linaro-7.2.1-2017.11-x86_64_arm-linux-gnueabi/bin/arm-linux-gnueabi-ld.bfd: BFD (Linaro_Binutils-2017.11) 2.28.2.20170706 assertion fail /home/tcwg-buildslave/workspace/tcwg-make-release/builder_arch/amd64/label/tcwg-x86_64-build/target/arm-linux-gnueabi/snapshots/binutils-gdb.git~users~linaro~binutils-2_28-branch/bfd/elf32-arm.c:9514 Makefile:1496: recipe for target 'u-boot' failed make: *** [u-boot] Error 1 muboot stop for build error in brandy, Please check!
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号