Crosstool0.43 An error occurred while creating the cross-compiling environment
Source: Internet
Author: User
Crosstool0.43 An error occurred while establishing a cross-compiling environment-Linux general technology-Linux programming and kernel information. For details, refer to the following section. First time
> Configure: error:
> *** These critical programs are missing or too old: gcc
> *** Check the INSTALL file for required versions.
Said GCC version too old, Baidu a bit, said not too old, is crosstool0.43 not identified, need to modify patches/glibc-2.3.2/glibc-2.3.3-allow-gcc-4.0-configure.patch File
I changed it.
--- Glibc-2.3.3/configure. old Mon Mar 14 12:01:10 2005
++ Glibc-2.3.3/configure Mon Mar 14 12:02:03 2005
@-3899,7 + 3899,7 @@
Ac_prog_version = '$ CC-v 2> & 1 | sed-n's/^. * version \ ([egcygnustpi-] * [0-9.] *\). * $/\ 1/P''
Case $ ac_prog_version in
'') Ac_prog_version =" v .?.??, Bad "; ac_verc_fail = yes ;;
-3. [2-9] *)
+ 3. [2-9] * | 4 .*)
Ac_prog_version = "$ ac_prog_version, OK"; ac_verc_fail = no ;;
*) Ac_prog_version = "$ ac_prog_version, bad"; ac_verc_fail = yes ;;
The problem occurs again.
Applying patch/home/sonic/arm/crosstool-0.43/patches/glibc-2.3.2/glibc-2.3.3-allow-gcc-4.0-configure.patch ~
Patching file configure
Hunk #1 FAILED at 3899.
1 out of 1 hunk FAILED -- saving rejects to file configure. rej
Patch/home/sonic/arm/crosstool-0.43/patches/glibc-2.3.2/glibc-2.3.3-allow-gcc-4.0-configure.patch ~ Failed
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