buildroot 使用外部工具链的问题

版权声明:本文为博主原创文章 https://blog.csdn.net/qq_39101111/article/details/78923040

记录一下:

在64位系统上,在使用buildroot编译根文件系统时,若是直接使用外部工具链汇报错如下

>>> toolchain-external-custom  Extracting
>>> toolchain-external-custom  Patching
>>> toolchain-external-custom  Configuring
Cannot execute cross-compiler '/home/sbc_7109_455/aplex/arm_gcc/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-gcc'
make[1]: *** [/home/sbc_7109_455/aplex/buildroot/buildroot-2017.02.3/output/build/toolchain-external-custom/.stamp_configured] Error 1
make: *** [_all] Error 2

解决办法 : 配置一下环境,由于要编译32位的程序,所以需要下载安装一些32位的库

运行:sudo apt-get install   libc6:i386   libstdc++6:i386   libncurses5:i386   zlib1g:i386

问题便可以解决了

猜你喜欢

转载自blog.csdn.net/qq_39101111/article/details/78923040