Ubuntu16.04 system BusyBox failed when configuring arm cross-compilation environment

Source: Internet
Author: User
Tags unpack

/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc:no such file or directory/home/ulinux/busybox-1.24.2/ Scripts/gcc-version.sh:line:/usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc:no such file or directory

First follow a look: http://10638473.blog.51cto.com/10628473/1764014

No more, you can do as follows:

[email protected]:~$ arm-none-linux-gnueabi-gcc --helpbash: /usr/local/arm/arm-2009q3/bin/ arm-none-linux-gnueabi-gcc: no such file or directory[email protected]:~$  Arm-none-linux-gnueabi-gcc -vbash: /usr/local/arm/arm-2009q3/bin/arm-none-linux-gnueabi-gcc: no  such file or directory[email protected]:~$ sudo apt-get install  ia32-libsreading package lists... donebuilding dependency tree        Reading state information... DonePackage ia32-libs is  Not available, but is referred to by another package. this may mean that the package is missing, has been  obsoleted, oris only available from another sourcehowever the  following packages replace it:  lib32ncurses5 lib32z1E: Package  ' Ia32-libs '  has no installation  Candidate[email protected]:~$ sudo apt-get install lib32ncurses5 lib32z1reading  package lists... DoneBuilding dependency tree        Reading state information... DoneThe following additional packages  Will be installed:  lib32tinfo5 libc6-i386the following new packages  will be installed:  lib32ncurses5 lib32tinfo5 lib32z1 libc6-i3860  upgraded, 4 newly installed, 0 to remove and 127 not  Upgraded. Need to get 2,563 kb of archives. after this operation, 11.3 mb of additional disk space will  Be used. do you want to continue? [y/N] yget:1 http://202.197.96.248/files/218000000036d67b/cn.archive.ubuntu.com/ubuntu xenial/main  amd64 libc6-i386 amd64 2.23-0ubuntu3 [2,335 kb]get:2 http:// us.archive.ubuntu.com/ubuntu xenial/main amd64 lib32tinfo5 amd64 6.0+ 20160213-1ubuntu1 [76.9 kb]get:3 http://us.archive.ubuntu.com/ubuntu xenial/main  amd64 lib32ncurses5 amd64 6.0+20160213-1ubuntu1 [99.5 kb]get:4 http:// Us.archive.ubuntu.com/ubuntu xenial/main amd64 lib32z1 amd64 1:1.2.8.dfsg-2ubuntu4  [52.2 kB]Fetched 2,563 kB in 4s  (606 kb/s)   Selecting  Previously unselected package libc6-i386. (reading database ... 173885 files and directories currently installed .) PREPARING TO UNPACK .../LIBC6-I386_2.23-0UBUNTU3_AMD64.DEB&NBSP, ..... Unpacking libc6-i386&nBSP; (2.23-0UBUNTU3)   Selecting previously unselected package lib32tinfo5. PREPARING TO UNPACK .../LIB32TINFO5_6.0+20160213-1UBUNTU1_AMD64.DEB&NBSP, ..... unpacking lib32tinfo5  (6.0+20160213-1UBUNTU1)   Selecting previously unselected package lib32ncurses5. PREPARING TO UNPACK .../LIB32NCURSES5_6.0+20160213-1UBUNTU1_AMD64.DEB&NBSP, ..... unpacking lib32ncurses5  (6.0+20160213-1UBUNTU1)   Selecting previously unselected package lib32z1. PREPARING TO UNPACK .../LIB32Z1_1%3A1.2.8.DFSG-2UBUNTU4_AMD64.DEB&NBSP, ..... unpacking lib32z1  (1:1.2.8.DFSG-2UBUNTU4)   processing triggers for libc-bin  (2.23-0UBUNTU3)   setting up libc6-i386  (2.23-0UBUNTU3)   setting up lib32tinfo5  (6.0+20160213-1UBUNTU1)   setting up lib32ncurses5  (6.0+20160213-1UBUNTU1)   Setting up lib32z1  (1:1.2.8.DFSG-2UBUNTU4) &nbsp ... processing triggers for libc-bin  (2.23-0UBUNTU3)   [Email protected]:~$ arm-none-linux-gnueabi-gcc -vusing built-in specs. target: arm-none-linux-gnueabiconfigured with: /scratch/julian/2009q3-respin-linux-lite/src/ gcc-4.4/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target= arm-none-linux-gnueabi --enable-threads --disable-libmudflap --disable-libssp -- disable-libstdcxx-pch --enable-extra-sgxxlite-multilibs --with-arch=armv5te --with-gnu-as  --with-gnu-ld --with-specs= '%{funwind-tables|fno-unwind-tables|mabi=*|ffreestanding|nostdlib:;:- funwind-tables} %{o2:%{!fno-remove-local-statics: -fremove-local-statics}} %{o*:%{o| o0| o1| o2| Os:;:%{!fno-remove-local-statics: -fremove-local-statics}}} '  --enable-languages=c,c++ -- Enable-shared --disable-lto --enable-symvers=gnu --enable-__cxa_atexit --with-pkgversion= ' sourcery g++ lite 2009q3-67 '  -- With-bugurl=https://support.codesourcery.com/gnutoolchain/ --disable-nls --prefix=/opt/codesourcery  --with-sysroot=/opt/codesourcery/arm-none-linux-gnueabi/libc --with-build-sysroot=/scratch/julian/ 2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/libc --with-gmp=/scratch/julian/ 2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-mpfr =/scratch/julian/2009q3-respin-linux-lite/obj/host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr  --with-ppl=/scratch/julian/2009q3-respin-linux-lite/obj/ Host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --with-host-libstdcxx= '-STATIC-LIBGCC  -wl,-bstatic,-lstdc++,-bdynamic -lm '  --with-cloog=/scratch/julian/2009q3-respin-linux-lite/obj /host-libs-2009q3-67-arm-none-linux-gnueabi-i686-pc-linux-gnu/usr --disable-libgomp --enable-poison-system-directories --with-build-time-tools=/scratch/julian/ 2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/bin --with-build-time-tools=/scratch/julian/ 2009q3-respin-linux-lite/install/arm-none-linux-gnueabi/binthread model: posixgcc version  4.4.1  (sourcery g++ lite 2009q3-67)  [email protected]:~$

OK, get it done.

You can compile it by executing the make command in the BusyBox directory!

Compiling takes about two minutes!

This article is from the "10628473" blog, please be sure to keep this source http://10638473.blog.51cto.com/10628473/1784282

Ubuntu16.04 system BusyBox failed when configuring arm cross-compilation environment

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.