This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --prefix=/usr ## --------- ## ## Platform. ## ## --------- ## hostname = localhost uname -m = i686 uname -r = 2.6.24.5-laptop-2mnb uname -s = Linux uname -v = #1 SMP Thu Jun 12 14:47:38 EDT 2008 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /bin PATH: /usr/bin PATH: /usr/local/bin PATH: /usr/games PATH: /usr/lib/qt4/bin PATH: /usr/lib/qt4/bin/usr/lib/jvm/jre/bin PATH: /home/cloud/bin PATH: /usr/lib/qt4/bin/usr/lib/jvm/jre/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2015: checking for a BSD-compatible install configure:2071: result: /usr/bin/install -c configure:2082: checking whether build environment is sane configure:2125: result: yes configure:2153: checking for a thread-safe mkdir -p configure:2192: result: /bin/mkdir -p configure:2205: checking for gawk configure:2221: found /bin/gawk configure:2232: result: gawk configure:2243: checking whether make sets $(MAKE) configure:2264: result: yes configure:2504: checking for gcc configure:2520: found /usr/bin/gcc configure:2531: result: gcc configure:2769: checking for C compiler version configure:2776: gcc --version >&5 gcc (GCC) 4.2.3 (4.2.3-6mnb1) Copyright (C) 2007 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:2779: $? = 0 configure:2786: gcc -v >&5 Using built-in specs. Target: i586-manbo-linux-gnu Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp Thread model: posix gcc version 4.2.3 (4.2.3-6mnb1) configure:2789: $? = 0 configure:2796: gcc -V >&5 gcc: '-V' option must have argument configure:2799: $? = 1 configure:2822: checking for C compiler default output file name configure:2849: gcc conftest.c >&5 configure:2852: $? = 0 configure:2890: result: a.out configure:2907: checking whether the C compiler works configure:2917: ./a.out configure:2920: $? = 0 configure:2937: result: yes configure:2944: checking whether we are cross compiling configure:2946: result: no configure:2949: checking for suffix of executables configure:2956: gcc -o conftest conftest.c >&5 configure:2959: $? = 0 configure:2983: result: configure:2989: checking for suffix of object files configure:3015: gcc -c conftest.c >&5 configure:3018: $? = 0 configure:3041: result: o configure:3045: checking whether we are using the GNU C compiler configure:3074: gcc -c conftest.c >&5 configure:3080: $? = 0 configure:3097: result: yes configure:3102: checking whether gcc accepts -g configure:3132: gcc -c -g conftest.c >&5 configure:3138: $? = 0 configure:3237: result: yes configure:3254: checking for gcc option to accept ISO C89 configure:3328: gcc -c -g -O2 conftest.c >&5 configure:3334: $? = 0 configure:3357: result: none needed configure:3386: checking for style of include used by make configure:3414: result: GNU configure:3439: checking dependency style of gcc configure:3530: result: gcc3 configure:3557: checking how to run the C preprocessor configure:3597: gcc -E conftest.c configure:3603: $? = 0 configure:3634: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:3640: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | /* end confdefs.h. */ | #include configure:3673: result: gcc -E configure:3702: gcc -E conftest.c configure:3708: $? = 0 configure:3739: gcc -E conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:3745: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | /* end confdefs.h. */ | #include configure:3840: checking for g++ configure:3870: result: no configure:3840: checking for c++ configure:3856: found /usr/bin/c++ configure:3867: result: c++ configure:3898: checking for C++ compiler version configure:3905: c++ --version >&5 c++ (GCC) 4.2.3 (4.2.3-6mnb1) Copyright (C) 2007 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:3908: $? = 0 configure:3915: c++ -v >&5 Using built-in specs. Target: i586-manbo-linux-gnu Configured with: ../configure --prefix=/usr --libexecdir=/usr/lib --with-slibdir=/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-checking=release --enable-languages=c,c++,ada,fortran,objc,obj-c++,java --host=i586-manbo-linux-gnu --with-cpu=generic --with-system-zlib --enable-threads=posix --enable-shared --enable-long-long --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-java-awt=gtk --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --enable-gtk-cairo --disable-libjava-multilib --enable-ssp --disable-libssp Thread model: posix gcc version 4.2.3 (4.2.3-6mnb1) configure:3918: $? = 0 configure:3925: c++ -V >&5 c++: '-V' option must have argument configure:3928: $? = 1 configure:3931: checking whether we are using the GNU C++ compiler configure:3960: c++ -c conftest.cpp >&5 configure:3966: $? = 0 configure:3983: result: yes configure:3988: checking whether c++ accepts -g configure:4018: c++ -c -g conftest.cpp >&5 configure:4024: $? = 0 configure:4123: result: yes configure:4148: checking dependency style of c++ configure:4239: result: gcc3 configure:4347: checking for a BSD-compatible install configure:4403: result: /usr/bin/install -c configure:4414: checking whether make sets $(MAKE) configure:4435: result: yes configure:4522: checking build system type configure:4540: result: i686-pc-linux-gnu configure:4562: checking host system type configure:4577: result: i686-pc-linux-gnu configure:4599: checking for a sed that does not truncate output configure:4655: result: /bin/sed configure:4658: checking for grep that handles long lines and -e configure:4732: result: /bin/grep configure:4737: checking for egrep configure:4815: result: /bin/grep -E configure:4831: checking for ld used by gcc configure:4898: result: /usr/bin/ld configure:4907: checking if the linker (/usr/bin/ld) is GNU ld configure:4922: result: yes configure:4927: checking for /usr/bin/ld option to reload object files configure:4934: result: -r configure:4952: checking for BSD-compatible nm configure:5001: result: /usr/bin/nm -B configure:5005: checking whether ln -s works configure:5009: result: yes configure:5016: checking how to recognize dependent libraries configure:5202: result: pass_all configure:5439: checking for ANSI C header files configure:5469: gcc -c -g -O2 conftest.c >&5 configure:5475: $? = 0 configure:5574: gcc -o conftest -g -O2 conftest.c >&5 configure:5577: $? = 0 configure:5583: ./conftest configure:5586: $? = 0 configure:5603: result: yes configure:5627: checking for sys/types.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for sys/stat.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for stdlib.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for string.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for memory.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for strings.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for inttypes.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for stdint.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5627: checking for unistd.h configure:5648: gcc -c -g -O2 conftest.c >&5 configure:5654: $? = 0 configure:5670: result: yes configure:5697: checking dlfcn.h usability configure:5714: gcc -c -g -O2 conftest.c >&5 configure:5720: $? = 0 configure:5734: result: yes configure:5738: checking dlfcn.h presence configure:5753: gcc -E conftest.c configure:5759: $? = 0 configure:5773: result: yes configure:5801: checking for dlfcn.h configure:5809: result: yes configure:5832: checking how to run the C++ preprocessor configure:5868: c++ -E conftest.cpp configure:5874: $? = 0 configure:5905: c++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:5911: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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:5944: result: c++ -E configure:5973: c++ -E conftest.cpp configure:5979: $? = 0 configure:6010: c++ -E conftest.cpp conftest.cpp:21:28: error: ac_nonexistent.h: No such file or directory configure:6016: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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:6109: checking for g77 configure:6139: result: no configure:6109: checking for xlf configure:6139: result: no configure:6109: checking for f77 configure:6139: result: no configure:6109: checking for frt configure:6139: result: no configure:6109: checking for pgf77 configure:6139: result: no configure:6109: checking for cf77 configure:6139: result: no configure:6109: checking for fort77 configure:6139: result: no configure:6109: checking for fl32 configure:6139: result: no configure:6109: checking for af77 configure:6139: result: no configure:6109: checking for xlf90 configure:6139: result: no configure:6109: checking for f90 configure:6139: result: no configure:6109: checking for pgf90 configure:6139: result: no configure:6109: checking for pghpf configure:6139: result: no configure:6109: checking for epcf90 configure:6139: result: no configure:6109: checking for gfortran configure:6139: result: no configure:6109: checking for g95 configure:6139: result: no configure:6109: checking for xlf95 configure:6139: result: no configure:6109: checking for f95 configure:6139: result: no configure:6109: checking for fort configure:6139: result: no configure:6109: checking for ifort configure:6139: result: no configure:6109: checking for ifc configure:6139: result: no configure:6109: checking for efc configure:6139: result: no configure:6109: checking for pgf95 configure:6139: result: no configure:6109: checking for lf95 configure:6139: result: no configure:6109: checking for ftn configure:6139: result: no configure:6166: checking for Fortran 77 compiler version configure:6173: --version >&5 ./configure: line 6174: --version: command not found configure:6176: $? = 127 configure:6183: -v >&5 ./configure: line 6184: -v: command not found configure:6186: $? = 127 configure:6193: -V >&5 ./configure: line 6194: -V: command not found configure:6196: $? = 127 configure:6204: checking whether we are using the GNU Fortran 77 compiler configure:6223: -c conftest.F >&5 ./configure: line 6224: -c: command not found configure:6229: $? = 127 configure: failed program was: | program main | #ifndef __GNUC__ | choke me | #endif | | end configure:6246: result: no configure:6252: checking whether accepts -g configure:6269: -c -g conftest.f >&5 ./configure: line 6270: -c: command not found configure:6275: $? = 127 configure: failed program was: | program main | | end configure:6291: result: no configure:6321: checking the maximum length of command line arguments configure:6433: result: 98304 configure:6445: checking command to parse /usr/bin/nm -B output from gcc object configure:6550: gcc -c -g -O2 conftest.c >&5 configure:6553: $? = 0 configure:6557: /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:6560: $? = 0 configure:6612: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:6615: $? = 0 configure:6653: result: ok configure:6657: checking for objdir configure:6672: result: .libs configure:6764: checking for ar configure:6780: found /usr/bin/ar configure:6791: result: ar configure:6860: checking for ranlib configure:6876: found /usr/bin/ranlib configure:6887: result: ranlib configure:6956: checking for strip configure:6972: found /usr/bin/strip configure:6983: result: strip configure:7269: checking if gcc supports -fno-rtti -fno-exceptions configure:7287: 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:7291: $? = 0 configure:7304: result: no configure:7319: checking for gcc option to produce PIC configure:7551: result: -fPIC configure:7559: checking if gcc PIC flag -fPIC works configure:7577: gcc -c -g -O2 -fPIC -DPIC conftest.c >&5 configure:7581: $? = 0 configure:7594: result: yes configure:7622: checking if gcc static flag -static works configure:7650: result: no configure:7660: checking if gcc supports -c -o file.o configure:7681: gcc -c -g -O2 -o out/conftest2.o conftest.c >&5 configure:7685: $? = 0 configure:7707: result: yes configure:7733: checking whether the gcc linker (/usr/bin/ld) supports shared libraries configure:8713: result: yes configure:8734: checking whether -lc should be explicitly linked in configure:8739: gcc -c -g -O2 conftest.c >&5 configure:8742: $? = 0 configure:8757: gcc -shared conftest.o -v -Wl,-soname -Wl,conftest -o conftest 2\>\&1 \| grep -lc \>/dev/null 2\>\&1 configure:8760: $? = 0 configure:8772: result: no configure:8780: checking dynamic linker characteristics configure:9382: result: GNU/Linux ld.so configure:9391: checking how to hardcode library paths into programs configure:9416: result: immediate configure:9430: checking whether stripping libraries is possible configure:9435: result: yes configure:10237: checking if libtool supports shared libraries configure:10239: result: yes configure:10242: checking whether to build shared libraries configure:10263: result: yes configure:10266: checking whether to build static libraries configure:10270: result: yes configure:10363: creating libtool configure:10951: checking for ld used by c++ configure:11018: result: /usr/bin/ld configure:11027: checking if the linker (/usr/bin/ld) is GNU ld configure:11042: result: yes configure:11093: checking whether the c++ linker (/usr/bin/ld) supports shared libraries configure:12067: result: yes configure:12085: c++ -c -g -O2 conftest.cpp >&5 configure:12088: $? = 0 configure:12240: checking for c++ option to produce PIC configure:12524: result: -fPIC configure:12532: checking if c++ PIC flag -fPIC works configure:12550: c++ -c -g -O2 -fPIC -DPIC conftest.cpp >&5 configure:12554: $? = 0 configure:12567: result: yes configure:12595: checking if c++ static flag -static works configure:12623: result: no configure:12633: checking if c++ supports -c -o file.o configure:12654: c++ -c -g -O2 -o out/conftest2.o conftest.cpp >&5 configure:12658: $? = 0 configure:12680: result: yes configure:12706: checking whether the c++ linker (/usr/bin/ld) supports shared libraries configure:12731: result: yes configure:12798: checking dynamic linker characteristics configure:13348: result: GNU/Linux ld.so configure:13357: checking how to hardcode library paths into programs configure:13382: result: immediate configure:19557: checking for ./include/libtorrent/asio/../asio.hpp configure:19573: result: yes configure:19588: checking for ./include/libtorrent/asio/ssl/stream.hpp configure:19604: result: yes configure:19619: checking for ./include/libtorrent/asio/ip/tcp.hpp configure:19635: result: yes configure:19844: checking for the pthreads library -lpthreads configure:19887: gcc -o conftest -g -O2 conftest.c -lpthreads >&5 /usr/bin/ld: cannot find -lpthreads collect2: ld returned 1 exit status configure:19893: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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 HAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP 1 | /* 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:19913: result: no configure:19789: checking whether pthreads work without any flags configure:19887: gcc -o conftest -g -O2 conftest.c >&5 /home/cloud/tmp/ccIWtral.o: In function `main': /home/cloud/libtorrent-0.13/conftest.c:28: undefined reference to `pthread_join' /home/cloud/libtorrent-0.13/conftest.c:29: undefined reference to `__pthread_register_cancel' /home/cloud/libtorrent-0.13/conftest.c:30: undefined reference to `pthread_create' /home/cloud/libtorrent-0.13/conftest.c:30: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:19893: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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 HAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP 1 | /* 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:19913: result: no configure:19794: checking whether pthreads work with -Kthread configure:19887: gcc -o conftest -g -O2 -Kthread conftest.c >&5 gcc: unrecognized option '-Kthread' /home/cloud/tmp/cciEFC2g.o: In function `main': /home/cloud/libtorrent-0.13/conftest.c:28: undefined reference to `pthread_join' /home/cloud/libtorrent-0.13/conftest.c:29: undefined reference to `__pthread_register_cancel' /home/cloud/libtorrent-0.13/conftest.c:30: undefined reference to `pthread_create' /home/cloud/libtorrent-0.13/conftest.c:30: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:19893: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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 HAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP 1 | /* 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:19913: result: no configure:19794: checking whether pthreads work with -kthread configure:19887: gcc -o conftest -g -O2 -kthread conftest.c >&5 gcc: unrecognized option '-kthread' /home/cloud/tmp/ccKrjP5o.o: In function `main': /home/cloud/libtorrent-0.13/conftest.c:28: undefined reference to `pthread_join' /home/cloud/libtorrent-0.13/conftest.c:29: undefined reference to `__pthread_register_cancel' /home/cloud/libtorrent-0.13/conftest.c:30: undefined reference to `pthread_create' /home/cloud/libtorrent-0.13/conftest.c:30: undefined reference to `__pthread_unregister_cancel' collect2: ld returned 1 exit status configure:19893: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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 HAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP 1 | /* 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:19913: result: no configure:19844: checking for the pthreads library -llthread configure:19887: gcc -o conftest -g -O2 conftest.c -llthread >&5 /usr/bin/ld: cannot find -llthread collect2: ld returned 1 exit status configure:19893: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "libtorrent" | #define VERSION "0.13" | #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 HAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP 1 | #define HAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP 1 | /* 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:19913: result: no configure:19794: checking whether pthreads work with -pthread configure:19887: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:19893: $? = 0 configure:19913: result: yes configure:19933: checking for joinable pthread attribute configure:19956: gcc -o conftest -g -O2 -pthread conftest.c >&5 configure:19962: $? = 0 configure:20030: result: PTHREAD_CREATE_JOINABLE configure:20037: checking if more special flags are required for pthreads configure:20044: result: no configure:20056: checking for cc_r configure:20084: result: gcc configure:20120: checking whether the compiler implements namespaces configure:20153: c++ -c -g -O2 conftest.cpp >&5 configure:20159: $? = 0 configure:20181: result: yes configure:20191: checking whether the Boost::DateTime library is available configure:20224: c++ -c -g -O2 conftest.cpp >&5 configure:20230: $? = 0 configure:20252: result: yes configure:20300: c++ -o conftest -g -O2 conftest.cpp -lboost_date_time-mt >&5 configure:20306: $? = 0 configure:20341: checking whether the Boost::Filesystem library is available configure:20376: c++ -c -g -O2 conftest.cpp >&5 configure:20382: $? = 0 configure:20404: result: yes configure:20452: c++ -o conftest -g -O2 conftest.cpp -lboost_date_time-mt -lboost_filesystem-mt >&5 configure:20458: $? = 0 configure:20493: checking whether the Boost::Thread library is available configure:20528: c++ -c -pthread -g -O2 conftest.cpp >&5 configure:20534: $? = 0 configure:20557: result: yes configure:20605: c++ -o conftest -g -O2 conftest.cpp -lboost_date_time-mt -lboost_filesystem-mt -lboost_thread-mt >&5 configure:20611: $? = 0 configure:20646: checking whether the Boost::Regex library is available configure:20679: c++ -c -g -O2 conftest.cpp >&5 configure:20685: $? = 0 configure:20707: result: yes configure:20755: c++ -o conftest -g -O2 conftest.cpp -lboost_date_time-mt -lboost_filesystem-mt -lboost_thread-mt -lboost_regex-mt >&5 configure:20761: $? = 0 configure:20796: checking whether the Boost::ProgramOptions library is available configure:20829: c++ -c -g -O2 conftest.cpp >&5 configure:20835: $? = 0 configure:20857: result: yes configure:20905: c++ -o conftest -g -O2 conftest.cpp -lboost_date_time-mt -lboost_filesystem-mt -lboost_thread-mt -lboost_regex-mt -lboost_program_options-mt >&5 configure:20911: $? = 0 configure:20953: checking for gethostbyname configure:21009: gcc -o conftest -g -O2 conftest.c >&5 configure:21015: $? = 0 configure:21032: result: yes configure:21329: checking what form of logging to use configure:21333: result: none configure:21372: checking how to use DHT configure:21376: result: on configure:21424: checking how to use encryption configure:21428: result: on configure:21512: checking which zlib implementation to use configure:21516: result: autodetect configure:21518: checking for main in -lz configure:21547: gcc -o conftest -g -O2 conftest.c -lz >&5 configure:21553: $? = 0 configure:21571: result: yes configure:21698: checking if the examples should be build configure:21707: result: no configure:21940: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on localhost config.status:675: creating Makefile config.status:675: creating src/Makefile config.status:675: creating include/Makefile config.status:675: creating test/Makefile config.status:675: creating libtorrent.pc config.status:866: executing depfiles commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_cxx_compiler_gnu=yes ac_cv_cxx_namespaces=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_F77_set= ac_cv_env_F77_value= ac_cv_env_FFLAGS_set= ac_cv_env_FFLAGS_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_f77_compiler_gnu=no ac_cv_file___include_libtorrent_asio____asio_hpp=yes ac_cv_file___include_libtorrent_asio_ip_tcp_hpp=yes ac_cv_file___include_libtorrent_asio_ssl_stream_hpp=yes ac_cv_func_gethostbyname=yes 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_z_main=yes ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_GREP=/bin/grep ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/bin/mkdir ac_cv_prog_AWK=gawk ac_cv_prog_CPP='gcc -E' ac_cv_prog_CXXCPP='c++ -E' ac_cv_prog_PTHREAD_CC=gcc ac_cv_prog_ac_ct_AR=ar ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_CXX=c++ 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_f77_g=no ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_CXX_dependencies_compiler_type=gcc3 ax_cv_boost_date_time=yes ax_cv_boost_filesystem=yes ax_cv_boost_program_options=yes ax_cv_boost_regex=yes ax_cv_boost_thread=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_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_path_SED=/bin/sed lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_c_o_CXX=yes lt_cv_prog_compiler_rtti_exceptions=no 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\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \([^ ]*\) \([^ ]*\)$/ {"\2", (lt_ptr) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^. .* \(.*\)$/extern int \1;/p'\''' lt_cv_sys_max_cmd_len=98304 lt_lt_cv_prog_compiler_c_o='"yes"' lt_lt_cv_prog_compiler_c_o_CXX='"yes"' lt_lt_cv_sys_global_symbol_pipe='"sed -n -e '\''s/^.*[ ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[ ][ ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'\''"' lt_lt_cv_sys_global_symbol_to_c_name_address='"sed -n -e '\''s/^: \\([^ ]*\\) \$/ {\\\"\\1\\\", (lt_ptr) 0},/p'\'' -e '\''s/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/ {\"\\2\", (lt_ptr) \\&\\2},/p'\''"' lt_lt_cv_sys_global_symbol_to_cdecl='"sed -n -e '\''s/^. .* \\(.*\\)\$/extern int \\1;/p'\''"' ## ----------------- ## ## Output variables. ## ## ----------------- ## ACLOCAL='${SHELL} /home/cloud/libtorrent-0.13/missing --run aclocal-1.10' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='${SHELL} /home/cloud/libtorrent-0.13/missing --run tar' AR='ar' AUTOCONF='${SHELL} /home/cloud/libtorrent-0.13/missing --run autoconf' AUTOHEADER='${SHELL} /home/cloud/libtorrent-0.13/missing --run autoheader' AUTOMAKE='${SHELL} /home/cloud/libtorrent-0.13/missing --run automake-1.10' AWK='gawk' BOOST_DATE_TIME_LIB='boost_date_time-mt' BOOST_FILESYSTEM_LIB='boost_filesystem-mt' BOOST_PROGRAM_OPTIONS_LIB='boost_program_options-mt' BOOST_REGEX_LIB='boost_regex-mt' BOOST_THREAD_LIB='boost_thread-mt' CC='gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-g -O2' CLIENT_TEST_BIN='client_test' CPP='gcc -E' CPPFLAGS='' CXX='c++' CXXCPP='c++ -E' CXXDEPMODE='depmode=gcc3' CXXFLAGS='-g -O2' CYGPATH_W='echo' DEBUGFLAGS='' DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"libtorrent\" -DVERSION=\"0.13\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP=1 -DHAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP=1 -DHAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP=1 -DHAVE_PTHREAD=1 -DHAVE_NAMESPACES= -DHAVE_BOOST_DATE_TIME= -DHAVE_BOOST_FILE= -DHAVE_BOOST_THREAD= -DHAVE_BOOST_REGEX= -DHAVE_BOOST_PROGRAM_OPTIONS= -DTORRENT_USE_OPENSSL= -DTORRENT_BUILDING_SHARED= -DTORRENT_LINKING_SHARED= -DNDEBUG=' DEPDIR='.deps' ECHO='echo' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/bin/grep -E' EXAMPLESDIR='' EXEEXT='' F77='' FFLAGS='' GREP='/bin/grep' HAVE_SSL='yes' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' LDFLAGS='' LIBOBJS='' LIBS='' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LN_S='ln -s' LTLIBOBJS='' MAKEINFO='${SHELL} /home/cloud/libtorrent-0.13/missing --run makeinfo' OBJEXT='o' PACKAGE='libtorrent' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PTHREAD_CC='gcc' PTHREAD_CFLAGS='-pthread' PTHREAD_LIBS='' RANLIB='ranlib' SED='/bin/sed' SET_MAKE='' SHELL='/bin/sh' SSL_CFLAGS='-g -O2 -I/usr/include/openssl -DHAVE_SSL' SSL_CXXFLAGS='-g -O2 -I/usr/include/openssl -DHAVE_SSL' SSL_LDFLAGS=' -L/usr/lib' SSL_LIBS=' -lssl -lcrypto' STRIP='strip' USE_DHT_FALSE='#' USE_DHT_TRUE='' USE_ENCRYPTION_FALSE='#' USE_ENCRYPTION_TRUE='' VERSION='0.13' ZLIB='-lz' ZLIBDIR='' ZLIBINCL='' ac_ct_CC='gcc' ac_ct_CXX='c++' ac_ct_F77='' acx_pthread_config='' 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 -' 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}' dvidir='${docdir}' exec_prefix='${prefix}' 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/cloud/libtorrent-0.13/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' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define PACKAGE "libtorrent" #define VERSION "0.13" #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 HAVE___INCLUDE_LIBTORRENT_ASIO____ASIO_HPP 1 #define HAVE___INCLUDE_LIBTORRENT_ASIO_SSL_STREAM_HPP 1 #define HAVE___INCLUDE_LIBTORRENT_ASIO_IP_TCP_HPP 1 #define HAVE_PTHREAD 1 #define HAVE_NAMESPACES #define HAVE_BOOST_DATE_TIME #define HAVE_BOOST_FILE #define HAVE_BOOST_THREAD #define HAVE_BOOST_REGEX #define HAVE_BOOST_PROGRAM_OPTIONS #define TORRENT_USE_OPENSSL #define TORRENT_BUILDING_SHARED #define TORRENT_LINKING_SHARED #define NDEBUG configure: exit 0