PDA

View Full Version : [ubuntu] glibc 2.11 compile in amd64 version



weishigoname
December 28th, 2009, 02:34 PM
My laptop CPU :Celeron(R) Dual-Core CPU T3000 @ 1.80GHZ
Memory: 1.0 GB
system: ubuntu-9.10-amd64
I want to install glibc-2.11 for development.
when I use 'configure' and the log:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.63. Invocation command line was
$ ../glibc-2.11/configure --prefix=/usr --with-headers=/usr/src/linux-headers-2.6.31-16/include --enable-add-ons
## --------- ##
## Platform. ##
## --------- ##
hostname = ws-laptop
uname -m = x86_64
uname -r = 2.6.31-16-generic
uname -s = Linux
uname -v = #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/sbin
PATH: /sbin
PATH: /bin

## ----------- ##
## Core tests. ##
## ----------- ##
configure:2028: checking build system type
configure:2046: result: x86_64-unknown-linux-gnu
configure:2068: checking host system type
configure:2083: result: x86_64-unknown-linux-gnu
configure:2154: checking for gcc
configure:2170: found /usr/bin/gcc
configure:2181: result: gcc
configure:2413: checking for C compiler version
configure:2421: gcc --version >&5
gcc (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 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 PARTICULAR PURPOSE.
configure:2425: $? = 0
configure:2432: gcc -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
configure:2436: $? = 0
configure:2443: gcc -V >&5
gcc: '-V' option must have argument
configure:2447: $? = 1
configure:2451: checking for suffix of object files
configure:2477: gcc -c conftest.c >&5
configure:2481: $? = 0
configure:2506: result: o
configure:2510: checking whether we are using the GNU C compiler
configure:2539: gcc -c conftest.c >&5
configure:2546: $? = 0
configure:2563: result: yes
configure:2572: checking whether gcc accepts -g
configure:2602: gcc -c -g conftest.c >&5
configure:2609: $? = 0
configure:2710: result: yes
configure:2727: checking for gcc option to accept ISO C89
configure:2801: gcc -c -g -O2 conftest.c >&5
configure:2808: $? = 0
configure:2831: result: none needed
configure:2899: checking how to run the C preprocessor
configure:2939: gcc -E conftest.c
configure:2946: $? = 0
configure:2977: gcc -E conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:2984: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3017: result: gcc -E
configure:3046: gcc -E conftest.c
configure:3053: $? = 0
configure:3084: gcc -E conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
configure:3091: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
configure:3189: checking for g++
configure:3205: found /usr/bin/g++
configure:3216: result: g++
configure:3243: checking for C++ compiler version
configure:3251: g++ --version >&5
g++ (Ubuntu 4.4.1-4ubuntu8) 4.4.1
Copyright (C) 2009 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 PARTICULAR PURPOSE.
configure:3255: $? = 0
configure:3262: g++ -v >&5
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-4ubuntu8' --with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --enable-multiarch --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --disable-werror --with-arch-32=i486 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-4ubuntu8)
configure:3266: $? = 0
configure:3273: g++ -V >&5
g++: '-V' option must have argument
configure:3277: $? = 1
configure:3280: checking whether we are using the GNU C++ compiler
configure:3309: g++ -c conftest.cpp >&5
configure:3316: $? = 0
configure:3333: result: yes
configure:3342: checking whether g++ accepts -g
configure:3372: g++ -c -g conftest.cpp >&5
configure:3379: $? = 0
configure:3480: result: yes
configure:4097: running configure fragment for add-on glibc-libidn
configure:4153: checking add-on glibc-ports for preconfigure fragments
configure:4160: result:
configure:4097: running configure fragment for add-on libidn
configure:4097: running configure fragment for add-on nptl
configure:4251: checking sysdep dirs
configure:4487: result: sysdeps/generic/elf sysdeps/generic
configure:4543: WARNING: add-on glibc-ports contributed no useful sysdeps directories
configure:4566: checking for a BSD-compatible install
configure:4634: result: /usr/bin/install -c
configure:4649: checking whether ln -s works
configure:4653: result: yes
configure:4722: checking for ranlib
configure:4738: found /usr/bin/ranlib
configure:4749: result: ranlib
configure:4777: checking whether as is GNU as
configure:4791: result: yes
configure:4796: checking whether ld is GNU ld
configure:4810: result: yes
configure:4820: checking for as
configure:4847: result: as
configure:4862: checking version of as
configure:4872: result: 2.20, ok
configure:4883: checking for ld
configure:4910: result: ld
configure:4925: checking version of ld
configure:4935: result: 2.20, ok
configure:4950: checking for pwd
configure:4968: found /bin/pwd
configure:4981: result: /bin/pwd
configure:5001: checking for gcc
configure:5028: result: gcc
configure:5043: checking version of gcc
configure:5053: result: 4.4.1, ok
configure:5064: checking for gnumake
configure:5094: result: no
configure:5064: checking for gmake
configure:5094: result: no
configure:5064: checking for make
configure:5080: found /usr/bin/make
configure:5091: result: make
configure:5106: checking version of make
configure:5116: result: 3.81, ok
configure:5128: checking for gnumsgfmt
configure:5158: result: no
configure:5128: checking for gmsgfmt
configure:5158: result: no
configure:5128: checking for msgfmt
configure:5144: found /usr/bin/msgfmt
configure:5155: result: msgfmt
configure:5170: checking version of msgfmt
configure:5180: result: 0.17, ok
configure:5191: checking for makeinfo
configure:5221: result: no
configure:5254: checking for sed
configure:5270: found /bin/sed
configure:5281: result: sed
configure:5296: checking version of sed
configure:5306: result: 4.2.1, ok
configure:5318: checking for autoconf
configure:5334: found /usr/bin/autoconf
configure:5345: result: autoconf
configure:5360: checking whether autoconf works
configure:5371: result: yes
configure:5392: WARNING:
*** These auxiliary programs are missing or incompatible versions: makeinfo
*** some features will be disabled.
*** Check the INSTALL file for required versions.
configure:5421: checking whether ranlib is necessary
configure:5442: result: no
configure:5455: checking LD_LIBRARY_PATH variable
configure:5465: result: ok
configure:5479: checking whether GCC supports -static-libgcc
configure:5490: result: -static-libgcc
configure:5496: checking for bash
configure:5514: found /bin/bash
configure:5527: result: /bin/bash
configure:5602: checking for gawk
configure:5618: found /usr/bin/gawk
configure:5629: result: gawk
configure:5642: checking for perl
configure:5660: found /usr/bin/perl
configure:5673: result: /usr/bin/perl
configure:5687: checking for install-info
configure:5706: found /usr/bin/install-info
configure:5719: result: /usr/bin/install-info
configure:5729: checking for bison
configure:5761: result: no
configure:5770: checking for signed size_t type
configure:5785: result: no
configure:5794: checking for libc-friendly stddef.h
configure:5828: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
conftest.c: In function 'main':
conftest.c:22: warning: incompatible implicit declaration of built-in function 'abort'
configure:5835: $? = 0
configure:5850: result: yes
configure:5857: checking whether we need to use -P to assemble .S files
configure:5867: gcc -c conftest.S 1>&5
configure:5870: $? = 0
configure:5878: result: no
configure:5885: checking whether .text pseudo-op must be used
configure:5895: gcc -c conftest.s 1>&5
configure:5898: $? = 0
configure:5909: result: yes
configure:5913: checking for assembler global-symbol directive
configure:5926: gcc -c conftest.s 1>&5
configure:5929: $? = 0
configure:5937: result: .globl
configure:5950: checking for .set assembler directive
configure:5976: result: yes
configure:5985: checking for assembler .type directive prefix
configure:6001: gcc -c conftest.s 1>&5
configure:6004: $? = 0
configure:6012: result: @
configure:6021: checking for assembler gnu_unique_object symbol type
configure:6038: result: yes
configure:6078: checking for .symver assembler directive
configure:6095: result: yes
configure:6097: checking for ld --version-script
configure:6123: gcc -g -O2 -fno-unwind-tables -shared
-o conftest.so conftest.o
-nostartfiles -nostdlib
-Wl,--version-script,conftest.map
1>&5
configure:6126: $? = 0
configure:6141: result: yes
configure:6165: checking for .previous assembler directive
configure:6175: gcc -c conftest.s 1>&5
configure:6178: $? = 0
configure:6186: result: yes
configure:6224: checking for .protected and .hidden assembler directive
configure:6236: gcc -c conftest.s 1>&5
configure:6239: $? = 0
configure:6249: result: yes
configure:6253: checking whether __attribute__((visibility())) is supported
configure:6264: gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:6267: $? = 0
configure:6278: result: yes
configure:6288: checking for broken __attribute__((visibility()))
configure:6300: gcc -Werror -S conftest.c -o conftest.s1>&5
configure:6303: $? = 0
configure:6312: result: no
configure:6321: checking for broken __attribute__((alias()))
configure:6336: gcc -Werror -S conftest.c -o conftest.s 1>&5
configure:6339: $? = 0
configure:6349: result: no
configure:6358: checking whether to put _rtld_local into .sdata section
configure:6372: result: no
configure:6382: checking for .preinit_array/.init_array/.fini_array support
configure:6395: gcc -g -O2 -fno-unwind-tables -o conftest conftest.c
-static -nostartfiles -nostdlib 1>&5
configure:6398: $? = 0
configure:6411: result: yes
configure:6419: checking for libunwind-support in compiler
configure:6436: result: no
configure:6446: checking for -z nodelete option
configure:6458: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-nostartfiles -nostdlib
-Wl,--enable-new-dtags,-z,nodelete 1>&5
configure:6461: $? = 0
configure:6472: result: yes
configure:6475: checking for -z nodlopen option
configure:6487: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-nostartfiles -nostdlib
-Wl,--enable-new-dtags,-z,nodlopen 1>&5
configure:6490: $? = 0
configure:6501: result: yes
configure:6504: checking for -z initfirst option
configure:6516: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-nostartfiles -nostdlib
-Wl,--enable-new-dtags,-z,initfirst 1>&5
configure:6519: $? = 0
configure:6530: result: yes
configure:6535: checking for -z relro option
configure:6542: gcc -v --help 2>&1|grep z relro 1>&5
/usr/lib/gcc/x86_64-linux-gnu/4.4.1/collect2 --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=both -dynamic-linker /lib64/ld-linux-x86-64.so.2 --help -z relro /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/crt1.o /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/crti.o /usr/lib/gcc/x86_64-linux-gnu/4.4.1/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/4.4.1 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.1 -L/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib -L/lib/../lib -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../.. -L/usr/lib/x86_64-linux-gnu /tmp/ccSKlqaM.o -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/gcc/x86_64-linux-gnu/4.4.1/crtend.o /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../lib/crtn.o
-z relro Create RELRO program header
-z relro Create RELRO program header
-z relro Create RELRO program header
configure:6545: $? = 0
configure:6549: gcc -Wl,--verbose 2>&1|grep DATA_SEGMENT_RELRO_END 1>&5
. = DATA_SEGMENT_RELRO_END (24, .);
configure:6552: $? = 0
configure:6559: result: yes
configure:6570: checking for -Bgroup option
configure:6581: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-Wl,-Bgroup -nostdlib 1>&5
configure:6584: $? = 0
configure:6593: result: yes
configure:6597: checking for libgcc_s suffix
configure:6611: result:
configure:6615: checking for --as-needed option
configure:6627: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-lgcc_s -Wl,--as-needed
-nostdlib 1>&5
configure:6630: $? = 0
configure:6639: result: yes
configure:6644: checking whether --noexecstack is desirable for .S files
configure:6654: gcc -g -O2 -fno-unwind-tables
-S -o conftest.s conftest.c 1>&5
configure:6657: $? = 0
configure:6662: gcc -Wa,--noexecstack
-c -o conftest.o conftest.s 1>&5
configure:6665: $? = 0
configure:6674: result: yes
configure:6681: checking for -z combreloc
configure:6695: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-nostdlib -nostartfiles
-Wl,-z,combreloc 1>&5
configure:6698: $? = 0
configure:6711: result: yes
configure:6721: checking for -z execstack
configure:6733: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-Wl,-z,execstack -nostdlib
1>&5
configure:6736: $? = 0
configure:6745: result: yes
configure:6749: checking for -fpie
configure:6760: gcc -g -O2 -fno-unwind-tables -pie -fpie
-o conftest conftest.c 1>&5
configure:6763: $? = 0
configure:6772: result: yes
configure:6777: checking for --hash-style option
configure:6788: gcc -g -O2 -fno-unwind-tables
-fPIC -shared -o conftest.so conftest.c
-Wl,--hash-style=both -nostdlib 1>&5
configure:6791: $? = 0
configure:6800: result: yes
configure:6805: checking for -fno-toplevel-reorder -fno-section-anchors
configure:6815: gcc -g -O2 -fno-unwind-tables -S -fno-toplevel-reorder -fno-section-anchors
conftest.c 1>&5
configure:6818: $? = 0
configure:6827: result: yes
configure:6836: checking for -fstack-protector
configure:6847: gcc -g -O2 -fno-unwind-tables -Werror -fstack-protector
-o conftest conftest.c 1>&5
configure:6850: $? = 0
configure:6859: result: yes
configure:6863: checking for -fgnu89-inline
configure:6878: gcc -g -O2 -fno-unwind-tables -S -std=gnu99 -fgnu89-inline
-o conftest.s conftest.c 1>&5
conftest.c:3: warning: return type defaults to 'int'
configure:6881: $? = 0
configure:6890: result: yes
configure:6961: checking whether cc puts quotes around section names
configure:6982: result: no
configure:7100: checking for assembler .weak directive
configure:7113: gcc -c conftest.s 1>&5
configure:7116: $? = 0
configure:7124: result: yes
configure:7171: checking whether CFI directives are supported
configure:7190: gcc -c conftest.s 1>&5
configure:7193: $? = 0
configure:7201: result: yes
configure:7210: checking for ld --no-whole-archive
configure:7223: gcc -g -O2 -fno-unwind-tables
-nostdlib -nostartfiles -Wl,--no-whole-archive
-o conftest conftest.c 1>&5
configure:7226: $? = 0
configure:7234: result: yes
configure:7240: checking for gcc -fexceptions
configure:7253: gcc -g -O2 -fno-unwind-tables
-nostdlib -nostartfiles -fexceptions
-o conftest conftest.c 1>&5
configure:7256: $? = 0
configure:7264: result: yes
configure:7331: checking for __builtin_expect
configure:7346: gcc -g -O2 -fno-unwind-tables -nostdlib -nostartfiles
-o conftest conftest.c -lgcc >&5
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to 0000000000400150
configure:7349: $? = 0
configure:7357: result: yes
configure:7366: checking for __builtin_memset
configure:7378: gcc -O3 -S conftest.c -o - | fgrep memset > /dev/null
configure:7381: $? = 1
configure:7390: result: yes
configure:7399: checking for redirection of built-in functions
configure:7412: gcc -O3 -S conftest.c -o - | fgrep my_strstr > /dev/null
configure:7415: $? = 0
configure:7424: result: yes
configure:7434: checking for __thread
configure:7443: gcc -g -O2 -fno-unwind-tables -c conftest.c >&5
configure:7446: $? = 0
configure:7454: result: yes
configure:7467: checking for tls_model attribute
configure:7476: gcc -g -O2 -fno-unwind-tables -S -Werror conftest.c >&5
configure:7479: $? = 0
configure:7487: result: yes
configure:7526: checking for libgd
configure:7556: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c -lgd -lpng -lz -lm >&5
conftest.c:25:16: error: gd.h: No such file or directory
configure:7563: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define HAVE_LIBIDN 1
| #define HAVE_LIBIDN 1
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| /* end confdefs.h. */
| #include <gd.h>
| int
| main ()
| {
| gdImagePng (0, 0)
| ;
| return 0;
| }
configure:7588: result: no
configure:7597: checking for is_selinux_enabled in -lselinux
configure:7632: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c -lselinux >&5
configure:7639: $? = 0
configure:7660: result: yes
configure:7670: checking for NSCD Flask permissions in selinux/av_permissions.h
configure:7697: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:7704: $? = 0
configure:7718: result: yes
configure:7739: checking for audit_log_user_avc_message in -laudit
configure:7774: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c -laudit >&5
/usr/bin/ld: cannot find -laudit
collect2: ld returned 1 exit status
configure:7781: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define HAVE_LIBIDN 1
| #define HAVE_LIBIDN 1
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define HAVE_SELINUX 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char audit_log_user_avc_message ();
| int
| main ()
| {
| return audit_log_user_avc_message ();
| ;
| return 0;
| }
configure:7802: result: no
configure:7820: checking for cap_init in -lcap
configure:7855: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c -lcap >&5
/usr/bin/ld: cannot find -lcap
collect2: ld returned 1 exit status
configure:7862: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define HAVE_LIBIDN 1
| #define HAVE_LIBIDN 1
| #define ASM_GLOBAL_DIRECTIVE .globl
| #define HAVE_ASM_SET_DIRECTIVE 1
| #define ASM_TYPE_DIRECTIVE_PREFIX @
| #define HAVE_ASM_UNIQUE_OBJECT 1
| #define DO_VERSIONING 1
| #define HAVE_ASM_PREVIOUS_DIRECTIVE 1
| #define HAVE_Z_COMBRELOC 1
| #define NO_UNDERSCORES 1
| #define HAVE_ASM_WEAK_DIRECTIVE 1
| #define HAVE_ASM_CFI_DIRECTIVES 1
| #define HAVE_BUILTIN_EXPECT 1
| #define HAVE_BUILTIN_MEMSET 1
| #define HAVE_BUILTIN_REDIRECTION 1
| #define HAVE___THREAD 1
| #define HAVE_TLS_MODEL_ATTRIBUTE 1
| #define HAVE_SELINUX 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char cap_init ();
| int
| main ()
| {
| return cap_init ();
| ;
| return 0;
| }
configure:7883: result: no
configure:7903: checking for grep that handles long lines and -e
configure:7963: result: /bin/grep
configure:7968: checking for egrep
configure:8032: result: /bin/grep -E
configure:8037: checking for ANSI C header files
configure:8067: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8074: $? = 0
configure:8173: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c >&5
configure:8177: $? = 0
configure:8183: ./conftest
configure:8187: $? = 0
configure:8205: result: yes
configure:8229: checking for sys/types.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for sys/stat.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for stdlib.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for string.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for memory.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for strings.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for inttypes.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for stdint.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8229: checking for unistd.h
configure:8250: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:8257: $? = 0
configure:8274: result: yes
configure:8292: checking size of long double
configure:8597: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c >&5
configure:8601: $? = 0
configure:8607: ./conftest
configure:8611: $? = 0
configure:8637: result: 16
configure:8669: result: running configure fragment for sysdeps/x86_64/elf
configure:6: checking for x86-64 TLS support
configure:25: gcc -c -g -O2 -fno-unwind-tables conftest.s 1>&5
configure:28: $? = 0
configure:36: result: yes
configure:51: checking for AVX support
configure:57: gcc -mavx -xc /dev/null -S -o /dev/null
configure:60: $? = 0
configure:67: result: yes
configure:8669: result: running configure fragment for nptl/sysdeps/pthread
configure:27: checking for forced unwind support
configure:56: gcc -o conftest -g -O2 -fno-unwind-tables conftest.c >&5
configure:63: $? = 0
configure:83: result: yes
configure:92: checking for C cleanup handling
configure:122: gcc -o conftest -g -O2 -fno-unwind-tables -Werror -fexceptions conftest.c >&5
configure:129: $? = 0
configure:149: result: yes
configure:8669: result: running configure fragment for sysdeps/pthread
configure:8669: result: running configure fragment for sysdeps/unix/sysv/linux
configure:14: checking for grep that handles long lines and -e
configure:74: result: /bin/grep
configure:79: checking for egrep
configure:143: result: /bin/grep -E
configure:148: checking installed Linux kernel header files
configure:173: result: 2.0.10 or later
configure:277: checking for kernel header at least 2.4.0
configure:300: result: ok
configure:444: checking for symlinks in /usr/include
configure:466: result: ok
configure:8669: result: running configure fragment for nptl/sysdeps/x86_64
configure:4: checking for .cfi_personality and .cfi_lsda pseudo-ops
configure:18: gcc -c conftest.s 1>&5
configure:21: $? = 0
configure:30: result: yes
configure:8669: result: running configure fragment for sysdeps/x86_64
configure:42: checking for grep that handles long lines and -e
configure:102: result: /bin/grep
configure:107: checking for egrep
configure:171: result: /bin/grep -E
configure:176: checking for ANSI C header files
configure:344: result: yes
configure:368: checking for sys/types.h
configure:413: result: yes
configure:368: checking for sys/stat.h
configure:413: result: yes
configure:368: checking for stdlib.h
configure:413: result: yes
configure:368: checking for string.h
configure:413: result: yes
configure:368: checking for memory.h
configure:413: result: yes
configure:368: checking for strings.h
configure:413: result: yes
configure:368: checking for inttypes.h
configure:413: result: yes
configure:368: checking for stdint.h
configure:413: result: yes
configure:368: checking for unistd.h
configure:413: result: yes
configure:437: checking cpuid.h usability
configure:454: gcc -c -g -O2 -fno-unwind-tables conftest.c >&5
configure:461: $? = 0
configure:475: result: yes
configure:479: checking cpuid.h presence
configure:494: gcc -E conftest.c
configure:501: $? = 0
configure:515: result: yes
configure:543: checking for cpuid.h
configure:550: result: yes
configure:564: checking if -g produces usable source locations for assembler-with-cpp
configure:587: gcc -g -c conftest.S 1>&5
configure:590: $? = 0
configure:595: readelf --debug-dump=line conftest.o |
grep conftest\.S 1>&5
1 0 0 0 conftest.S
configure:598: $? = 0
configure:607: result: yes
configure:616: checking for SSE4 support
configure:622: gcc -msse4 -xc /dev/null -S -o /dev/null
configure:625: $? = 0
configure:632: result: yes
configure:8768: checking for old glibc 2.0.x headers
configure:8776: result: no
configure:8819: checking whether -fPIC is default
configure:8835: result: no
configure:8966: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by GNU C Library config.status (see version.h), which was
generated by GNU Autoconf 2.63. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status
on ws-laptop
config.status:890: creating config.make
config.status:890: creating Makefile
config.status:890: creating config.h
config.status:1117: executing default commands
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_c_compiler_gnu=yes
ac_cv_cxx_compiler_gnu=yes
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_header_cpuid_h=yes
ac_cv_header_inttypes_h=yes
ac_cv_header_memory_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=yes
ac_cv_header_stdlib_h=yes
ac_cv_header_string_h=yes
ac_cv_header_strings_h=yes
ac_cv_header_sys_stat_h=yes
ac_cv_header_sys_types_h=yes
ac_cv_header_unistd_h=yes
ac_cv_host=x86_64-unknown-linux-gnu
ac_cv_lib_audit_audit_log_user_avc_message=no
ac_cv_lib_cap_cap_init=no
ac_cv_lib_selinux_is_selinux_enabled=yes
ac_cv_objext=o
ac_cv_path_BASH_SHELL=/bin/bash
ac_cv_path_BISON=no
ac_cv_path_EGREP='/bin/grep -E'
ac_cv_path_GREP=/bin/grep
ac_cv_path_INSTALL_INFO=/usr/bin/install-info
ac_cv_path_PERL=/usr/bin/perl
ac_cv_path_PWD_P=/bin/pwd
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AS=as
ac_cv_prog_AUTOCONF=autoconf
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_LD=ld
ac_cv_prog_MAKE=make
ac_cv_prog_MSGFMT=msgfmt
ac_cv_prog_SED=sed
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_CXX=g++
ac_cv_prog_ac_ct_RANLIB=ranlib
ac_cv_prog_cc_c89=
ac_cv_prog_cc_g=yes
ac_cv_prog_cxx_g=yes
ac_cv_sizeof_long_double=16
libc_cv_Bgroup=yes
libc_cv_as_needed=yes
libc_cv_as_noexecstack=yes
libc_cv_asm_cfi_directives=yes
libc_cv_asm_cfi_personality=yes
libc_cv_asm_global_directive=.globl
libc_cv_asm_previous_directive=yes
libc_cv_asm_protected_directive=yes
libc_cv_asm_set_directive=yes
libc_cv_asm_symver_directive=yes
libc_cv_asm_type_prefix=@
libc_cv_asm_underscores=no
libc_cv_asm_unique_object=yes
libc_cv_asm_weak_directive=yes
libc_cv_autoconf_works=yes
libc_cv_broken_alias_attribute=no
libc_cv_broken_visibility_attribute=no
libc_cv_c_cleanup=yes
libc_cv_cc_avx=yes
libc_cv_cc_sse4=yes
libc_cv_cc_with_libunwind=no
libc_cv_cpp_asm_debuginfo=yes
libc_cv_dot_text=.text
libc_cv_fno_toplevel_reorder=yes
libc_cv_forced_unwind=yes
libc_cv_fpie=yes
libc_cv_friendly_stddef=yes
libc_cv_gcc___thread=yes
libc_cv_gcc_builtin_expect=yes
libc_cv_gcc_builtin_memset=yes
libc_cv_gcc_builtin_redirection=yes
libc_cv_gcc_exceptions=yes
libc_cv_gcc_static_libgcc=-static-libgcc
libc_cv_gcc_tls_model_attr=yes
libc_cv_gcc_unwind_find_fde=no
libc_cv_gnu89_inline=-fgnu89-inline
libc_cv_hashstyle=yes
libc_cv_have_bash2=yes
libc_cv_have_ksh=yes
libc_cv_have_sdata_section=no
libc_cv_have_section_quotes=no
libc_cv_idn=no
libc_cv_initfini_array=yes
libc_cv_ld_no_whole_archive=yes
libc_cv_ld_version_script_option=yes
libc_cv_libgcc_s_suffix=
libc_cv_linux2010='2.0.10 or later'
libc_cv_localedir='${exec_prefix}/lib/locale'
libc_cv_need_minus_P=no
libc_cv_nss_crypt=no
libc_cv_pic_default=no
libc_cv_prog_as_gnu=yes
libc_cv_prog_ld_gnu=yes
libc_cv_ranlib_necessary=no
libc_cv_rootsbindir=/sbin
libc_cv_signed_size_t=no
libc_cv_slibdir=/lib64
libc_cv_ssp=yes
libc_cv_sysconfdir=/etc
libc_cv_visibility_attribute=yes
libc_cv_weak_symbols=yes
libc_cv_x86_64_tls=yes
libc_cv_z_combreloc=yes
libc_cv_z_execstack=yes
libc_cv_z_initfirst=yes
libc_cv_z_nodelete=yes
libc_cv_z_nodlopen=yes
libc_cv_z_relro=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='ar'
AS='as'
ASFLAGS_config=' -Wa,--noexecstack'
AUTOCONF='autoconf'
AWK='gawk'
BASH_SHELL='/bin/bash'
BISON='no'
BUILD_CC=''
CC='gcc'
CFLAGS='-g -O2 -fno-unwind-tables'
CPP='gcc -E'
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-g -O2'
CXX_SYSINCLUDES='-isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../include/c++/4.4.1 -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../include/c++/4.4.1/x86_64-linux-gnu -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.1/../../../../include/c++/4.4.1/backward'
DEFINES=' -D_LIBC_REENTRANT'
DEFS='-DHAVE_CONFIG_H'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP='/bin/grep -E'
GREP='/bin/grep'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO='/usr/bin/install-info'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KSH='/bin/bash'
LD='ld'
LDFLAGS=''
LIBGD='no'
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE='make'
MAKEINFO=':'
MIG=''
MSGFMT='msgfmt'
OBJDUMP='objdump'
OBJEXT='o'
PACKAGE_BUGREPORT='glibc'
PACKAGE_NAME='GNU C Library'
PACKAGE_STRING='GNU C Library (see version.h)'
PACKAGE_TARNAME='c-library'
PACKAGE_VERSION='(see version.h)'
PATH_SEPARATOR=':'
PERL='/usr/bin/perl'
PWD_P='/bin/pwd'
RANLIB=':'
RELEASE='stable'
SED='sed'
SHELL='/bin/bash'
SYSINCLUDES='-nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.1/include -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.1/include-fixed -isystem /usr/src/linux-headers-2.6.31-16/include'
VERSION='2.11'
VERSIONING='yes'
ac_ct_CC='gcc'
ac_ct_CXX='g++'
add_on_subdirs=' glibc-libidn libidn'
add_ons='glibc-libidn glibc-ports libidn nptl'
all_warnings=''
base_machine='x86_64'
bindir='${exec_prefix}/bin'
bindnow='no'
bounded='no'
build='x86_64-unknown-linux-gnu'
build_alias=''
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
cross_compiling='no'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
elf='yes'
enable_check_abi='no'
exceptions='-fexceptions'
exec_prefix='${prefix}'
experimental_malloc=''
fno_unit_at_a_time='-fno-toplevel-reorder -fno-section-anchors'
force_install='yes'
have_libaudit='no'
have_libcap='no'
have_selinux='yes'
host='x86_64-unknown-linux-gnu'
host_alias=''
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='unknown'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
ldd_rewrite_script='../sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed'
libc_cv_Bgroup='yes'
libc_cv_as_needed='yes'
libc_cv_cc_avx='yes'
libc_cv_cc_sse4='yes'
libc_cv_cc_submachine=''
libc_cv_cc_with_libunwind='no'
libc_cv_cpp_asm_debuginfo='yes'
libc_cv_forced_unwind='yes'
libc_cv_fpie='yes'
libc_cv_gcc_static_libgcc='-static-libgcc'
libc_cv_gcc_unwind_find_fde='no'
libc_cv_gnu89_inline='-fgnu89-inline'
libc_cv_hashstyle='yes'
libc_cv_have_bash2='yes'
libc_cv_have_initfini=''
libc_cv_have_ksh='yes'
libc_cv_libgcc_s_suffix=''
libc_cv_localedir='${exec_prefix}/lib/locale'
libc_cv_nss_crypt='no'
libc_cv_pic_default='no'
libc_cv_rootsbindir='/sbin'
libc_cv_slibdir='/lib64'
libc_cv_ssp='yes'
libc_cv_sysconfdir='/etc'
libc_cv_z_combreloc='yes'
libc_cv_z_execstack='yes'
libdir='${exec_prefix}/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='${datarootdir}/man'
multi_arch='no'
no_whole_archive='-Wl,--no-whole-archive'
nopic_initfini=''
old_glibc_headers='no'
oldest_abi='default'
oldincludedir='/usr/include'
omitfp='no'
pdfdir='${docdir}'
prefix='/usr'
profile='no'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
shared='yes'
sharedstatedir='${prefix}/com'
sizeof_long_double='16'
static='yes'
static_nss='no'
subdirs=' '
submachine=''
sysconfdir='${prefix}/etc'
sysdeps_add_ons=' glibc-ports nptl'
sysnames=' sysdeps/x86_64/elf nptl/sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/x86_64 sysdeps/unix/sysv/linux/wordsize-64 glibc-ports/sysdeps/unix/sysv/linux nptl/sysdeps/unix/sysv/linux nptl/sysdeps/pthread sysdeps/pthread sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet glibc-ports/sysdeps/unix/sysv nptl/sysdeps/unix/sysv sysdeps/unix/sysv sysdeps/unix/x86_64 glibc-ports/sysdeps/unix nptl/sysdeps/unix sysdeps/unix sysdeps/posix sysdeps/x86_64/fpu nptl/sysdeps/x86_64 sysdeps/x86_64 sysdeps/wordsize-64 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic'
target_alias=''
uname_release=''
uname_sysname=''
uname_version=''
use_ldconfig='yes'
with_cvs='yes'
with_fp='yes'
xcoff='no'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_BUGREPORT "glibc"
#define HAVE_LIBIDN 1
#define HAVE_LIBIDN 1
#define ASM_GLOBAL_DIRECTIVE .globl
#define HAVE_ASM_SET_DIRECTIVE 1
#define ASM_TYPE_DIRECTIVE_PREFIX @
#define HAVE_ASM_UNIQUE_OBJECT 1
#define DO_VERSIONING 1
#define HAVE_ASM_PREVIOUS_DIRECTIVE 1
#define HAVE_Z_COMBRELOC 1
#define NO_UNDERSCORES 1
#define HAVE_ASM_WEAK_DIRECTIVE 1
#define HAVE_ASM_CFI_DIRECTIVES 1
#define HAVE_BUILTIN_EXPECT 1
#define HAVE_BUILTIN_MEMSET 1
#define HAVE_BUILTIN_REDIRECTION 1
#define HAVE___THREAD 1
#define HAVE_TLS_MODEL_ATTRIBUTE 1
#define HAVE_SELINUX 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define SIZEOF_LONG_DOUBLE 16
#define HAVE_TLS_SUPPORT 1
#define PI_STATIC_AND_HIDDEN 1
#define HAVE_AVX_SUPPORT 1
#define HAVE_FORCED_UNWIND 1
#define __LINUX_KERNEL_VERSION (2 * 65536 + 4 * 256 + 0)
#define __ABI_TAG_VERSION 2,4,0
#define HAVE_INLINED_SYSCALLS 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_CPP_ASM_DEBUGINFO 1
#define HAVE_SSE4_SUPPORT 1
#define USE_IN_LIBIO 1
#define HAVE_ELF 1
configure: exit 0

it seems a little strange.
when I make ,get some problems , it can not get through
you can get here:
http://ubuntuforums.org/showthread.php?t=1365467