Error: c ++ compilercannotcreateexecutable with config. log
Source: Internet
Author: User
Error: c ++ compilercannotcreateexecutable is enclosed with config. log-general Linux technology-Linux programming and kernel information. For details, see the following. This file contains any messages produced by compilers while
Running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
Generated by GNU Autoconf 2.59. Invocation command line was
$./Configure
##---------##
# Platform .##
##---------##
Hostname = fedora-xacn
Uname-m = i686
Uname-r = 2.6.9-1.667
Uname-s = Linux
Uname-v = #1 Tue Nov 2 14:41:25 EST 2004
Configure: 1345: checking build system type
Configure: 1363: result: i686-pc-linux-gnu
Configure: 1371: checking host system type
Configure: 1385: result: i686-pc-linux-gnu
Configure: 1393: checking target system type
Configure: 1407: result: i686-pc-linux-gnu
Configure: 1422: checking whether make sets $ (MAKE)
Configure: 1442: result: yes
Configure: 1503: checking for g ++
Configure: 1519: found/usr/bin/g ++
Configure: 1529: result: g ++
Configure: 1545: checking for C ++ compiler version
Configure: 1548: g ++ -- version& 5
G ++ (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6. fc3)
Copyright (C) 2004 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.
Configure: 1551: $? = 0
Configure: 1553: g ++-v& 5
Reading specs from/usr/lib/gcc/i386-redhat-linux/3.4.2/specs
Configured :.. /configure -- prefix =/usr -- mandir =/usr/share/man -- infodir =/usr/share/info -- enable-shared -- enable-threads = posix -- disable-checking -- with-system-zlib -- enable-_ cxa_atexit -- disable-libunwind-exceptions -- enable-java-awt = gtk -- host = i386-redhat-linux
Thread model: posix
Gcc version 3.4.2 20041017 (Red Hat 3.4.2-6. fc3)
Configure: 1556: $? = 0
Configure: 1558: g ++-V& 5
G ++: '-V' option must have argument
Configure: 1561: $? = 1
Configure: 1584: checking for C ++ compiler default output file name
Configure: 1587: g ++ conftest. cc> & 5
/Usr/bin/ld: cannot find/lib/libc. so.6
Collect2: ld returned 1 exit status
Configure: 1590: $? = 1
Configure: failed program was:
|/* Confdefs. h .*/
|
| # Define PACKAGE_NAME ""
| # Define PACKAGE_TARNAME ""
| # Define PACKAGE_VERSION ""
| # Define PACKAGE_STRING ""
| # Define PACKAGE_BUGREPORT ""
|/* End confdefs. h .*/
|
| Int
| Main ()
| {
|
|;
| Return 0;
|}
Configure: 1629: error: C ++ compiler cannot create executables
See 'config. log' for more details.
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