Error thaps

a guest Oct 9th, 2012 31 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pc@pc:~/Desktop/thaps/phpext$ ./setup
  2. Configuring for:
  3. PHP Api Version:         20100412
  4. Zend Module Api No:      20100525
  5. Zend Extension Api No:   220100525
  6. checking for egrep... grep -E
  7. checking for a sed that does not truncate output... /bin/sed
  8. checking for cc... cc
  9. checking for C compiler default output file name... a.out
  10. checking whether the C compiler works... yes
  11. checking whether we are cross compiling... no
  12. checking for suffix of executables...
  13. checking for suffix of object files... o
  14. checking whether we are using the GNU C compiler... yes
  15. checking whether cc accepts -g... yes
  16. checking for cc option to accept ANSI C... none needed
  17. checking how to run the C preprocessor... cc -E
  18. checking for icc... no
  19. checking for suncc... no
  20. checking whether cc understands -c and -o together... yes
  21. checking for system library directory... lib
  22. checking if compiler supports -R... no
  23. checking if compiler supports -Wl,-rpath,... yes
  24. checking build system type... x86_64-unknown-linux-gnu
  25. checking host system type... x86_64-unknown-linux-gnu
  26. checking target system type... x86_64-unknown-linux-gnu
  27. checking for PHP prefix... /usr/local
  28. checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib
  29. checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20100525
  30. checking for PHP installed headers prefix... /usr/local/include/php
  31. checking if debug is enabled... no
  32. checking if zts is enabled... no
  33. checking for re2c... no
  34. configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
  35. checking for gawk... no
  36. checking for nawk... nawk
  37. checking if nawk is broken... no
  38. checking whether to enable thaps support... yes, shared
  39. checking for ld used by cc... /usr/bin/ld
  40. checking if the linker (/usr/bin/ld) is GNU ld... yes
  41. checking for /usr/bin/ld option to reload object files... -r
  42. checking for BSD-compatible nm... /usr/bin/nm -B
  43. checking whether ln -s works... yes
  44. checking how to recognize dependent libraries... pass_all
  45. checking for ANSI C header files... yes
  46. checking for sys/types.h... yes
  47. checking for sys/stat.h... yes
  48. checking for stdlib.h... yes
  49. checking for string.h... yes
  50. checking for memory.h... yes
  51. checking for strings.h... yes
  52. checking for inttypes.h... yes
  53. checking for stdint.h... yes
  54. checking for unistd.h... yes
  55. checking dlfcn.h usability... yes
  56. checking dlfcn.h presence... yes
  57. checking for dlfcn.h... yes
  58. checking the maximum length of command line arguments... 1572864
  59. checking command to parse /usr/bin/nm -B output from cc object... ok
  60. checking for objdir... .libs
  61. checking for ar... ar
  62. checking for ranlib... ranlib
  63. checking for strip... strip
  64. checking if cc supports -fno-rtti -fno-exceptions... no
  65. checking for cc option to produce PIC... -fPIC
  66. checking if cc PIC flag -fPIC works... yes
  67. checking if cc static flag -static works... yes
  68. checking if cc supports -c -o file.o... yes
  69. checking whether the cc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
  70. checking whether -lc should be explicitly linked in... no
  71. checking dynamic linker characteristics... GNU/Linux
  72. checking how to hardcode library paths into programs... immediate
  73. checking whether stripping libraries is possible... yes
  74. checking if libtool supports shared libraries... yes
  75. checking whether to build shared libraries... yes
  76. checking whether to build static libraries... no
  78. creating libtool
  79. appending configuration tag "CXX" to libtool
  80. configure: creating ./config.status
  81. config.status: creating config.h
  82. pc@pc:~/Desktop/thaps/phpext$ make
  83. /bin/bash /home/pc/Desktop/thaps/phpext/libtool --mode=compile cc  -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -lmongoc -DMONGO_HAVE_STDINT -g -O2   -c /home/pc/Desktop/thaps/phpext/thaps.c -o thaps.lo
  84. mkdir .libs
  85.  cc -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -lmongoc -DMONGO_HAVE_STDINT -g -O2 -c /home/pc/Desktop/thaps/phpext/thaps.c  -fPIC -DPIC -o .libs/thaps.o
  86. /bin/bash /home/pc/Desktop/thaps/phpext/libtool --mode=compile cc  -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -lmongoc -DMONGO_HAVE_STDINT -g -O2   -c /home/pc/Desktop/thaps/phpext/thaps_shared.c -o thaps_shared.lo
  87.  cc -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -lmongoc -DMONGO_HAVE_STDINT -g -O2 -c /home/pc/Desktop/thaps/phpext/thaps_shared.c  -fPIC -DPIC -o .libs/thaps_shared.o
  88. /bin/bash /home/pc/Desktop/thaps/phpext/libtool --mode=compile cc  -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -lmongoc -DMONGO_HAVE_STDINT -g -O2   -c /home/pc/Desktop/thaps/phpext/thaps_include.c -o thaps_include.lo
  89.  cc -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -lmongoc -DMONGO_HAVE_STDINT -g -O2 -c /home/pc/Desktop/thaps/phpext/thaps_include.c  -fPIC -DPIC -o .libs/thaps_include.o
  90. /bin/bash /home/pc/Desktop/thaps/phpext/libtool --mode=compile cc  -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -lmongoc -DMONGO_HAVE_STDINT -g -O2   -c /home/pc/Desktop/thaps/phpext/thaps_function.c -o thaps_function.lo
  91.  cc -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -lmongoc -DMONGO_HAVE_STDINT -g -O2 -c /home/pc/Desktop/thaps/phpext/thaps_function.c  -fPIC -DPIC -o .libs/thaps_function.o
  92. /bin/bash /home/pc/Desktop/thaps/phpext/libtool --mode=compile cc  -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -lmongoc -DMONGO_HAVE_STDINT -g -O2   -c /home/pc/Desktop/thaps/phpext/thaps_variables.c -o thaps_variables.lo
  93.  cc -I. -I/home/pc/Desktop/thaps/phpext -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -lmongoc -DMONGO_HAVE_STDINT -g -O2 -c /home/pc/Desktop/thaps/phpext/thaps_variables.c  -fPIC -DPIC -o .libs/thaps_variables.o
  94. /bin/bash /home/pc/Desktop/thaps/phpext/libtool --mode=link cc -DPHP_ATOM_INC -I/home/pc/Desktop/thaps/phpext/include -I/home/pc/Desktop/thaps/phpext/main -I/home/pc/Desktop/thaps/phpext -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -lmongoc -DMONGO_HAVE_STDINT -g -O2   -o -export-dynamic -avoid-version -prefer-pic -module -rpath /home/pc/Desktop/thaps/phpext/modules  thaps.lo thaps_shared.lo thaps_include.lo thaps_function.lo thaps_variables.lo
  95. cc -shared  .libs/thaps.o .libs/thaps_shared.o .libs/thaps_include.o .libs/thaps_function.o .libs/thaps_variables.o  -lmongoc  -Wl,-soname -Wl, -o .libs/
  96. /usr/bin/ld: /usr/local/lib/libmongoc.a(bson.o): relocation R_X86_64_32S against `bson_numstrs' can not be used when making a shared object; recompile with -fPIC
  97. /usr/local/lib/libmongoc.a: could not read symbols: Bad value
  98. collect2: ld returned 1 exit s
RAW Paste Data