WSL-ubuntu20.04 编译d1-h_nezha_tina 出错:satisfy_dependencies_for: Cannot satisfy the following dependencies for directfb-examples
-
WSL2 ubuntu 20.04 环境下按照全志官方文档 tina linux 系统教程进行操作,使用 python2.6 版本进行编译,在编译 tina 的过程中,碰到如下问题:
最后的结果如下图:
问题是否在于缺少依赖呢? -
前面的collect的error不是重点,那个只是因为平台差异不能使用的警告,实际的错误是no module name argprase,请使用python2.7以上版本
-
@yteraa 好的 我尝试一下
-
@yteraa 感谢大神 python2.7 成功编译!!
-
@qiao_sh_pudong
编译成功。但是,
打包出现错误,不知道如何解决 -
@yteraa 请问您知道 打包出错如何解决吗
-
@qiao_sh_pudong 缺这个文件,重新编译看看
-
@yteraa 重新编译了 也显示成功了 再次尝试打包还是一样的错误
-
看一下上面的报错
-
@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 resourceLZMA 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 = 4partitation 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.fexmbr 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 -
@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
重新进行编译,然后打包。
打包成功
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号