This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by libtorrent-rasterbar configure 0.15.0, which was generated by GNU Autoconf 2.65. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = hackbox uname -m = i686 uname -r = 2.6.32-trunk-686 uname -s = Linux uname -v = #1 SMP Sun Jan 10 06:32:16 UTC 2010 /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/bin PATH: /usr/bin PATH: /bin PATH: /usr/games ## ----------- ## ## Core tests. ## ## ----------- ## configure:2701: checking for gcc configure:2717: found /usr/bin/gcc configure:2728: result: gcc configure:2957: checking for C compiler version configure:2966: gcc --version >&5 gcc (Debian 4.3.4-6) 4.3.4 Copyright (C) 2008 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:2977: $? = 0 configure:2966: gcc -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/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 --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.4 (Debian 4.3.4-6) configure:2977: $? = 0 configure:2966: gcc -V >&5 gcc: '-V' option must have argument configure:2977: $? = 1 configure:2966: gcc -qversion >&5 gcc: unrecognized option '-qversion' gcc: no input files configure:2977: $? = 1 configure:2997: checking whether the C compiler works configure:3019: gcc conftest.c >&5 configure:3023: $? = 0 configure:3072: result: yes configure:3075: checking for C compiler default output file name configure:3077: result: a.out configure:3083: checking for suffix of executables configure:3090: gcc -o conftest conftest.c >&5 configure:3094: $? = 0 configure:3116: result: configure:3138: checking whether we are cross compiling configure:3146: gcc -o conftest conftest.c >&5 configure:3150: $? = 0 configure:3157: ./conftest configure:3161: $? = 0 configure:3176: result: no configure:3181: checking for suffix of object files configure:3203: gcc -c conftest.c >&5 configure:3207: $? = 0 configure:3228: result: o configure:3232: checking whether we are using the GNU C compiler configure:3251: gcc -c conftest.c >&5 configure:3251: $? = 0 configure:3260: result: yes configure:3269: checking whether gcc accepts -g configure:3289: gcc -c -g conftest.c >&5 configure:3289: $? = 0 configure:3330: result: yes configure:3347: checking for gcc option to accept ISO C89 configure:3411: gcc -c -g -O2 conftest.c >&5 configure:3411: $? = 0 configure:3424: result: none needed configure:3449: checking how to run the C preprocessor configure:3480: gcc -E conftest.c configure:3480: $? = 0 configure:3494: gcc -E conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:3494: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:3519: result: gcc -E configure:3539: gcc -E conftest.c configure:3539: $? = 0 configure:3553: gcc -E conftest.c conftest.c:9:28: error: ac_nonexistent.h: No such file or directory configure:3553: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:3582: checking whether gcc and cc understand -c and -o together configure:3613: gcc -c conftest.c -o conftest2.o >&5 configure:3617: $? = 0 configure:3623: gcc -c conftest.c -o conftest2.o >&5 configure:3627: $? = 0 configure:3638: cc -c conftest.c >&5 configure:3642: $? = 0 configure:3650: cc -c conftest.c -o conftest2.o >&5 configure:3654: $? = 0 configure:3660: cc -c conftest.c -o conftest2.o >&5 configure:3664: $? = 0 configure:3682: result: yes configure:3750: checking for g++ configure:3766: found /usr/bin/g++ configure:3777: result: g++ configure:3804: checking for C++ compiler version configure:3813: g++ --version >&5 g++ (Debian 4.3.4-6) 4.3.4 Copyright (C) 2008 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:3824: $? = 0 configure:3813: g++ -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/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 --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.4 (Debian 4.3.4-6) configure:3824: $? = 0 configure:3813: g++ -V >&5 g++: '-V' option must have argument configure:3824: $? = 1 configure:3813: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:3824: $? = 1 configure:3828: checking whether we are using the GNU C++ compiler configure:3847: g++ -c conftest.cpp >&5 configure:3847: $? = 0 configure:3856: result: yes configure:3865: checking whether g++ accepts -g configure:3885: g++ -c -g conftest.cpp >&5 configure:3885: $? = 0 configure:3926: result: yes configure:3954: checking how to run the C++ preprocessor configure:3981: g++ -E conftest.cpp configure:3981: $? = 0 configure:3995: g++ -E conftest.cpp conftest.cpp:9:28: error: ac_nonexistent.h: No such file or directory configure:3995: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:4020: result: g++ -E configure:4040: g++ -E conftest.cpp configure:4040: $? = 0 configure:4054: g++ -E conftest.cpp conftest.cpp:9:28: error: ac_nonexistent.h: No such file or directory configure:4054: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | /* end confdefs.h. */ | #include configure:4087: checking whether g++ understands -c and -o together configure:4111: g++ -g -O2 -c conftest.cpp -o conftest2.o >&5 configure:4115: $? = 0 configure:4122: g++ -g -O2 -c conftest.cpp -o conftest2.o >&5 configure:4126: $? = 0 configure:4134: result: yes configure:4154: checking build system type configure:4168: result: i686-pc-linux-gnu configure:4188: checking host system type configure:4201: result: i686-pc-linux-gnu configure:4221: checking target system type configure:4234: result: i686-pc-linux-gnu configure:4279: checking for a BSD-compatible install configure:4347: result: /usr/bin/install -c configure:4358: checking whether build environment is sane configure:4408: result: yes configure:4549: checking for a thread-safe mkdir -p configure:4588: result: /bin/mkdir -p configure:4601: checking for gawk configure:4631: result: no configure:4601: checking for mawk configure:4617: found /usr/bin/mawk configure:4628: result: mawk configure:4639: checking whether make sets $(MAKE) configure:4661: result: yes configure:4691: checking for style of include used by make configure:4719: result: GNU configure:4804: checking dependency style of gcc configure:4914: result: gcc3 configure:4931: checking dependency style of g++ configure:5041: result: gcc3 configure:5087: checking for a sed that does not truncate output configure:5151: result: /bin/sed configure:5169: checking for grep that handles long lines and -e configure:5227: result: /bin/grep configure:5232: checking for egrep configure:5294: result: /bin/grep -E configure:5299: checking for fgrep configure:5361: result: /bin/grep -F configure:5396: checking for ld used by gcc configure:5463: result: /usr/bin/ld configure:5470: checking if the linker (/usr/bin/ld) is GNU ld configure:5485: result: yes configure:5497: checking for BSD- or MS-compatible name lister (nm) configure:5546: result: /usr/bin/nm -B configure:5664: checking the name lister (/usr/bin/nm -B) interface configure:5671: gcc -c -g -O2 conftest.c >&5 configure:5674: /usr/bin/nm -B "conftest.o" configure:5677: output 00000000 B some_variable configure:5684: result: BSD nm configure:5687: checking whether ln -s works configure:5691: result: yes configure:5699: checking the maximum length of command line arguments configure:5819: result: 1572864 configure:5836: checking whether the shell understands some XSI constructs configure:5846: result: yes configure:5850: checking whether the shell understands "+=" configure:5856: result: yes configure:5891: checking for /usr/bin/ld option to reload object files configure:5898: result: -r configure:5967: checking for objdump configure:5983: found /usr/bin/objdump configure:5994: result: objdump configure:6026: checking how to recognize dependent libraries configure:6222: result: pass_all configure:6282: checking for ar configure:6298: found /usr/bin/ar configure:6309: result: ar configure:6387: checking for strip configure:6403: found /usr/bin/strip configure:6414: result: strip configure:6486: checking for ranlib configure:6502: found /usr/bin/ranlib configure:6513: result: ranlib configure:6603: checking command to parse /usr/bin/nm -B output from gcc object configure:6721: gcc -c -g -O2 conftest.c >&5 configure:6724: $? = 0 configure:6728: /usr/bin/nm -B conftest.o \| sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' \> conftest.nm configure:6731: $? = 0 configure:6785: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6788: $? = 0 configure:6826: result: ok configure:7631: checking for ANSI C header files configure:7651: gcc -c -g -O2 conftest.c >&5 configure:7651: $? = 0 configure:7724: gcc -o conftest -g -O2 conftest.c >&5 configure:7724: $? = 0 configure:7724: ./conftest configure:7724: $? = 0 configure:7735: result: yes configure:7748: checking for sys/types.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for sys/stat.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for stdlib.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for string.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for memory.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for strings.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for inttypes.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for stdint.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7748: checking for unistd.h configure:7748: gcc -c -g -O2 conftest.c >&5 configure:7748: $? = 0 configure:7748: result: yes configure:7763: checking for dlfcn.h configure:7763: gcc -c -g -O2 conftest.c >&5 configure:7763: $? = 0 configure:7763: result: yes configure:7888: checking for C++ compiler version configure:7897: g++ --version >&5 g++ (Debian 4.3.4-6) 4.3.4 Copyright (C) 2008 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:7908: $? = 0 configure:7897: g++ -v >&5 Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.4-6' --with-bugurl=file:///usr/share/doc/gcc-4.3/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 --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.4 (Debian 4.3.4-6) configure:7908: $? = 0 configure:7897: g++ -V >&5 g++: '-V' option must have argument configure:7908: $? = 1 configure:7897: g++ -qversion >&5 g++: unrecognized option '-qversion' g++: no input files configure:7908: $? = 1 configure:7912: checking whether we are using the GNU C++ compiler configure:7940: result: yes configure:7949: checking whether g++ accepts -g configure:8010: result: yes configure:8041: checking how to run the C++ preprocessor configure:8107: result: g++ -E configure:8127: g++ -E conftest.cpp configure:8127: $? = 0 configure:8141: g++ -E conftest.cpp conftest.cpp:22:28: error: ac_nonexistent.h: No such file or directory configure:8141: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "0.15.0" | #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_DLFCN_H 1 | /* end confdefs.h. */ | #include configure:8347: checking for objdir configure:8362: result: .libs configure:8658: checking if gcc supports -fno-rtti -fno-exceptions configure:8676: 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 configure:8680: $? = 0 configure:8693: result: no configure:8713: checking for gcc option to produce PIC configure:8985: result: -fPIC -DPIC configure:8997: checking if gcc PIC flag -fPIC -DPIC works configure:9015: gcc -c -g -O2 -fPIC -DPIC -DPIC conftest.c >&5 configure:9019: $? = 0 configure:9032: result: yes configure:9056: checking if gcc static flag -static works configure:9084: result: yes configure:9099: checking if gcc supports -c -o file.o configure:9120: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:9124: $? = 0 configure:9146: result: yes configure:9154: checking if gcc supports -c -o file.o configure:9201: result: yes configure:9234: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:10225: result: yes configure:10262: checking whether -lc should be explicitly linked in configure:10267: gcc -c -g -O2 conftest.c >&5 configure:10270: $? = 0 configure:10285: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| /bin/grep -lc \>/dev/null 2\>\&1 configure:10288: $? = 0 configure:10300: result: no configure:10464: checking dynamic linker characteristics configure:10897: gcc -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.c >&5 configure:10897: $? = 0 configure:11127: result: GNU/Linux ld.so configure:11229: checking how to hardcode library paths into programs configure:11254: result: immediate configure:11774: checking whether stripping libraries is possible configure:11779: result: yes configure:11814: checking if libtool supports shared libraries configure:11816: result: yes configure:11819: checking whether to build shared libraries configure:11840: result: yes configure:11843: checking whether to build static libraries configure:11847: result: yes configure:11997: checking for ld used by g++ configure:12064: result: /usr/bin/ld configure:12071: checking if the linker (/usr/bin/ld) is GNU ld configure:12086: result: yes configure:12141: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:13054: result: yes configure:13082: g++ -c -g -O2 conftest.cpp >&5 configure:13085: $? = 0 configure:13267: checking for g++ option to produce PIC configure:13584: result: -fPIC -DPIC configure:13593: checking if g++ PIC flag -fPIC -DPIC works configure:13611: g++ -c -g -O2 -fPIC -DPIC -DPIC conftest.cpp >&5 configure:13615: $? = 0 configure:13628: result: yes configure:13649: checking if g++ static flag -static works configure:13677: result: yes configure:13689: checking if g++ supports -c -o file.o configure:13710: g++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:13714: $? = 0 configure:13736: result: yes configure:13741: checking if g++ supports -c -o file.o configure:13788: result: yes configure:13818: checking whether the g++ linker (/usr/bin/ld) supports shared libraries configure:13847: result: yes configure:13984: checking dynamic linker characteristics configure:14365: g++ -o conftest -g -O2 -Wl,-rpath -Wl,/foo conftest.cpp >&5 configure:14365: $? = 0 configure:14595: result: GNU/Linux ld.so configure:14646: checking how to hardcode library paths into programs configure:14671: result: immediate configure:14903: checking for the pthreads library -lpthreads configure:14936: gcc -o conftest -g -O2 conftest.c -lpthreads >&5 /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure:14936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "0.15.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:14945: result: no configure:14848: checking whether pthreads work without any flags configure:14936: gcc -o conftest -g -O2 conftest.c >&5 /tmp/cc0OBPz0.o: In function `main': /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:27: undefined reference to `pthread_join' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:28: undefined reference to `__pthread_register_cancel' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:29: undefined reference to `pthread_create' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:29: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:14936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "0.15.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:14945: result: no configure:14853: checking whether pthreads work with -Kthread configure:14936: gcc -o conftest -g -O2 -Kthread conftest.c >&5 gcc: unrecognized option '-Kthread' /tmp/ccUWuEhj.o: In function `main': /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:27: undefined reference to `pthread_join' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:28: undefined reference to `__pthread_register_cancel' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:29: undefined reference to `pthread_create' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:29: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:14936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "0.15.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:14945: result: no configure:14853: checking whether pthreads work with -kthread configure:14936: gcc -o conftest -g -O2 -kthread conftest.c >&5 gcc: unrecognized option '-kthread' /tmp/cc0dfu0Y.o: In function `main': /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:27: undefined reference to `pthread_join' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:28: undefined reference to `__pthread_register_cancel' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:29: undefined reference to `pthread_create' /home/henry/code/libtorrent/branches/RC_0_15/conftest.c:29: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:14936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "0.15.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:14945: result: no configure:14903: checking for the pthreads library -llthread configure:14936: gcc -o conftest -g -O2 conftest.c -llthread >&5 /usr/bin/ld: cannot find -llthread collect2: ld returned 1 exit status configure:14936: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libtorrent-rasterbar" | #define PACKAGE_TARNAME "libtorrent-rasterbar" | #define PACKAGE_VERSION "0.15.0" | #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" | #define PACKAGE_BUGREPORT "arvid@cs.umu.se" | #define PACKAGE_URL "http://www.libtorrent.org" | #define PACKAGE "libtorrent-rasterbar" | #define VERSION "0.15.0" | #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_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | /* end confdefs.h. */ | #include | int | main () | { | pthread_t th; pthread_join(th, 0); | pthread_attr_init(0); pthread_cleanup_push(0, 0); | pthread_create(0,0,0,0); pthread_cleanup_pop(0); | ; | return 0; | } configure:14945: result: no configure:14853: checking whether pthreads work with -lpthread configure:14936: gcc -o conftest -g -O2 -lpthread conftest.c >&5 configure:14936: $? = 0 configure:14945: result: yes configure:14964: checking for joinable pthread attribute configure:14979: gcc -o conftest -g -O2 -lpthread conftest.c >&5 configure:14979: $? = 0 configure:14985: result: PTHREAD_CREATE_JOINABLE configure:14995: checking if more special flags are required for pthreads configure:15002: result: no configure:15140: checking for boostlib >= 1.36 configure:15195: g++ -c -g -O2 -I/usr/include conftest.cpp >&5 configure:15195: $? = 0 configure:15197: result: yes configure:15365: checking whether the Boost::System library is available configure:15389: g++ -c -g -O2 -I/usr/include conftest.cpp >&5 configure:15389: $? = 0 configure:15404: result: yes configure:15419: checking for exit in -lboost_system-mt configure:15444: gcc -o conftest -lpthread -g -O2 -I/usr/include -L/usr/lib conftest.c -lboost_system-mt >&5 conftest.c:33: warning: conflicting types for built-in function 'exit' configure:15444: $? = 0 configure:15454: result: yes configure:15613: checking whether the Boost::Filesystem library is available configure:15637: g++ -c -g -O2 -I/usr/include conftest.cpp >&5 configure:15637: $? = 0 configure:15651: result: yes configure:15808: error: Could not link against boost_system-mt ! ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-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_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_GEOIP_CFLAGS_set= ac_cv_env_GEOIP_CFLAGS_value= ac_cv_env_GEOIP_LIBS_set= ac_cv_env_GEOIP_LIBS_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_PYTHON_INSTALL_PARAMS_set= ac_cv_env_PYTHON_INSTALL_PARAMS_value= ac_cv_env_PYTHON_VERSION_set= ac_cv_env_PYTHON_VERSION_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_dlfcn_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=i686-pc-linux-gnu ac_cv_lib_boost_system_mt___exit=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' ac_cv_path_GREP=/bin/grep ac_cv_path_SED=/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=mawk 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_cc_gcc_c_o=yes ac_cv_prog_cxx_c_o=yes ac_cv_prog_cxx_g=yes ac_cv_prog_make_make_set=yes ac_cv_target=i686-pc-linux-gnu am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ax_cv_boost_filesystem=yes ax_cv_boost_system=yes 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 lt_cv_path_NM='/usr/bin/nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes 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=yes lt_cv_prog_compiler_static_works_CXX=yes lt_cv_prog_gnu_ld=yes lt_cv_prog_gnu_ldcxx=yes 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=1572864 ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/missing --run tar' AM_BACKSLASH='\' AM_DEFAULT_VERBOSITY='0' AR='ar' AUTOCONF='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/missing --run autoconf' AUTOHEADER='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/missing --run autoheader' AUTOMAKE='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/missing --run automake-1.11' AWK='mawk' BOOST_CPPFLAGS='-I/usr/include' BOOST_FILESYSTEM_LIB='' BOOST_LDFLAGS='-L/usr/lib' BOOST_PYTHON_LIB='' BOOST_SYSTEM_LIB='-lboost_system-mt' BOOST_THREAD_LIB='' BOOST_VERSION='1.40' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-lpthread -g -O2' COMPILETIME_OPTIONS='' CPP='gcc -E' CPPFLAGS=' -I/usr/include' CXX='g++' CXXCPP='g++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEBUGFLAGS='' DEFS='' DEPDIR='.deps' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' ENABLE_DHT_FALSE='' ENABLE_DHT_TRUE='' ENABLE_EXAMPLES_FALSE='' ENABLE_EXAMPLES_TRUE='' ENABLE_PYTHON_BINDING_FALSE='' ENABLE_PYTHON_BINDING_TRUE='' ENABLE_TESTS_FALSE='' ENABLE_TESTS_TRUE='' EXEEXT='' FGREP='/bin/grep -F' GEOIP_CFLAGS='' GEOIP_LIBS='' GREP='/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTERFACE_VERSION_INFO='6:0:0' LD='/usr/bin/ld' LDFLAGS=' -L/usr/lib' LIBOBJS='' LIBS=' -lboost_system-mt' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' OBJDUMP='objdump' OBJEXT='o' OPENSSL_INCLUDES='' OPENSSL_LDFLAGS='' OPENSSL_LIBS='' OTOOL64='' OTOOL='' PACKAGE='libtorrent-rasterbar' PACKAGE_BUGREPORT='arvid@cs.umu.se' PACKAGE_NAME='libtorrent-rasterbar' PACKAGE_STRING='libtorrent-rasterbar 0.15.0' PACKAGE_TARNAME='libtorrent-rasterbar' PACKAGE_URL='http://www.libtorrent.org' PACKAGE_VERSION='0.15.0' PATH_SEPARATOR=':' PKG_CONFIG='' PTHREAD_CC='gcc' PTHREAD_CFLAGS='-lpthread' PTHREAD_LIBS='' PYTHON='' PYTHON_CPPFLAGS='' PYTHON_EXEC_PREFIX='' PYTHON_EXTRA_LDFLAGS='' PYTHON_EXTRA_LIBS='' PYTHON_INSTALL_PARAMS='' PYTHON_LDFLAGS='' PYTHON_PLATFORM='' PYTHON_PREFIX='' PYTHON_SITE_PKG='' PYTHON_VERSION='' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/bash' STRIP='strip' VERSION='0.15.0' WITH_SHIPPED_GEOIP_FALSE='' WITH_SHIPPED_GEOIP_TRUE='' WITH_SHIPPED_ZLIB_FALSE='' WITH_SHIPPED_ZLIB_TRUE='' 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__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' ax_pthread_config='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686' host_os='linux-gnu' host_vendor='pc' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/henry/code/libtorrent/branches/RC_0_15/build-aux/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='/bin/mkdir -p' oldincludedir='/usr/include' pdfdir='${docdir}' pkgpyexecdir='' pkgpythondir='' prefix='NONE' program_transform_name='s,x,x,' psdir='${docdir}' pyexecdir='' pythondir='' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target='i686-pc-linux-gnu' target_alias='' target_cpu='i686' target_os='linux-gnu' target_vendor='pc' ## ----------- ## ## confdefs.h. ## ## ----------- ## /* confdefs.h */ #define PACKAGE_NAME "libtorrent-rasterbar" #define PACKAGE_TARNAME "libtorrent-rasterbar" #define PACKAGE_VERSION "0.15.0" #define PACKAGE_STRING "libtorrent-rasterbar 0.15.0" #define PACKAGE_BUGREPORT "arvid@cs.umu.se" #define PACKAGE_URL "http://www.libtorrent.org" #define PACKAGE "libtorrent-rasterbar" #define VERSION "0.15.0" #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_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_PTHREAD 1 #define HAVE_BOOST 1 #define HAVE_BOOST_SYSTEM 1 #define HAVE_BOOST_FILESYSTEM 1 configure: exit 1