Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    R11的uboot编译报错问题

    A Series
    2
    2
    1161
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      one001 LV 4 last edited by

      在tina目录下执行source build/envsetup.sh && lunch 19,然后执行muboot进行uboot编译,但是直接报错了,如下是报错信息:

      banjo_R11_pref1 banjo banjo-R11_pref1
      awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }' boards.cfg > .boards.depend
      Configuring for sun8iw8p1 board...
      Generating include/autoconf.mk
      /home/work/R11/tina/lichee/brandy/gcc-linaro/bin/../libexec/gcc/arm-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
      Generating include/autoconf.mk.dep
      /home/work/R11/tina/lichee/brandy/gcc-linaro/bin/../libexec/gcc/arm-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
      /home/work/R11/tina/lichee/brandy/u-boot-2011.09/../gcc-linaro/bin/arm-linux-gnueabi-ld: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
      /home/work/R11/tina/lichee/brandy/u-boot-2011.09/../gcc-linaro/bin/arm-linux-gnueabi-gcc -DDO_DEPS_ONLY \
              -g  -Os   -fno-common -ffixed-r8 -msoft-float   -D__KERNEL__ -I/home/work/R11/tina/lichee/brandy/u-boot-2011.09/include -I/home/work/R11/tina/lichee/brandy/u-boot-2011.09/include/openssl -fno-builtin -ffreestanding -nostdinc -isystem /home/work/R11/tina/lichee/brandy/gcc-linaro/bin/../lib/gcc/arm-linux-gnueabi/4.6.3/include -pipe  -DCONFIG_ARM -D__ARM__ -mfpu=neon -D__NEON_SIMD__         -mcpu=cortex-a7 -Werror -Wall -Wstrict-prototypes      \
              -o lib/asm-offsets.s lib/asm-offsets.c -c -S
      /home/work/R11/tina/lichee/brandy/gcc-linaro/bin/../libexec/gcc/arm-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
      Makefile:677: recipe for target 'lib/asm-offsets.s' failed
      make: *** [lib/asm-offsets.s] Error 1
      muboot stop for build error in brandy, Please check!
      
      

      有人遇到过吗,不知道怎么解决。

      1 Reply Last reply Reply Quote Share 0
      • WhycanService
        WhycanService LV 8 last edited by

        /libexec/gcc/arm-linux-gnueabi/4.6.3/cc1: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory

        感觉是不是系统太新了,Ubuntu 14.04可以吗

        1 Reply Last reply Reply Quote Share 0
        • 1 / 1
        • First post
          Last post

        Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

        行为准则 | 用户协议 | 隐私权政策