Navigation

    全志在线开发者论坛

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

    WSL-ubuntu20.04 编译d1-h_nezha_tina 出错:satisfy_dependencies_for: Cannot satisfy the following dependencies for directfb-examples

    MR Series
    3
    11
    3349
    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.
    • Q
      qiao_sh_pudong LV 4 last edited by

      WSL2 ubuntu 20.04 环境下按照全志官方文档 tina linux 系统教程进行操作,使用 python2.6 版本进行编译,在编译 tina 的过程中,碰到如下问题:
      4eb49cb559beb02f2a80aa34507bf04.jpg最后的结果如下图:
      05a4c378aa1ca3efdac41e65e0529cf.jpg
      问题是否在于缺少依赖呢?

      Q 1 Reply Last reply Reply Quote Share 0
      • Y
        YterAA LV 7 last edited by

        前面的collect的error不是重点,那个只是因为平台差异不能使用的警告,实际的错误是no module name argprase,请使用python2.7以上版本

        Q 3 Replies Last reply Reply Quote Share 0
        • Q
          qiao_sh_pudong LV 4 @YterAA last edited by

          @yteraa 好的 我尝试一下

          1 Reply Last reply Reply Quote Share 0
          • Q
            qiao_sh_pudong LV 4 @YterAA last edited by

            @yteraa 感谢大神 python2.7 成功编译!!

            1 Reply Last reply Reply Quote Share 0
            • Q
              qiao_sh_pudong LV 4 @qiao_sh_pudong last edited by

              @qiao_sh_pudong
              1cfc7221-28ec-4920-90ad-c522c042c9da-image.png 编译成功。但是,4d7cdab8-2dcb-4d78-bbba-6b48f5d61826-image.png
              打包出现错误,不知道如何解决

              1 Reply Last reply Reply Quote Share 0
              • Q
                qiao_sh_pudong LV 4 @YterAA last edited by

                @yteraa 请问您知道 打包出错如何解决吗

                Y 1 Reply Last reply Reply Quote Share 0
                • Y
                  YterAA LV 7 @qiao_sh_pudong last edited by

                  @qiao_sh_pudong 缺这个文件,重新编译看看

                  Q 1 Reply Last reply Reply Quote Share 0
                  • Q
                    qiao_sh_pudong LV 4 @YterAA last edited by

                    @yteraa 重新编译了 也显示成功了 再次尝试打包还是一样的错误

                    1 Reply Last reply Reply Quote Share 0
                    • Y
                      YterAA LV 7 last edited by

                      看一下上面的报错

                      Q 1 Reply Last reply Reply Quote Share 0
                      • Q
                        qiao_sh_pudong LV 4 @YterAA last edited by

                        @yteraa
                        运行打包以后的所有输出
                        root@LAPTOP-BLAFSGB4:/home/qiao_sh_pudong/tina-d1-h# pack
                        --==========--
                        PACK_CHIP sun20iw1p1
                        PACK_PLATFORM tina
                        PACK_BOARD d1-h-nezha
                        PACK_KERN
                        PACK_DEBUG uart0
                        PACK_SIG none
                        PACK_SECURE none
                        PACK_MODE normal
                        PACK_FUNC android
                        PACK_PROGRAMMER none
                        PACK_TAR_IMAGE none
                        PACK_TOPDIR /home/qiao_sh_pudong/tina-d1-h
                        --==========--
                        No kernel param, parse it from d1-h
                        copying tools file
                        copying configs file
                        storage_type value is 5
                        rm /home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/sys_partition_nor.fex
                        rm /home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/image_nor.cfg
                        copying boot resource

                        LZMA 4.65 : Igor Pavlov : Public domain : 2009-02-03
                        copying boot file
                        make user resource for : /home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/sys_partition.fex
                        handle partition user-res
                        no user resource partitions
                        APP_PART_DOWNLOAD_FILE = /home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/app.fex
                        Need size of filesystem
                        no data resource partitions
                        don't build dtbo ...
                        update_chip
                        /home/qiao_sh_pudong/tina-d1-h/scripts/pack_img.sh: line 1354: /home/qiao_sh_pudong/tina-d1-h/out/host/bin/fsbuild: No such file or directory
                        pack boot package
                        GetPrivateProfileSection read to end
                        content_count=3
                        LICHEE_REDUNDANT_ENV_SIZE config in BoardConfig.mk
                        --mkenvimage create redundant env data!--
                        ---redundant env data size 0x20000---
                        packing for tina linux
                        normal
                        mbr count = 4

                        partitation file Path=/home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/sys_partition.bin
                        mbr_name file Path=/home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/sunxi_mbr.fex
                        download_name file Path=/home/qiao_sh_pudong/tina-d1-h/out/d1-h-nezha/image/dlinfo.fex

                        mbr size = 252
                        mbr magic softw411
                        disk name=boot-resource
                        ERROR: unable to open file boot-resource.fex
                        update_for_part_info -1
                        ERROR: update mbr file fail
                        ERROR: update_mbr failed

                        Q 1 Reply Last reply Reply Quote Share 0
                        • Q
                          qiao_sh_pudong LV 4 @qiao_sh_pudong last edited by xiaowenge

                          @qiao_sh_pudong
                          尝试
                          sudo apt update
                          sudo apt upgrade
                          sudo apt-get install build-essential subversion git-core libncurses5-dev zlib1g-dev gawk flex quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lib32z1 lib32z1-dev lib32stdc++6 libstdc++6 -y
                          重新进行编译,然后打包。
                          d17d6ce5-3f13-48a7-abce-ee098511b682-image.png
                          打包成功

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

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

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