This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libthree_rates configure 1.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = master uname -m = x86_64 uname -r = 3.10.0-957.el7.x86_64 uname -s = Linux uname -v = #1 SMP Thu Nov 8 23:39:32 UTC 2018 /usr/bin/uname -p = x86_64 /bin/uname -X = unknown /bin/arch = x86_64 /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/bin PATH: /usr/bin PATH: /usr/local/sbin PATH: /usr/sbin PATH: /usr/local/nodejs/bin PATH: /home/zhuyf/.local/bin PATH: /home/zhuyf/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2578: checking for a BSD-compatible install configure:2646: result: /usr/bin/install -c configure:2657: checking whether build environment is sane configure:2712: result: yes configure:2863: checking for a thread-safe mkdir -p configure:2902: result: /usr/bin/mkdir -p configure:2909: checking for gawk configure:2925: found /usr/bin/gawk configure:2936: result: gawk configure:2947: checking whether make sets $(MAKE) configure:2969: result: yes configure:2998: checking whether make supports nested variables configure:3015: result: yes configure:3159: checking for g++ configure:3175: found /usr/bin/g++ configure:3186: result: g++ configure:3213: checking for C++ compiler version configure:3222: g++ --version >&5 g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 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:3233: $? = 0 configure:3222: g++ -v >&5 Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) configure:3233: $? = 0 configure:3222: g++ -V >&5 g++: error: unrecognized command line option '-V' g++: fatal error: no input files compilation terminated. configure:3233: $? = 4 configure:3222: g++ -qversion >&5 g++: error: unrecognized command line option '-qversion' g++: fatal error: no input files compilation terminated. configure:3233: $? = 4 configure:3253: checking whether the C++ compiler works configure:3275: g++ conftest.cpp >&5 configure:3279: $? = 0 configure:3327: result: yes configure:3330: checking for C++ compiler default output file name configure:3332: result: a.out configure:3338: checking for suffix of executables configure:3345: g++ -o conftest conftest.cpp >&5 configure:3349: $? = 0 configure:3371: result: configure:3393: checking whether we are cross compiling configure:3401: g++ -o conftest conftest.cpp >&5 configure:3405: $? = 0 configure:3412: ./conftest configure:3416: $? = 0 configure:3431: result: no configure:3436: checking for suffix of object files configure:3458: g++ -c conftest.cpp >&5 configure:3462: $? = 0 configure:3483: result: o configure:3487: checking whether we are using the GNU C++ compiler configure:3506: g++ -c conftest.cpp >&5 configure:3506: $? = 0 configure:3515: result: yes configure:3524: checking whether g++ accepts -g configure:3544: g++ -c -g conftest.cpp >&5 configure:3544: $? = 0 configure:3585: result: yes configure:3619: checking for style of include used by make configure:3647: result: GNU configure:3673: checking dependency style of g++ configure:3784: result: gcc3 configure:3847: checking for gcc configure:3863: found /usr/bin/gcc configure:3874: result: gcc configure:4103: checking for C compiler version configure:4112: gcc --version >&5 gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) Copyright (C) 2015 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:4123: $? = 0 configure:4112: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) configure:4123: $? = 0 configure:4112: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4123: $? = 4 configure:4112: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4123: $? = 4 configure:4127: checking whether we are using the GNU C compiler configure:4146: gcc -c conftest.c >&5 configure:4146: $? = 0 configure:4155: result: yes configure:4164: checking whether gcc accepts -g configure:4184: gcc -c -g conftest.c >&5 configure:4184: $? = 0 configure:4225: result: yes configure:4242: checking for gcc option to accept ISO C89 configure:4305: gcc -c -g -O2 conftest.c >&5 configure:4305: $? = 0 configure:4318: result: none needed configure:4340: checking dependency style of gcc configure:4451: result: gcc3 configure:4470: checking for main in -lrt configure:4489: gcc -o conftest -g -O2 conftest.c -lrt >&5 configure:4489: $? = 0 configure:4498: result: yes configure:4516: checking how to run the C preprocessor configure:4547: gcc -E conftest.c configure:4547: $? = 0 configure:4561: gcc -E conftest.c conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4561: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 1 | /* end confdefs.h. */ | #include configure:4586: result: gcc -E configure:4606: gcc -E conftest.c configure:4606: $? = 0 configure:4620: gcc -E conftest.c conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4620: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 1 | /* end confdefs.h. */ | #include configure:4649: checking for grep that handles long lines and -e configure:4707: result: /usr/bin/grep configure:4712: checking for egrep configure:4774: result: /usr/bin/grep -E configure:4779: checking for ANSI C header files configure:4799: gcc -c -g -O2 conftest.c >&5 configure:4799: $? = 0 configure:4872: gcc -o conftest -g -O2 conftest.c -lrt >&5 configure:4872: $? = 0 configure:4872: ./conftest configure:4872: $? = 0 configure:4883: result: yes configure:4896: checking for sys/types.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for sys/stat.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for stdlib.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for string.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for memory.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for strings.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for inttypes.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for stdint.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4896: checking for unistd.h configure:4896: gcc -c -g -O2 conftest.c >&5 configure:4896: $? = 0 configure:4896: result: yes configure:4911: checking float.h usability configure:4911: gcc -c -g -O2 conftest.c >&5 configure:4911: $? = 0 configure:4911: result: yes configure:4911: checking float.h presence configure:4911: gcc -E conftest.c configure:4911: $? = 0 configure:4911: result: yes configure:4911: checking for float.h configure:4911: result: yes configure:4911: checking for stdlib.h configure:4911: result: yes configure:4911: checking for string.h configure:4911: result: yes configure:4911: checking sys/time.h usability configure:4911: gcc -c -g -O2 conftest.c >&5 configure:4911: $? = 0 configure:4911: result: yes configure:4911: checking sys/time.h presence configure:4911: gcc -E conftest.c configure:4911: $? = 0 configure:4911: result: yes configure:4911: checking for sys/time.h configure:4911: result: yes configure:4911: checking for unistd.h configure:4911: result: yes configure:4923: checking for stdbool.h that conforms to C99 configure:4990: gcc -c -g -O2 conftest.c >&5 configure:4990: $? = 0 configure:4997: result: yes configure:4999: checking for _Bool configure:4999: gcc -c -g -O2 conftest.c >&5 configure:4999: $? = 0 configure:4999: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:63:20: error: expected expression before ')' token if (sizeof ((_Bool))) ^ configure:4999: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 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_FLOAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((_Bool))) | return 0; | ; | return 0; | } configure:4999: result: yes configure:5010: checking for inline configure:5026: gcc -c -g -O2 conftest.c >&5 configure:5026: $? = 0 configure:5034: result: inline configure:5052: checking for int32_t configure:5052: gcc -c -g -O2 conftest.c >&5 configure:5052: $? = 0 configure:5052: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:66:53: warning: integer overflow in expression [-Woverflow] < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; ^ conftest.c:65:12: error: storage size of 'test_array' isn't constant static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) ^ configure:5052: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 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_FLOAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE__BOOL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | enum { N = 32 / 2 - 1 }; | int | main () | { | static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) | < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; | test_array [0] = 0; | return test_array [0]; | | ; | return 0; | } configure:5052: result: yes configure:5063: checking for size_t configure:5063: gcc -c -g -O2 conftest.c >&5 configure:5063: $? = 0 configure:5063: gcc -c -g -O2 conftest.c >&5 conftest.c: In function 'main': conftest.c:64:21: error: expected expression before ')' token if (sizeof ((size_t))) ^ configure:5063: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 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_FLOAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE__BOOL 1 | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H | # include | #endif | #ifdef HAVE_SYS_STAT_H | # include | #endif | #ifdef STDC_HEADERS | # include | # include | #else | # ifdef HAVE_STDLIB_H | # include | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include | # endif | # include | #endif | #ifdef HAVE_STRINGS_H | # include | #endif | #ifdef HAVE_INTTYPES_H | # include | #endif | #ifdef HAVE_STDINT_H | # include | #endif | #ifdef HAVE_UNISTD_H | # include | #endif | int | main () | { | if (sizeof ((size_t))) | return 0; | ; | return 0; | } configure:5063: result: yes configure:5074: checking for uint32_t configure:5074: gcc -c -g -O2 conftest.c >&5 configure:5074: $? = 0 configure:5074: result: yes configure:5088: checking for uint64_t configure:5088: gcc -c -g -O2 conftest.c >&5 configure:5088: $? = 0 configure:5088: result: yes configure:5102: checking for uint8_t configure:5102: gcc -c -g -O2 conftest.c >&5 configure:5102: $? = 0 configure:5102: result: yes configure:5146: checking build system type configure:5160: result: x86_64-unknown-linux-gnu configure:5180: checking host system type configure:5193: result: x86_64-unknown-linux-gnu configure:5234: checking how to print strings configure:5261: result: printf configure:5282: checking for a sed that does not truncate output configure:5346: result: /usr/bin/sed configure:5364: checking for fgrep configure:5426: result: /usr/bin/grep -F configure:5461: checking for ld used by gcc configure:5528: result: /usr/bin/ld configure:5535: checking if the linker (/usr/bin/ld) is GNU ld configure:5550: result: yes configure:5562: checking for BSD- or MS-compatible name lister (nm) configure:5611: result: /usr/bin/nm -B configure:5741: checking the name lister (/usr/bin/nm -B) interface configure:5748: gcc -c -g -O2 conftest.c >&5 configure:5751: /usr/bin/nm -B "conftest.o" configure:5754: output 0000000000000000 B some_variable configure:5761: result: BSD nm configure:5764: checking whether ln -s works configure:5768: result: yes configure:5776: checking the maximum length of command line arguments configure:5906: result: 1572864 configure:5923: checking whether the shell understands some XSI constructs configure:5933: result: yes configure:5937: checking whether the shell understands "+=" configure:5943: result: yes configure:5978: checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format configure:6018: result: func_convert_file_noop configure:6025: checking how to convert x86_64-unknown-linux-gnu file names to toolchain format configure:6045: result: func_convert_file_noop configure:6052: checking for /usr/bin/ld option to reload object files configure:6059: result: -r configure:6133: checking for objdump configure:6149: found /usr/bin/objdump configure:6160: result: objdump configure:6192: checking how to recognize dependent libraries configure:6394: result: pass_all configure:6479: checking for dlltool configure:6509: result: no configure:6539: checking how to associate runtime and link libraries configure:6566: result: printf %s\n configure:6626: checking for ar configure:6642: found /usr/bin/ar configure:6653: result: ar configure:6690: checking for archiver @FILE support configure:6707: gcc -c -g -O2 conftest.c >&5 configure:6707: $? = 0 configure:6710: ar cru libconftest.a @conftest.lst >&5 configure:6713: $? = 0 configure:6718: ar cru libconftest.a @conftest.lst >&5 ar: conftest.o: No such file or directory configure:6721: $? = 1 configure:6733: result: @ configure:6791: checking for strip configure:6807: found /usr/bin/strip configure:6818: result: strip configure:6890: checking for ranlib configure:6906: found /usr/bin/ranlib configure:6917: result: ranlib configure:7019: checking command to parse /usr/bin/nm -B output from gcc object configure:7139: gcc -c -g -O2 conftest.c >&5 configure:7142: $? = 0 configure:7146: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' \> conftest.nm configure:7149: $? = 0 configure:7215: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:7218: $? = 0 configure:7256: result: ok configure:7293: checking for sysroot configure:7323: result: no configure:7400: gcc -c -g -O2 conftest.c >&5 configure:7403: $? = 0 configure:7579: checking for mt configure:7609: result: no configure:7629: checking if : is a manifest tool configure:7635: : '-?' configure:7643: result: no configure:8282: checking for dlfcn.h configure:8282: gcc -c -g -O2 conftest.c >&5 configure:8282: $? = 0 configure:8282: result: yes configure:8499: checking for objdir configure:8514: result: .libs configure:8781: checking if gcc supports -fno-rtti -fno-exceptions configure:8799: gcc -c -g -O2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C [enabled by default] configure:8803: $? = 0 configure:8816: result: no configure:9143: checking for gcc option to produce PIC configure:9150: result: -fPIC -DPIC configure:9158: checking if gcc PIC flag -fPIC -DPIC works configure:9176: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:9180: $? = 0 configure:9193: result: yes configure:9222: checking if gcc static flag -static works configure:9250: result: no configure:9265: checking if gcc supports -c -o file.o configure:9286: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:9290: $? = 0 configure:9312: result: yes configure:9320: checking if gcc supports -c -o file.o configure:9367: result: yes configure:9400: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:10553: result: yes configure:10590: checking whether -lc should be explicitly linked in configure:10598: gcc -c -g -O2 conftest.c >&5 configure:10601: $? = 0 configure:10616: gcc -shared -fPIC -DPIC conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /usr/bin/grep -lc \>/dev/null 2\>\&1 configure:10619: $? = 0 configure:10633: result: no configure:10793: checking dynamic linker characteristics configure:11304: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c -lrt >&5 configure:11304: $? = 0 configure:11530: result: GNU/Linux ld.so configure:11637: checking how to hardcode library paths into programs configure:11662: result: immediate configure:12202: checking whether stripping libraries is possible configure:12207: result: yes configure:12242: checking if libtool supports shared libraries configure:12244: result: yes configure:12247: checking whether to build shared libraries configure:12268: result: yes configure:12271: checking whether to build static libraries configure:12275: result: yes configure:12298: checking how to run the C++ preprocessor configure:12325: g++ -E conftest.cpp configure:12325: $? = 0 configure:12339: g++ -E conftest.cpp conftest.cpp:30:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:12339: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 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_FLOAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE__BOOL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:12364: result: g++ -E configure:12384: g++ -E conftest.cpp configure:12384: $? = 0 configure:12398: g++ -E conftest.cpp conftest.cpp:30:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:12398: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 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_FLOAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE__BOOL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include configure:12567: checking for ld used by g++ configure:12634: result: /usr/bin/ld -m elf_x86_64 configure:12641: checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld configure:12656: result: yes configure:12711: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:13716: result: yes configure:13752: g++ -c -g -O2 conftest.cpp >&5 configure:13755: $? = 0 configure:14275: checking for g++ option to produce PIC configure:14282: result: -fPIC -DPIC configure:14290: checking if g++ PIC flag -fPIC -DPIC works configure:14308: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:14312: $? = 0 configure:14325: result: yes configure:14348: checking if g++ static flag -static works configure:14376: result: no configure:14388: checking if g++ supports -c -o file.o configure:14409: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:14413: $? = 0 configure:14435: result: yes configure:14440: checking if g++ supports -c -o file.o configure:14487: result: yes configure:14517: checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:14553: result: yes configure:14694: checking dynamic linker characteristics configure:15365: result: GNU/Linux ld.so configure:15418: checking how to hardcode library paths into programs configure:15443: result: immediate configure:15506: checking whether time.h and sys/time.h may both be included configure:15526: gcc -c -g -O2 conftest.c >&5 configure:15526: $? = 0 configure:15533: result: yes configure:15547: checking for sys/time.h configure:15547: result: yes configure:15547: checking for unistd.h configure:15547: result: yes configure:15568: checking for alarm configure:15568: gcc -o conftest -g -O2 conftest.c -lrt >&5 configure:15568: $? = 0 configure:15568: result: yes configure:15581: checking for working mktime configure:15783: gcc -o conftest -g -O2 conftest.c -lrt >&5 configure:15783: $? = 0 configure:15783: ./conftest configure:15783: $? = 0 configure:15793: result: yes configure:15807: checking for gettimeofday configure:15807: gcc -o conftest -g -O2 conftest.c -lrt >&5 configure:15807: $? = 0 configure:15807: result: yes configure:15807: checking for localtime_r configure:15807: gcc -o conftest -g -O2 conftest.c -lrt >&5 configure:15807: $? = 0 configure:15807: result: yes configure:15807: checking for memset configure:15807: gcc -o conftest -g -O2 conftest.c -lrt >&5 conftest.c:59:6: warning: conflicting types for built-in function 'memset' [enabled by default] char memset (); ^ configure:15807: $? = 0 configure:15807: result: yes configure:15807: checking for sqrt configure:15807: gcc -o conftest -g -O2 conftest.c -lrt >&5 conftest.c:60:6: warning: conflicting types for built-in function 'sqrt' [enabled by default] char sqrt (); ^ /tmp/ccb1JjDP.o: In function `main': /home/zhuyf/work/src/three_rates_modules/conftest.c:71: undefined reference to `sqrt' collect2: error: ld returned 1 exit status configure:15807: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libthree_rates" | #define PACKAGE_TARNAME "libthree_rates" | #define PACKAGE_VERSION "1.0" | #define PACKAGE_STRING "libthree_rates 1.0" | #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" | #define PACKAGE_URL "" | #define PACKAGE "libthree_rates" | #define VERSION "1.0" | #define HAVE_LIBRT 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_FLOAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE__BOOL 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define TIME_WITH_SYS_TIME 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_ALARM 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_LOCALTIME_R 1 | #define HAVE_MEMSET 1 | /* end confdefs.h. */ | /* Define sqrt to an innocuous variant, in case declares sqrt. | For example, HP-UX 11i declares gettimeofday. */ | #define sqrt innocuous_sqrt | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char sqrt (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef sqrt | | /* 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 sqrt (); | /* The GNU C library defines this for functions which it implements | to always fail with ENOSYS. Some functions are actually named | something starting with __ and the normal name is an alias. */ | #if defined __stub_sqrt || defined __stub___sqrt | choke me | #endif | | int | main () | { | return sqrt (); | ; | return 0; | } configure:15807: result: no configure:15928: checking that generated files are newer than configure configure:15934: result: done configure:15961: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by libthree_rates config.status 1.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on master config.status:1157: creating Makefile config.status:1157: creating config.h config.status:1386: executing depfiles commands config.status:1386: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_inline=inline ac_cv_c_int32_t=yes ac_cv_c_uint32_t=yes ac_cv_c_uint64_t=yes ac_cv_c_uint8_t=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_CXXCPP_set= ac_cv_env_CXXCPP_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_func_alarm=yes ac_cv_func_gettimeofday=yes ac_cv_func_localtime_r=yes ac_cv_func_memset=yes ac_cv_func_sqrt=no ac_cv_func_working_mktime=yes ac_cv_header_dlfcn_h=yes ac_cv_header_float_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdbool_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_time_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_time=yes ac_cv_header_unistd_h=yes ac_cv_host=x86_64-unknown-linux-gnu ac_cv_lib_rt_main=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='g++ -E' ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=g++ ac_cv_prog_ac_ct_OBJDUMP=objdump ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_type__Bool=yes ac_cv_type_size_t=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes lt_cv_ar_at_file=@ lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd='$MAGIC_CMD' lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/bin/ld lt_cv_path_LDCXX='/usr/bin/ld -m elf_x86_64' lt_cv_path_NM='/usr/bin/nm -B' lt_cv_path_mainfest_tool=no lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_pic='-fPIC -DPIC' lt_cv_prog_compiler_pic_CXX='-fPIC -DPIC' lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_pic_works_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=no lt_cv_prog_compiler_static_works_CXX=no lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes lt_cv_sharedlib_from_linklib_cmd='printf %s\n' lt_cv_shlibpath_overrides_runpath=no lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p'\'' | sed '\''/ __gnu_lto/d'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: \([^ ]*\)[ ]*$/ {\"\1\", (void *) 0},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \(lib[^ ]*\)$/ {"\2", (void *) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW]* \([^ ]*\) \([^ ]*\)$/ {"lib\2", (void *) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T .* \(.*\)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 lt_cv_to_host_file_cmd=func_convert_file_noop lt_cv_to_tool_file_cmd=func_convert_file_noop ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/zhuyf/work/src/three_rates_modules/missing aclocal-1.13' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='ar' AUTOCONF='${SHELL} /home/zhuyf/work/src/three_rates_modules/missing autoconf' AUTOHEADER='${SHELL} /home/zhuyf/work/src/three_rates_modules/missing autoheader' AUTOMAKE='${SHELL} /home/zhuyf/work/src/three_rates_modules/missing automake-1.13' AWK='gawk' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DLLTOOL='false' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' FGREP='/usr/bin/grep -F' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='-lrt ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/zhuyf/work/src/three_rates_modules/missing makeinfo' MANIFEST_TOOL=':' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='libthree_rates' PACKAGE_BUGREPORT='zhuyunfei@zh3x.cn' PACKAGE_NAME='libthree_rates' PACKAGE_STRING='libthree_rates 1.0' PACKAGE_TARNAME='libthree_rates' PACKAGE_URL='' PACKAGE_VERSION='1.0' PATH_SEPARATOR=':' RANLIB='ranlib' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='strip' VERSION='1.0' ac_ct_AR='ar' ac_ct_CC='gcc' ac_ct_CXX='g++' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__fastdepCXX_FALSE='#' am__fastdepCXX_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__nodep='_no' am__quote='' am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='' build_cpu='x86_64' build_os='linux-gnu' build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' 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' install_sh='${SHELL} /home/zhuyf/work/src/three_rates_modules/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libthree_rates" #define PACKAGE_TARNAME "libthree_rates" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "libthree_rates 1.0" #define PACKAGE_BUGREPORT "zhuyunfei@zh3x.cn" #define PACKAGE_URL "" #define PACKAGE "libthree_rates" #define VERSION "1.0" #define HAVE_LIBRT 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_FLOAT_H 1 #define HAVE_STDLIB_H 1 #define HAVE_STRING_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE__BOOL 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define TIME_WITH_SYS_TIME 1 #define HAVE_SYS_TIME_H 1 #define HAVE_UNISTD_H 1 #define HAVE_ALARM 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_LOCALTIME_R 1 #define HAVE_MEMSET 1 configure: exit 0