Navigation

    全志在线开发者论坛

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

    编译D1-H包时报错#### make failed to build some targets (1 seconds) ####

    MR Series
    4
    10
    3523
    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.
    • B
      BOY666 LV 3 last edited by

      source build/envsetup.sh
      lunch
      make -j32
      pack

      求助:按照手册执行以上命令,执行到 make -j32时报错,报错信息如下:

      ===This's tina environment.===
      no need rebuild boot0, the newest file is:
      1669684857.9999551150 2022年11月29日 星期二 09时20分57秒 /home/allwinner/tina-D1-H/lichee/brandy-2.0/spl/nboot/libsun20iw1p1_spinor.o
      no need rebuild uboot, the newest file is:
      1669732423.1330536720 2022年11月29日 星期二 22时33分43秒 /home/allwinner/tina-D1-H/lichee/brandy-2.0/u-boot-2018/u-boot.cfg.configs
      === Start build scp.bin ===
      Platform d1-h Skip marisc.
      [2] 11153
      rm: cannot remove 'tmp/.host.mk': Permission denied
      make[2]: *** [out/host/.prereq-build] Error 1
      make[1]: *** [prepare-tmpinfo] Error 2
      make: *** [world] Error 2
      [2]+ Done $T/tools/build/buildserver --path $T 2> /dev/null 1>&2

      make failed to build some targets (1 seconds)

      查找相似问题(rm: cannot remove 'tmp/.host.mk': Permission denied )的解决方法是给/tina-D1-H赋予777权限,但并未解决。

      另:编译D1-H包时出现的各种问题时应如何google(我在搜索以上报错的[2] 11153时并未得到答案,但他看起来很像是错误号)或查阅什么手册?或许此类问题要凭经验解决?

      C L 2 Replies Last reply Reply Quote Share 0
      • C
        chengwei_peng LV 6 @BOY666 last edited by

        @boy666 好像是没有删除权限,试试sudo?

        B 1 Reply Last reply Reply Quote Share 0
        • B
          BOY666 LV 3 @chengwei_peng last edited by

          @chengwei_peng 试过了,还是不行,sudo执行报错如下:

          allwinner@allwinner-VirtualBox:~/tina-D1-H$ sudo make -j32
          [sudo] password for allwinner: Prerequisite check failed. Use FORCE=1 to override. make[2]: *** [out/host/.prereq-build] Error 1 make[1]: *** [prepare-tmpinfo] Error 2 make: *** [world] Error 2

          C 1 Reply Last reply Reply Quote Share 0
          • C
            chengwei_peng LV 6 @BOY666 last edited by

            @boy666 sudo make -j32 FORCE=1 试试

            B 1 Reply Last reply Reply Quote Share 0
            • B
              BOY666 LV 3 @chengwei_peng last edited by

              @chengwei_peng 感谢回复,但我试了sudo make -j32 FORCE=1还是不行,报错信息如下:

              allwinner@allwinner-VirtualBox:~/tina-D1-H$ sudo make -j32 FORCE=1
              Prerequisite check failed. Use FORCE=1 to override. make[2]: *** [out/host/.prereq-build] Error 1 make[1]: *** [prepare-tmpinfo] Error 2 make: *** [world] Error 2

              另:我用的是手册提供的虚拟机固件:可编译Tina的Oraclr VM VirtualBox Ubuntu14.04虚拟机。导入该虚拟机后是否还需额外的环境配置?

              C 1 Reply Last reply Reply Quote Share 0
              • C
                chengwei_peng LV 6 @BOY666 last edited by

                @boy666 只能找之前提供这个虚拟机给你的人确认了,无能为力

                B 1 Reply Last reply Reply Quote Share 0
                • B
                  BOY666 LV 3 @chengwei_peng last edited by

                  @chengwei_peng 好吧,感谢回复

                  C 1 Reply Last reply Reply Quote Share 0
                  • xiaowenge
                    DOT小文哥 LV 8 last edited by

                    这个虚拟机是AWOL在线文档里带的,该配的都配好了,挺多人用过的,按道理没啥问题啊

                    1 Reply Last reply Reply Quote Share 0
                    • C
                      chengwei_peng LV 6 @BOY666 last edited by

                      @boy666 试试下面的操作:
                      ./scripts/feeds update -a

                      ./scripts/feeds install -a

                      1 Reply Last reply Reply Quote Share 0
                      • L
                        lgkgkfg LV 6 @BOY666 last edited by

                        @boy666 。估计你代码里面有root权限覆盖过,export FORCE_UNSAFE_CONFIGURE=1,然后切换root编译

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

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

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