[25]_arm-none-linux-gnueabi-gcc: No such file or directory

以前装个交叉编译工具链很快,今天死活都是装不成功,真是见鬼.....环境变量也设置了,老是报:arm-none-linux-gnueabi-gcc: No such file or directory


原来是我使用64位Linux系统的原因:而我使用的交叉编译工具链是32位的.....

解决办法:sudo apt-get install ia32-libs

------------------------------------------------------------------------------------------------------------------------

如果是你的ubuntu是初次安装软件,你还可能会遇到:E: Unable to locate package update

解决办法:更新一下apt-get

sudo apt-get update

sudo apt-get upgrade

执行完上面的两条命令,再次执行:sudo apt-get install ia32-libs

-----------------------------------------------------------

你可能还会遇到:

root@ubuntu:/# sudo apt-get install ia32-libs
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32ncurses5 lib32z1



E: Package 'ia32-libs' has no installation candidate

解决办法:sudo apt-get install lib32ncurses5 lib32z1



猜你喜欢

转载自blog.csdn.net/qhzm72/article/details/78939478