导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    R11的uboot编译报错问题

    A Series
    2
    2
    1215
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • L
      one001 LV 4 最后由 编辑

      在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 条回复 最后回复 回复 引用 分享 0
      • WhycanService
        WhycanService LV 8 最后由 编辑

        /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 条回复 最后回复 回复 引用 分享 0
        • 1 / 1
        • First post
          Last post

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

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