Navigation

    全志在线开发者论坛

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

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

    其它全志芯片讨论区
    2
    2
    1468
    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.
    • D
      davidtry LV 2 last edited by

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

      如何解決?

      1 Reply Last reply Reply Quote Share 1
      • A
        awwwwa LV 8 last edited by 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 Reply Last reply Reply Quote Share 1
        • 1 / 1
        • First post
          Last post

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

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