This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by gprof configure 2.25, which was generated by GNU Autoconf 2.64. Invocation command line was $ /home/nick/Downloads/binutils-2.25/gprof/configure --cache-file=./config.cache --with-gnu-as --with-gnu-ld --with-system-zlib --program-transform-name=s,y,y, --disable-option-checking --build=x86_64-unknown-linux-gnu --host=x86_64-unknown-linux-gnu --target=x86_64-unknown-linux-gnu --srcdir=.././gprof ## --------- ## ## Platform. ## ## --------- ## hostname = nick-KGP-M-E-D16 uname -m = x86_64 uname -r = 3.16.0-45-generic uname -s = Linux uname -v = #60~14.04.1-Ubuntu SMP Fri Jul 24 21:16:23 UTC 2015 /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/sbin PATH: /usr/bin PATH: /sbin PATH: /bin PATH: /usr/games PATH: /usr/local/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2118: creating cache ./config.cache configure:2223: checking build system type configure:2237: result: x86_64-unknown-linux-gnu configure:2257: checking host system type configure:2270: result: x86_64-unknown-linux-gnu configure:2290: checking target system type configure:2303: result: x86_64-unknown-linux-gnu configure:2337: checking for x86_64-unknown-linux-gnu-gcc configure:2364: result: gcc configure:2633: checking for C compiler version configure:2642: gcc --version >&5 gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 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 PARTICULAR PURPOSE. configure:2653: $? = 0 configure:2642: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --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.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) configure:2653: $? = 0 configure:2642: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:2653: $? = 4 configure:2642: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:2653: $? = 4 configure:2673: checking for C compiler default output file name configure:2695: gcc -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5 configure:2699: $? = 0 configure:2736: result: a.out configure:2752: checking whether the C compiler works configure:2761: ./a.out configure:2765: $? = 0 configure:2780: result: yes configure:2787: checking whether we are cross compiling configure:2789: result: no configure:2792: checking for suffix of executables configure:2799: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5 configure:2803: $? = 0 configure:2825: result: configure:2831: checking for suffix of object files configure:2853: gcc -c -g -O2 conftest.c >&5 configure:2857: $? = 0 configure:2878: result: o configure:2882: checking whether we are using the GNU C compiler configure:2901: gcc -c -g -O2 conftest.c >&5 configure:2901: $? = 0 configure:2910: result: yes configure:2919: checking whether gcc accepts -g configure:2939: gcc -c -g conftest.c >&5 configure:2939: $? = 0 configure:2980: result: yes configure:2997: checking for gcc option to accept ISO C89 configure:3061: gcc -c -g -O2 conftest.c >&5 configure:3061: $? = 0 configure:3074: result: none needed configure:3095: checking for library containing strerror configure:3126: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5 configure:3126: $? = 0 configure:3143: result: none required configure:3168: checking for a BSD-compatible install configure:3236: result: /usr/bin/install -c configure:3247: checking whether build environment is sane configure:3297: result: yes configure:3438: checking for a thread-safe mkdir -p configure:3477: result: /bin/mkdir -p configure:3490: checking for gawk configure:3517: result: gawk configure:3528: checking whether make sets $(MAKE) configure:3550: result: yes configure:3580: checking for style of include used by make configure:3608: result: GNU configure:3693: checking dependency style of gcc configure:3803: result: gcc3 configure:3831: checking for x86_64-unknown-linux-gnu-gcc configure:3858: result: gcc configure:4127: checking for C compiler version configure:4136: gcc --version >&5 gcc (Ubuntu 4.8.4-2ubuntu1~14.04) 4.8.4 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 PARTICULAR PURPOSE. configure:4147: $? = 0 configure:4136: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --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.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04) configure:4147: $? = 0 configure:4136: gcc -V >&5 gcc: error: unrecognized command line option '-V' gcc: fatal error: no input files compilation terminated. configure:4147: $? = 4 configure:4136: gcc -qversion >&5 gcc: error: unrecognized command line option '-qversion' gcc: fatal error: no input files compilation terminated. configure:4147: $? = 4 configure:4151: checking whether we are using the GNU C compiler configure:4179: result: yes configure:4188: checking whether gcc accepts -g configure:4249: result: yes configure:4266: checking for gcc option to accept ISO C89 configure:4343: result: none needed configure:4368: checking how to run the C preprocessor configure:4399: gcc -E conftest.c configure:4399: $? = 0 configure:4413: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4413: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | /* end confdefs.h. */ | #include configure:4438: result: gcc -E configure:4458: gcc -E conftest.c configure:4458: $? = 0 configure:4472: gcc -E conftest.c conftest.c:11:28: fatal error: ac_nonexistent.h: No such file or directory #include ^ compilation terminated. configure:4472: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | /* end confdefs.h. */ | #include configure:4501: checking for grep that handles long lines and -e configure:4559: result: /bin/grep configure:4564: checking for egrep configure:4626: result: /bin/grep -E configure:4631: checking for ANSI C header files configure:4651: gcc -c -g -O2 conftest.c >&5 configure:4651: $? = 0 configure:4724: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5 configure:4724: $? = 0 configure:4724: ./conftest configure:4724: $? = 0 configure:4735: result: yes configure:4748: checking for sys/types.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for sys/stat.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for stdlib.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for string.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for memory.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for strings.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for inttypes.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for stdint.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4748: checking for unistd.h configure:4748: gcc -c -g -O2 conftest.c >&5 configure:4748: $? = 0 configure:4748: result: yes configure:4762: checking minix/config.h usability configure:4762: gcc -c -g -O2 conftest.c >&5 conftest.c:54:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:4762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | #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 | /* 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 | #include configure:4762: result: no configure:4762: checking minix/config.h presence configure:4762: gcc -E conftest.c conftest.c:21:26: fatal error: minix/config.h: No such file or directory #include ^ compilation terminated. configure:4762: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | #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 | /* end confdefs.h. */ | #include configure:4762: result: no configure:4762: checking for minix/config.h configure:4762: result: no configure:4783: checking whether it is safe to define __EXTENSIONS__ configure:4801: gcc -c -g -O2 conftest.c >&5 configure:4801: $? = 0 configure:4808: result: yes configure:4872: checking how to print strings configure:4899: result: printf configure:4920: checking for a sed that does not truncate output configure:4984: result: /bin/sed configure:5002: checking for fgrep configure:5064: result: /bin/grep -F configure:5099: checking for ld used by gcc configure:5166: result: ld configure:5173: checking if the linker (ld) is GNU ld configure:5188: result: yes configure:5200: checking for BSD- or MS-compatible name lister (nm) configure:5249: result: nm configure:5379: checking the name lister (nm) interface configure:5386: gcc -c -g -O2 conftest.c >&5 configure:5389: nm "conftest.o" configure:5392: output 0000000000000000 B some_variable configure:5399: result: BSD nm configure:5402: checking whether ln -s works configure:5406: result: yes configure:5414: checking the maximum length of command line arguments configure:5539: result: 3458764513820540925 configure:5556: checking whether the shell understands some XSI constructs configure:5566: result: yes configure:5570: checking whether the shell understands "+=" configure:5576: result: yes configure:5611: checking for ld option to reload object files configure:5618: result: -r configure:5647: checking for x86_64-unknown-linux-gnu-objdump configure:5674: result: objdump configure:5746: checking how to recognize dependent libraries configure:5947: result: pass_all configure:5967: checking for x86_64-unknown-linux-gnu-ar configure:5994: result: ar configure:6072: checking for x86_64-unknown-linux-gnu-strip configure:6102: result: no configure:6112: checking for strip configure:6128: found /usr/bin/strip configure:6139: result: strip configure:6171: checking for x86_64-unknown-linux-gnu-ranlib configure:6198: result: ranlib configure:6340: checking command to parse nm output from gcc object configure:6458: gcc -c -g -O2 conftest.c >&5 configure:6461: $? = 0 configure:6465: nm conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6468: $? = 0 configure:6522: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c conftstm.o >&5 configure:6525: $? = 0 configure:6563: result: ok configure:6658: gcc -c -g -O2 conftest.c >&5 configure:6661: $? = 0 configure:7411: checking for dlfcn.h configure:7411: gcc -c -g -O2 conftest.c >&5 configure:7411: $? = 0 configure:7411: result: yes configure:7598: checking for objdir configure:7613: result: .libs configure:7884: checking if gcc supports -fno-rtti -fno-exceptions configure:7902: 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:7906: $? = 0 configure:7919: result: no configure:7939: checking for gcc option to produce PIC configure:8225: result: -fPIC -DPIC configure:8237: checking if gcc PIC flag -fPIC -DPIC works configure:8255: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:8259: $? = 0 configure:8272: result: yes configure:8296: checking if gcc static flag -static works configure:8324: result: yes configure:8339: checking if gcc supports -c -o file.o configure:8360: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:8364: $? = 0 configure:8386: result: yes configure:8394: checking if gcc supports -c -o file.o configure:8441: result: yes configure:8474: checking whether the gcc linker (ld -m elf_x86_64) supports shared libraries configure:9545: result: yes configure:9582: checking whether -lc should be explicitly linked in configure:9590: gcc -c -g -O2 conftest.c >&5 configure:9593: $? = 0 configure:9608: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:9611: $? = 0 configure:9625: result: no configure:9790: checking dynamic linker characteristics configure:10241: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10241: $? = 0 configure:10463: result: GNU/Linux ld.so configure:10570: checking how to hardcode library paths into programs configure:10595: result: immediate configure:11135: checking whether stripping libraries is possible configure:11140: result: yes configure:11175: checking if libtool supports shared libraries configure:11177: result: yes configure:11180: checking whether to build shared libraries configure:11201: result: yes configure:11204: checking whether to build static libraries configure:11208: result: yes configure:11256: checking for dlfcn.h configure:11256: result: yes configure:11269: checking for windows.h configure:11269: gcc -c -g -O2 conftest.c >&5 conftest.c:63:21: fatal error: windows.h: No such file or directory #include ^ compilation terminated. configure:11269: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_DLFCN_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 | | #include configure:11269: result: no configure:11296: checking for library containing dlopen configure:11327: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c >&5 /tmp/ccLnOL2r.o: In function `main': /home/nick/Downloads/binutils-2.25/gprof/conftest.c:40: undefined reference to `dlopen' collect2: error: ld returned 1 exit status configure:11327: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_DLFCN_H 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 dlopen (); | int | main () | { | return dlopen (); | ; | return 0; | } configure:11327: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c -ldl >&5 configure:11327: $? = 0 configure:11344: result: -ldl configure:11375: checking for special C compiler options needed for large files configure:11420: result: no configure:11426: checking for _FILE_OFFSET_BITS value needed for large files configure:11451: gcc -c -g -O2 conftest.c >&5 configure:11451: $? = 0 configure:11483: result: no configure:11570: checking for setmode configure:11570: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c -ldl >&5 /tmp/ccQox2pJ.o: In function `main': /home/nick/Downloads/binutils-2.25/gprof/conftest.c:63: undefined reference to `setmode' collect2: error: ld returned 1 exit status configure:11570: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_DLFCN_H 1 | /* end confdefs.h. */ | /* Define setmode to an innocuous variant, in case declares setmode. | For example, HP-UX 11i declares gettimeofday. */ | #define setmode innocuous_setmode | | /* System header to define __stub macros and hopefully few prototypes, | which can conflict with char setmode (); below. | Prefer to if __STDC__ is defined, since | exists even on freestanding compilers. */ | | #ifdef __STDC__ | # include | #else | # include | #endif | | #undef setmode | | /* 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 setmode (); | /* 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_setmode || defined __stub___setmode | choke me | #endif | | int | main () | { | return setmode (); | ; | return 0; | } configure:11570: result: no configure:11594: checking whether NLS is requested configure:11600: result: yes configure:11606: checking for catalogs to be installed configure:11638: result: bg da de eo es fi fr ga hu id it ja ms nl pt_BR ro ru rw sr sv tr uk vi bg da de eo es fi fr ga hu id it ja ms nl pt_BR ro ru rw sr sv tr uk vi configure:11665: checking whether NLS is requested configure:11674: result: yes configure:11712: checking for msgfmt configure:11743: result: /usr/bin/msgfmt configure:11752: checking for gmsgfmt configure:11783: result: /usr/bin/msgfmt configure:11823: checking for xgettext configure:11854: result: /usr/bin/xgettext configure:11894: checking for msgmerge configure:11924: result: /usr/bin/msgmerge configure:11961: checking whether to enable maintainer-specific portions of Makefiles configure:11970: result: no configure:11995: checking sys/gmon_out.h usability configure:11995: gcc -c -g -O2 conftest.c >&5 configure:11995: $? = 0 configure:11995: result: yes configure:11995: checking sys/gmon_out.h presence configure:11995: gcc -E conftest.c configure:11995: $? = 0 configure:11995: result: yes configure:11995: checking for sys/gmon_out.h configure:11995: result: yes configure:12006: checking for a known getopt prototype in unistd.h configure:12022: gcc -c -g -O2 conftest.c >&5 configure:12022: $? = 0 configure:12030: result: yes configure:12039: checking for library containing fabs configure:12070: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c -ldl >&5 conftest.c:39:6: warning: conflicting types for built-in function 'fabs' [enabled by default] char fabs (); ^ /tmp/ccMsVpOI.o: In function `main': /home/nick/Downloads/binutils-2.25/gprof/conftest.c:43: undefined reference to `fabs' collect2: error: ld returned 1 exit status configure:12070: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "gprof" | #define PACKAGE_TARNAME "gprof" | #define PACKAGE_VERSION "2.25" | #define PACKAGE_STRING "gprof 2.25" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define PACKAGE "gprof" | #define VERSION "2.25" | #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 __EXTENSIONS__ 1 | #define _ALL_SOURCE 1 | #define _GNU_SOURCE 1 | #define _POSIX_PTHREAD_SEMANTICS 1 | #define _TANDEM_SOURCE 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_DLFCN_H 1 | #define ENABLE_NLS 1 | #define HAVE_SYS_GMON_OUT_H 1 | #define HAVE_DECL_GETOPT 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 fabs (); | int | main () | { | return fabs (); | ; | return 0; | } configure:12070: gcc -o conftest -g -O2 -static-libstdc++ -static-libgcc conftest.c -lm -ldl >&5 conftest.c:39:6: warning: conflicting types for built-in function 'fabs' [enabled by default] char fabs (); ^ configure:12070: $? = 0 configure:12087: result: -lm configure:12245: updating cache ./config.cache configure:12306: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by gprof config.status 2.25, which was generated by GNU Autoconf 2.64. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on nick-KGP-M-E-D16 config.status:1107: creating Makefile config.status:1107: creating po/Makefile.in config.status:1107: creating gconfig.h config.status:1327: executing depfiles commands config.status:1327: executing libtool commands config.status:1327: executing default-1 commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set=set ac_cv_env_CC_value=gcc ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-g -O2' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set=set ac_cv_env_LDFLAGS_value='-static-libstdc++ -static-libgcc ' ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=x86_64-unknown-linux-gnu ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=x86_64-unknown-linux-gnu ac_cv_func_setmode=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_minix_config_h=no 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_gmon_out_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_header_windows_h=no ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GMSGFMT=/usr/bin/msgfmt ac_cv_path_GREP=/bin/grep ac_cv_path_MSGFMT=/usr/bin/msgfmt ac_cv_path_MSGMERGE=/usr/bin/msgmerge ac_cv_path_SED=/bin/sed ac_cv_path_XGETTEXT=/usr/bin/xgettext ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AR=ar ac_cv_prog_AWK=gawk ac_cv_prog_CC=gcc ac_cv_prog_CPP='gcc -E' ac_cv_prog_OBJDUMP=objdump ac_cv_prog_RANLIB=ranlib ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes ac_cv_safe_to_define___extensions__=yes ac_cv_search_dlopen=-ldl ac_cv_search_fabs=-lm ac_cv_search_strerror='none required' ac_cv_sys_file_offset_bits=no ac_cv_sys_largefile_CC=no ac_cv_target=x86_64-unknown-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 gprof_cv_decl_getopt_unistd_h=yes 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=ld lt_cv_path_NM=nm lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes 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'\''' 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=3458764513820540925 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/nick/Downloads/binutils-2.25/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/nick/Downloads/binutils-2.25/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/nick/Downloads/binutils-2.25/missing --run autoconf' AUTOHEADER='${SHELL} /home/nick/Downloads/binutils-2.25/missing --run autoheader' AUTOMAKE='${SHELL} /home/nick/Downloads/binutils-2.25/missing --run automake-1.11' AWK='gawk' CATALOGS=' bg.gmo da.gmo de.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hu.gmo id.gmo it.gmo ja.gmo ms.gmo nl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo bg.gmo da.gmo de.gmo eo.gmo es.gmo fi.gmo fr.gmo ga.gmo hu.gmo id.gmo it.gmo ja.gmo ms.gmo nl.gmo pt_BR.gmo ro.gmo ru.gmo rw.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo' CATOBJEXT='.gmo' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CPP='gcc -E' CPPFLAGS='' CYGPATH_W='echo' DATADIRNAME='share' DEFS='-DHAVE_CONFIG_H' DEPDIR='.deps' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXEEXT='' FGREP='/bin/grep -F' GENCAT='gencat' GENINSRC_NEVER_FALSE='' GENINSRC_NEVER_TRUE='#' GMSGFMT='/usr/bin/msgfmt' GREP='/bin/grep' INCINTL='' INSTALL_DATA='/usr/bin/install -c -m 644' INSTALL_PROGRAM='/usr/bin/install -c' INSTALL_SCRIPT='/usr/bin/install -c' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INSTOBJEXT='.mo' LD='ld -m elf_x86_64' LDFLAGS='-static-libstdc++ -static-libgcc ' LIBINTL='' LIBINTL_DEP='' LIBOBJS='' LIBS='-lm -ldl ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' MAKEINFO='makeinfo --split-size=5000000' MKDIR_P='/bin/mkdir -p' MKINSTALLDIRS='$(top_builddir)/./../mkinstalldirs' MSGFMT='/usr/bin/msgfmt' MSGMERGE='/usr/bin/msgmerge' NM='nm' NMEDIT='' NO_WERROR='' OBJDUMP='objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='gprof' PACKAGE_BUGREPORT='' PACKAGE_NAME='gprof' PACKAGE_STRING='gprof 2.25' PACKAGE_TARNAME='gprof' PACKAGE_URL='' PACKAGE_VERSION='2.25' PATH_SEPARATOR=':' POSUB='po' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' USE_NLS='yes' VERSION='2.25' WARN_CFLAGS='-W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow' XGETTEXT='/usr/bin/xgettext' ac_ct_CC='' ac_ct_DUMPBIN='' am__EXEEXT_FALSE='' am__EXEEXT_TRUE='#' am__fastdepCC_FALSE='#' am__fastdepCC_TRUE='' am__include='include' am__isrc='' am__leading_dot='.' am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' build='x86_64-unknown-linux-gnu' build_alias='x86_64-unknown-linux-gnu' 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='x86_64-unknown-linux-gnu' host_cpu='x86_64' host_os='linux-gnu' host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/nick/Downloads/binutils-2.25/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/local' program_transform_name='s,y,y,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='x86_64-unknown-linux-gnu' target_alias='x86_64-unknown-linux-gnu' target_cpu='x86_64' target_os='linux-gnu' target_vendor='unknown' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "gprof" #define PACKAGE_TARNAME "gprof" #define PACKAGE_VERSION "2.25" #define PACKAGE_STRING "gprof 2.25" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "" #define PACKAGE "gprof" #define VERSION "2.25" #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 __EXTENSIONS__ 1 #define _ALL_SOURCE 1 #define _GNU_SOURCE 1 #define _POSIX_PTHREAD_SEMANTICS 1 #define _TANDEM_SOURCE 1 #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_DLFCN_H 1 #define ENABLE_NLS 1 #define HAVE_SYS_GMON_OUT_H 1 #define HAVE_DECL_GETOPT 1 configure: exit 0