Navigation

    全志在线开发者论坛

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

    Tina T113 编译报错

    编译和烧写问题专区
    4
    5
    1657
    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
      lccaa LV 3 last edited by xiaowenge

      编译日志如下。sdk为repo拉下来的sdk。

      luo@luo-virtual-machine:~/tina_d1_open_v2$ source build/envsetup.sh 
      Setup env done! Please run lunch next.
      luo@luo-virtual-machine:~/tina_d1_open_v2$ lunch 
      
      You're building on Linux
      
      Lunch menu... pick a combo:
           1. d1-h_nezha_min-tina
           2. d1-h_nezha-tina
           3. d1s_nezha-tina
      
      Which would you like? [Default d1s_nezha]: 3
      ============================================
      TINA_BUILD_TOP=/home/luo/tina_d1_open_v2
      TINA_TARGET_ARCH=riscv
      TARGET_PRODUCT=d1s_nezha
      TARGET_PLATFORM=d1s
      TARGET_BOARD=d1s-nezha
      TARGET_PLAN=nezha
      TARGET_BUILD_VARIANT=tina
      TARGET_BUILD_TYPE=release
      TARGET_KERNEL_VERSION=5.4
      TARGET_UBOOT=u-boot-2018
      TARGET_CHIP=sun20iw1p1
      ============================================
      clean buildserver
      [1] 6333
      luo@luo-virtual-machine:~/tina_d1_open_v2$ make -j1 V=s
      ===This's tina environment.===
      d1s_nezha d1s d1s-nezha
      build_boot platform:sun20iw1p1 o_option:spl
      Prepare toolchain ...
      suport_board:d1s
      --------build for platform:sun20iw1p1 mode:all board:d1s-------------------
      platform set to sun20iw1p1
      /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/tools/generate_hash_header_file.sh > /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h.tmp
      if [ -r /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h ] && cmp -s /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h.tmp; then rm -f /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h.tmp; else echo '  UPD     /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h'; mv /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h.tmp /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h; fi
        UPD     /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/commit_info.h
      make -C /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/fes fes
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
        CHK     /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/config.h
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
        CHK     /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/autoconf.mk
        UPD     /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/autoconf.mk
        UPD     /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/include/config.h
      make -C /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      make -C /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/board/sun20iw1p1/
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      make -C /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/common/
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      missing operand
      Try 'dirname --help' for more information.
      dirname: missing operand
      Try 'dirname --help' for more information.
      dirname: missing operand
      Try 'dirname --help' for more information.
      make -C /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/drivers/
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: dirname: missing operand
      Try 'dirname --help' for more information.
      missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      dirname: missing operand
      Try 'dirname --help' for more information.
      make -C /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/fes/main/
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-ld: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      make[2]: *** No rule to make target '.depend', needed by 'all'.  Stop.
      Makefile:98: recipe for target '/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/libarch.o' failed
      make[1]: *** [/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/arch/riscv/cpu/riscv64/libarch.o] Error 2
      make[1]: *** Waiting for unfinished jobs....
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      make[2]: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: Command not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      missing operand
      Try 'dirname --help' for more information.
      dirname: missing operand
      Try 'dirname --help' for more information.
      /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/mk/config.mk:120: recipe for target 'board.o' failed
      make[2]: *** [board.o] Error 127
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      Makefile:98: recipe for target '/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/board/sun20iw1p1/libboard.o' failed
      make[1]: *** [/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/board/sun20iw1p1/libboard.o] Error 2
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      make[2]: *** No rule to make target '.depend', needed by 'all'.  Stop.
      Makefile:98: recipe for target '/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/fes/main/libmain.o' failed
      make[1]: *** [/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/fes/main/libmain.o] Error 2
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      make[2]: *** No rule to make target '.depend', needed by 'all'.  Stop.
      Makefile:98: recipe for target '/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/drivers/libdrivers.o' failed
      make[1]: *** [/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/drivers/libdrivers.o] Error 2
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 3: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      make[2]: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: Command not found
      /bin/sh: 1: /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/../tools/toolchain/riscv64-linux-x86_64-20200528/bin/riscv64-unknown-linux-gnu-gcc: not found
      dirname: missing operand
      Try 'dirname --help' for more information.
      /home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/mk/config.mk:120: recipe for target 'string.o' failed
      make[2]: *** [string.o] Error 127
      Makefile:98: recipe for target '/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/common/libcommon.o' failed
      make[1]: *** [/home/luo/tina_d1_open_v2/lichee/brandy-2.0/spl/common/libcommon.o] Error 2
      make[1]: *** wait: 没有子进程.  Stop.
      Makefile:175: recipe for target 'all' failed
      make: *** [all] Error 2
      mboot0 stop for build error in brandy, Please check!
      #### make boot0 failed!
      luo@luo-virtual-machine:~/tina_d1_open_v2$ find ./ -name riscv64-unknown-linux-gnu-gcc
      ./prebuilt/gcc/linux-x86/riscv/toolchain-thead-glibc/riscv64-glibc-gcc-thead_20200702/bin/riscv64-unknown-linux-gnu-gcc
      
      1 Reply Last reply Reply Quote Share 0
      • A
        awwwwa LV 8 last edited by

        Ubuntu 18.04?

        L 1 Reply Last reply Reply Quote Share 0
        • L
          lccaa LV 3 @awwwwa last edited by

          @awwwwa 对,解决了。下载下来的包需要把原本的工具链替换成官网下的。

          J V 2 Replies Last reply Reply Quote Share 2
          • J
            Johnohhh1 LV 3 @lccaa last edited by

            @lccaa saves the day!

            1 Reply Last reply Reply Quote Share 0
            • V
              vanity_pride LV 2 @lccaa last edited by

              @lccaa 老哥 什么意思 不太懂😵

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

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

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