Linux compilation error "execv: No such file or directory"

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linux compilation error "execv: No such file or directory"

ソリューションへジャンプ
5,929件の閲覧回数
alexey_bezgodko
Contributor I

Hi!

I cannot compile source file with S32 Studio toolchain on Ubuntu 16.04. I get error "powerpc-eabivle-gcc: error trying to exec '/opt/NXP/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/as': execv: No such file or directory".

Also the file '/opt/NXP/S32DS_Power_v2017.R1/Cross_Tools/powerpc-eabivle-4_9/bin/../lib/gcc/powerpc-eabivle/4.9.4/../../../../powerpc-eabivle/bin/as' exists but cannot be run -> during it's run error occurs "No such file or directory".

Does someone know reason?

ラベル(1)
タグ(3)
0 件の賞賛
1 解決策
4,939件の閲覧回数
nxf46764
NXP Employee
NXP Employee

64Bit need 32Bit lib, so you should do as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install libgtk2.0-0:i386
sudo apt-get install libxtst6:i386
sudo apt-get install gcc-multilib g++-multilib 
Hope to help you.

元の投稿で解決策を見る

2 返答(返信)
4,940件の閲覧回数
nxf46764
NXP Employee
NXP Employee

64Bit need 32Bit lib, so you should do as follows:

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install libgtk2.0-0:i386
sudo apt-get install libxtst6:i386
sudo apt-get install gcc-multilib g++-multilib 
Hope to help you.
4,939件の閲覧回数
sathish_sekar
Contributor III

Hello Peng Ma,

Thanks.

In my system also below build error occurred,

arm-none-eabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

now ityis  resolved.

This error occurred After installing the S32 Design studio in Ubuntu 16.04 Linux, faced the below build error

This error also resolved by

sudo dpkg --add-architecture i386
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386
sudo apt-get install libgtk2.0-0:i386
sudo apt-get install libxtst6:i386
sudo apt-get install gcc-multilib g++-multilib 
0 件の賞賛