系统环境问题,重新安装ubuntu18.04.6版本重新编译解决了。
如果安装的ubuntu22.0版本,由于默认安装的gcc和python等工具版本问题,导致问题较多。
ubuntu18.04.6版本编译出现的问题记录:
报错:/bin/sh : bison not found
解决办法:
sudo apt install bison flex
报错:/bin/sh: 1: lz4c: not found
解决办法:sudo apt-get install liblz4-tool
**报错:**python2: command not found
解决办法: apt install python-minimal
报错:fatal error: openssl/opensslv.h: No such file or directory
解决办法: sudo apt-get install libssl-dev
报错:dpkg-gencontrol: command not found
解决办法: apt-get install dpkg-dev
报错:make_ext4fs: command not found
解决办法: sudo apt-get install android-tools-fsutils
您好:
请问这个问题解决了吗,从你的报错log看,应该是python版本问题,环境要求如下:-
操作系统: CentOS7 或者 Ubuntu18.04
- Python3.6
- libpython3.6
- python3-devel
- python3-pip
- gcc&c++: 5.4.0
- graphviz
这是报错的日志。可能也是环境的配置问题,但是我已经参照网上各种方案,都没能解决,所以请教一下是否是本身SDK的问题还是环境配置问题,应该怎么处理呢?

您好,
需要提供下你的详细操作,和操作过程中产生的日志信息才好分析问题
你这个给错误看着是版本问题的,是完全按照教程来执行的吗
还没解决。
我的ubunt版本是22.0, 然后python版本是 3.10.6。
从日志来看应该是python版本或者配置的问题,但目前没找到解决方案。
先把python进行降版本试试;如果不行,那就是系统版本问题了,我们内部都是用ubuntu 16.04/18.04搭建编译服务器的;