Make [2]: *** [doc/cpp.info]

Source: Internet
Author: User
Make [2]: *** [doccpp.info] Error 1 make [2]: *** waiting for unfinished task .... make: *** [optbuildroot-2012.08outputtoolchaingcc-4.5.4-initial.compiled] Error 2 If the cross compiler is compiled, these problems may be caused by the differences between the pc compiler and the gcc version of the Cross Compiler

Make [2]: *** [doc/cpp.info] Error 1 make [2]: *** waiting for unfinished task .... make: *** [/opt/buildroot-2012.08/output/toolchain/gcc-4.5.4-initial /. compiled] Error 2 If the cross compiler is compiled, these problems may be caused by the differences between the pc compiler and the gcc version of the cross compiler.

Make [2]: *** [doc/cpp.info] Error 1

Make [2]: *** waiting for unfinished task ....

Make: *** [/opt/buildroot-2012.08/output/toolchain/gcc-4.5.4-initial/. compiled] Error 2

If these problems occur during cross-compiler compilation, they may be caused by the differences between the pc compiler and the gcc version of the Cross-compiler. At this time, let's take a look at the PC version:

[Fulinux @ ubuntu buildroot-2012.08] $ gcc -- version
Gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
Copyright (C) 2013 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
Warranty; not even for MERCHANTABILITY or fitness for a particle PURPOSE.

This is version 4.8.1, while the gcc version of the cross compiler is version 4.5.4.

Make the following changes in the cross-compiler. config file:

[Fulinux @ the ubuntu buildroot-2012.08] $ vim. config

#
# GCC Options
#
# BR2_GCC_VERSION_4_3_X is not set
# BR2_GCC_VERSION_4_4_X is not set
# BR2_GCC_VERSION_4_5_X = y
# BR2_GCC_VERSION_4_6_X is not set
BR2_GCC_VERSION_4_7_X = y
# BR2_GCC_VERSION_SNAP is not set
BR2_GCC_SUPPORTS_FINEGRAINEDMTUNE = y
BR2_GCC_VERSION = "4.8.1"
BR2_EXTRA_GCC_CONFIG_OPTIONS = ""
# BR2_INSTALL_OBJC is not set
# BR2_INSTALL_FORTRAN is not set
BR2_GCC_SHARED_LIBGCC = y
BR2_GCC_ENABLE_TLS = y
# BR2_GCC_ENABLE_OPENMP is not set

....

> 5. gcc 4.7.x (BR2_GCC_VERSION_4_7_X)
6. gcc snapshot (BR2_GCC_VERSION_SNAP)
Choice [1-6?] : 5

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.