导航

    全志在线开发者论坛

    • 注册
    • 登录
    • 搜索
    • 版块
    • 话题
    • 在线文档
    • 社区主页

    A133編譯kernel 遇到error trying to exec cc1: execvp : No such file or directory

    其它全志芯片讨论区
    2
    2
    1094
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • D
      davidtry LV 2 最后由 编辑

      編譯A133 longan, android, 運行build.sh, 出現or32-elf-gcc, error trying to exec cc1: execvp: No such file or directory.

      如何解決?

      1 条回复 最后回复 回复 引用 分享 1
      • A
        awwwwa LV 8 最后由 awwwwa 编辑

        环境没有安装

        Ubuntu 22.04 / 20.04

        • 更新软件源,更新系统软件包
        sudo apt-get update
        sudo apt-get upgrade -y
        
        • 安装开发依赖
        sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof 
        
        • 安装相关工具
        sudo apt-get install kconfig-frontends android-tools-mkbootimg python2 libpython3-dev 
        
        • 增加架构支持
        sudo dpkg --add-architecture i386
        sudo apt-get update
        
        • 安装支持包
        sudo apt install gcc-multilib 
        sudo apt install libc6:i386 libstdc++6:i386 lib32z1
        

        Ubuntu 18.04

        • 更新软件源,更新系统软件包
        sudo apt-get update
        sudo apt-get upgrade -y
        
        • 安装开发依赖
        sudo apt-get install build-essential subversion git libncurses5-dev zlib1g-dev gawk flex bison quilt libssl-dev xsltproc libxml-parser-perl mercurial bzr ecj cvs unzip lsof 
        
        • 安装相关工具
        sudo apt-get install android-tools-mkbootimg libpython3-dev 
        
        • 增加架构支持
        sudo dpkg --add-architecture i386
        sudo apt-get update
        
        • 安装支持包
        sudo apt install gcc-multilib 
        sudo apt install libc6:i386 libstdc++6:i386 lib32z1
        

        Arch Linux / Manjaro

        • 更新软件源,更新系统软件包
        pacman -Syyuu
        
        • 安装开发依赖
        pacman -S --needed base-devel autoconf automake bash binutils bison bzip2 fakeroot file findutils flex gawk gcc gettext git grep groff gzip time unzip util-linux wget which zlib asciidoc help2man intltool perl-extutils-makemaker swig 
        
        • 安装相关工具
        pacman -S --needed libelf libtool libxslt m4 make ncurses openssl patch pkgconf python rsync sed texinfo
        
        • 增加架构支持
        pacman -S --needed multilib-devel
        

        CentOS / Fedora / openEuler

        sudo dnf --setopt install_weak_deps=False --skip-broken install bash-completion bzip2 gcc gcc-c++ git make ncurses-devel patch rsync tar unzip wget which diffutils python2 python3 perl-base perl-Data-Dumper perl-File-Compare perl-File-Copy perl-FindBin perl-Thread-Queue glibc.i686
        

        openSUSE

        sudo zypper install --no-recommends asciidoc bash bc binutils bzip2 fastjar flex gawk gcc 
        
        1 条回复 最后回复 回复 引用 分享 1
        • 1 / 1
        • First post
          Last post

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

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