The Configure: Error: C compiler cannot create executables error is fixed during configure compilation.

Source: Internet
Author: User

When bind9.9.2 is installed on the server today, GCC and GCC-C ++ have already been installed, but the./configure still reports an error:

Checking build system type... x86_64-unknown-linux-gnu
Checking host system type... x86_64-unknown-linux-gnu
Checking whether make sets $ (make)... yes
Checking for GCC... gcc
Checking whether the C compiler works... no
Configure: Error: In '/tmp/bind-100 ':
Configure: Error: C compiler cannot create executables
See 'config. log' For more details
 

Solution:

In the Linux Command Line, enter the following two lines to clear the cflags and libs values:

Export libs =

Export cflags =

Then, when you run./configue and so on, you can pass it normally.

This article from the "Linux open source-continuous summary..." blog, please be sure to keep this source http://fantefei.blog.51cto.com/2229719/1070919

The Configure: Error: C compiler cannot create executables error is fixed during configure compilation.

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.