Advertisement
Guest User

config.log for non-compilable ndnSIM

a guest
Dec 12th, 2012
67
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # project ns (3-dev) configured on Wed Dec 12 14:48:17 2012 by
  2. # waf 1.6.11 (abi 98, python 20703f0 on linux2)
  3. # using ./waf configure --enable-examples --enable-ndn-plugins=topology,mobility
  4. #
  5. ----------------------------------------
  6. Setting top to
  7. /home/huqian/ndnSIM20121211/ndnSIM/ns-3
  8. ----------------------------------------
  9. Setting out to
  10. /home/huqian/ndnSIM20121211/ndnSIM/ns-3/build
  11. ----------------------------------------
  12. Checking for 'gcc' (c compiler)
  13. find program=['gcc', 'cc'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='CC' -> '/usr/bin/gcc'
  14. find program=['ar'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='AR' -> '/usr/bin/ar'
  15. /usr/bin/gcc
  16. ----------------------------------------
  17. Checking for 'g++' (c++ compiler)
  18. find program=['g++', 'c++'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='CXX' -> '/usr/bin/g++'
  19. (tool ar is already loaded, skipping)
  20. /usr/bin/g++
  21. ----------------------------------------
  22. Checking for program pkg-config
  23. /usr/bin/pkg-config
  24. find program=['pkg-config'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PKG_CONFIG' -> '/usr/bin/pkg-config'
  25. ---------------------------------------------------------
  26. Checking for compilation flag -Wl,--soname=foo... support
  27. ==>
  28. #include <stdio.h>
  29. int main() { return 0; }
  30.  
  31. <==
  32. [1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o
  33. 
  34. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wl,--soname=foo', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cc', '-c', '-o', 'test.cc.1.o']
  35. [2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog
  36. 
  37. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  38. ok
  39. ---------------------------------------------------------
  40. Checking boost includes
  41. 1_46_1
  42. ---------------------------------------------------------
  43. Checking boost libs
  44. ok
  45. ---------------------------------------------------------
  46. Checking for program python
  47. /usr/bin/python
  48. find program=['python'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PYTHON' -> '/usr/bin/python'
  49. ['/usr/bin/python', '-c', 'import sys\nfor x in sys.version_info: print(str(x))']
  50. out: 2
  51. 7
  52. 3
  53. final
  54. 0
  55.  
  56. ['/usr/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0, prefix='/usr/local') or ''))"]
  57. out: '/usr/local/lib/python2.7/dist-packages'
  58.  
  59. ['/usr/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0, prefix='/usr/local') or ''))"]
  60. out: '/usr/local/lib/python2.7/dist-packages'
  61.  
  62. ---------------------------------------------------------
  63. Checking for python version
  64. (2, 7, 3, 'final', 0)
  65. ['/usr/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_config_var('prefix') or ''))\nprint(repr(get_config_var('SO') or ''))\nprint(repr(get_config_var('LDFLAGS') or ''))\nprint(repr(get_config_var('LIBDIR') or ''))\nprint(repr(get_config_var('LIBPL') or ''))\nprint(repr(get_config_var('INCLUDEPY') or ''))\nprint(repr(get_config_var('Py_ENABLE_SHARED') or ''))\nprint(repr(get_config_var('MACOSX_DEPLOYMENT_TARGET') or ''))\nprint(repr(get_config_var('LDSHARED') or ''))\nprint(repr(get_config_var('CFLAGS') or ''))"]
  66. out: '/usr'
  67. '.so'
  68. '-Wl,-Bsymbolic-functions -Wl,-z,relro'
  69. '/usr/lib'
  70. '/usr/lib/python2.7/config'
  71. '/usr/include/python2.7'
  72. ''
  73. ''
  74. 'gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro'
  75. '-fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security'
  76.  
  77. Configuration returned from ['/usr/bin/python']:
  78. "prefix = '/usr'\nSO = '.so'\nLDFLAGS = '-Wl,-Bsymbolic-functions -Wl,-z,relro'\nLIBDIR = '/usr/lib'\nLIBPL = '/usr/lib/python2.7/config'\nINCLUDEPY = '/usr/include/python2.7'\nPy_ENABLE_SHARED = ''\nMACOSX_DEPLOYMENT_TARGET = ''\nLDSHARED = 'gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro'\nCFLAGS = '-fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security'"
  79.  
  80.  
  81.  
  82. # try again with -L$python_LIBDIR: ['/usr/lib']
  83.  
  84. ---------------------------------------------------------
  85. Checking for library python2.7 in LIBDIR
  86. ==>
  87.  
  88. int main() {
  89. return 0;
  90. }
  91.  
  92. <==
  93. [1/2] cxx: build/.conf_check_9a1d0551212c9d703363e62dfbc51c79/test.cpp -> build/.conf_check_9a1d0551212c9d703363e62dfbc51c79/testbuild/test.cpp.1.o
  94. 
  95. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  96. [2/2] cxxprogram: build/.conf_check_9a1d0551212c9d703363e62dfbc51c79/testbuild/test.cpp.1.o -> build/.conf_check_9a1d0551212c9d703363e62dfbc51c79/testbuild/testprog
  97. 
  98. ['/usr/bin/g++', '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_9a1d0551212c9d703363e62dfbc51c79/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib', '-lpython2.7']
  99. yes
  100. -------------------------------------------------------------------------
  101. Checking for program python2.7-config,python-config-2.7,python2.7m-config
  102. /usr/bin/python2.7-config
  103. find program=['python2.7-config', 'python-config-2.7', 'python2.7m-config'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='PYTHON_CONFIG' -> '/usr/bin/python2.7-config'
  104. ['/usr/bin/python2.7-config', '--includes']
  105. out: -I/usr/include/python2.7 -I/usr/include/python2.7
  106.  
  107. Include path for Python extensions (found via python-config --includes): ['/usr/include/python2.7']
  108.  
  109. -------------------------------------------------------------------------
  110. Checking for header Python.h
  111. ==>
  112.  
  113. #include <Python.h>
  114. #ifdef __cplusplus
  115. extern "C" {
  116. #endif
  117. void Py_Initialize(void);
  118. void Py_Finalize(void);
  119. #ifdef __cplusplus
  120. }
  121. #endif
  122. int main()
  123. {
  124. Py_Initialize();
  125. Py_Finalize();
  126. return 0;
  127. }
  128.  
  129. <==
  130. [1/2] cxx: build/.conf_check_d6c8946949ece91ce43c989711393fec/test.cpp -> build/.conf_check_d6c8946949ece91ce43c989711393fec/testbuild/test.cpp.1.o
  131. 
  132. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  133. [2/2] cxxprogram: build/.conf_check_d6c8946949ece91ce43c989711393fec/testbuild/test.cpp.1.o -> build/.conf_check_d6c8946949ece91ce43c989711393fec/testbuild/testprog
  134. 
  135. ['/usr/bin/g++', '-Wl,-Bsymbolic-functions', '-Wl,-z,relro', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_d6c8946949ece91ce43c989711393fec/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-L/usr/lib', '-lpython2.7']
  136. yes
  137. -------------------------------------------------------------------------
  138. Checking for compilation flag -fvisibility=hidden... support
  139. ==>
  140. #include <stdio.h>
  141. int main() { return 0; }
  142.  
  143. <==
  144. [1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o
  145. 
  146. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-fvisibility=hidden', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  147. [2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog
  148. 
  149. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  150. ok
  151. -------------------------------------------------------------------------
  152. Checking for compilation flag -Wno-array-bounds... support
  153. ==>
  154. #include <stdio.h>
  155. int main() { return 0; }
  156.  
  157. <==
  158. [1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o
  159. 
  160. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-array-bounds', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  161. [2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog
  162. 
  163. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  164. ok
  165. -------------------------------------------------------------------------
  166. Checking for pybindgen location
  167. ../pybindgen (guessed)
  168. -------------------------------------------------------------------------
  169. Python module pybindgen
  170. ['/usr/bin/python', '-c', "\nimport pybindgen as current_module\nversion = getattr(current_module, '__version__', None)\nif version is not None:\n print(str(version))\nelse:\n print('unknown version')\n"]
  171. out: unknown version
  172.  
  173. ok
  174. -------------------------------------------------------------------------
  175. Checking for pybindgen version
  176. 0.15.0.809
  177. ==>
  178.  
  179. #include <stdint.h>
  180. #include <vector>
  181.  
  182. int main ()
  183. {
  184. std::vector< uint64_t > t = std::vector< unsigned long > ();
  185. return 0;
  186. }
  187.  
  188. <==
  189. [1/2] cxx: build/.conf_check_efd20fc635aad783e4d3953701740533/test.cc -> build/.conf_check_efd20fc635aad783e4d3953701740533/testbuild/test.cc.1.o
  190. 
  191. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  192. err: ../test.cc: 在函数‘int main()’中:
  193. ../test.cc:7:62: 错误: 请求从‘std::vector<long unsigned int>’转换到非标量类型‘std::vector<long long unsigned int>’
  194.  
  195. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/bindings/python: Test does not build: Traceback (most recent call last):
  196. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/c_config.py", line 445, in run_c_code
  197. bld.compile()
  198. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 190, in compile
  199. raise Errors.BuildError(self.producer.error)
  200. BuildError: Build failed
  201. -> task in 'testprog' failed (exit status 1):
  202. {task 169470412: cxx test.cc -> test.cc.1.o}
  203. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  204.  
  205. -------------------------------------------------------------------------
  206. Checking for types uint64_t and unsigned long equivalence
  207. no
  208. ==>
  209.  
  210. #include <stdint.h>
  211. #include <vector>
  212.  
  213. int main ()
  214. {
  215. std::vector< uint64_t > t = std::vector< unsigned long long > ();
  216. return 0;
  217. }
  218.  
  219. <==
  220. [1/2] cxx: build/.conf_check_355be13189b7b0ddfb123175e2bb33a5/test.cc -> build/.conf_check_355be13189b7b0ddfb123175e2bb33a5/testbuild/test.cc.1.o
  221. 
  222. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  223. [2/2] cxxprogram: build/.conf_check_355be13189b7b0ddfb123175e2bb33a5/testbuild/test.cc.1.o -> build/.conf_check_355be13189b7b0ddfb123175e2bb33a5/testbuild/testprog
  224. 
  225. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_355be13189b7b0ddfb123175e2bb33a5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  226. -------------------------------------------------------------------------
  227. Checking for types uint64_t and unsigned long long equivalence
  228. yes
  229. -------------------------------------------------------------------------
  230. Checking for the apidefs that can be used for Python bindings
  231. gcc-ILP32
  232. -------------------------------------------------------------------------
  233. Checking for internal GCC cxxabi
  234. ==>
  235.  
  236. # include <cxxabi.h>
  237. int main ()
  238. {
  239. const abi::__si_class_type_info *_typeinfo __attribute__((unused)) = NULL;
  240. return 0;
  241. }
  242.  
  243. <==
  244. [1/2] cxx: build/.conf_check_97f735b5464546b54ea13ec62d1c17e5/test.cpp -> build/.conf_check_97f735b5464546b54ea13ec62d1c17e5/testbuild/test.cpp.1.o
  245. 
  246. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/usr/local/lib/python2.7/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/dist-packages"', '-DHAVE_PYTHON_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  247. [2/2] cxxprogram: build/.conf_check_97f735b5464546b54ea13ec62d1c17e5/testbuild/test.cpp.1.o -> build/.conf_check_97f735b5464546b54ea13ec62d1c17e5/testbuild/testprog
  248. 
  249. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_97f735b5464546b54ea13ec62d1c17e5/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  250. complete
  251. -------------------------------------------------------------------------
  252. Python module pygccxml
  253. ['/usr/bin/python', '-c', "\nimport pygccxml as current_module\nversion = getattr(current_module, '__version__', None)\nif version is not None:\n print(str(version))\nelse:\n print('unknown version')\n"]
  254. err: Traceback (most recent call last):
  255. File "<string>", line 2, in <module>
  256. ImportError: No module named pygccxml
  257.  
  258. not found
  259. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/bindings/python: Could not find the python module 'pygccxml'
  260. -------------------------------------------------------------------------
  261. Checking for click location
  262. not found
  263. -------------------------------------------------------------------------
  264. Checking for pkg-config flags for GTK_CONFIG_STORE
  265. ['/usr/bin/pkg-config', '--cflags', '--libs', 'gtk+-2.0 >= 2.12']: '-pthread -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 \n' (exit code 0)
  266.  
  267. ok
  268. -------------------------------------------------------------------------
  269. Checking for pkg-config flags for LIBXML2
  270. ['/usr/bin/pkg-config', '--cflags', '--libs', 'libxml-2.0 >= 2.6']: '' (exit code 1)
  271. Package libxml-2.0 was not found in the pkg-config search path.
  272. Perhaps you should add the directory containing `libxml-2.0.pc'
  273. to the PKG_CONFIG_PATH environment variable
  274. No package 'libxml-2.0' found
  275.  
  276. not found
  277. -------------------------------------------------------------------------
  278. Checking for type uint128_t
  279. ==>
  280. #include <stdint.h>
  281.  
  282. int main() {
  283. if ((uint128_t *) 0) return 0;
  284. if (sizeof (uint128_t)) return 0;
  285. }
  286.  
  287. <==
  288. [1/2] cxx: build/.conf_check_9a9aa0a48a7447bdd461f06307f32dc7/test.cpp -> build/.conf_check_9a9aa0a48a7447bdd461f06307f32dc7/testbuild/test.cpp.1.o
  289. 
  290. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  291. err: ../test.cpp: 在函数‘int main()’中:
  292. ../test.cpp:4:7: 错误: ‘uint128_t’在此作用域中尚未声明
  293. ../test.cpp:4:18: 错误: expected primary-expression before ‘)’ token
  294. ../test.cpp:4:20: 错误: expected ‘)’ before numeric constant
  295. ../test.cpp:5:14: 错误: ‘uint128_t’在此作用域中尚未声明
  296.  
  297. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  298. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/c_config.py", line 445, in run_c_code
  299. bld.compile()
  300. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 190, in compile
  301. raise Errors.BuildError(self.producer.error)
  302. BuildError: Build failed
  303. -> task in 'testprog' failed (exit status 1):
  304. {task 168859724: cxx test.cpp -> test.cpp.1.o}
  305. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  306.  
  307. not found
  308. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: The configuration failed
  309. -------------------------------------------------------------------------
  310. Checking for type __uint128_t
  311. ==>
  312. #include <stdint.h>
  313.  
  314. int main() {
  315. if ((__uint128_t *) 0) return 0;
  316. if (sizeof (__uint128_t)) return 0;
  317. }
  318.  
  319. <==
  320. [1/2] cxx: build/.conf_check_703a8a276d4ad265d967b1b45f1fc578/test.cpp -> build/.conf_check_703a8a276d4ad265d967b1b45f1fc578/testbuild/test.cpp.1.o
  321. 
  322. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  323. err: ../test.cpp: 在函数‘int main()’中:
  324. ../test.cpp:4:7: 错误: ‘__uint128_t’在此作用域中尚未声明
  325. ../test.cpp:4:20: 错误: expected primary-expression before ‘)’ token
  326. ../test.cpp:4:22: 错误: expected ‘)’ before numeric constant
  327. ../test.cpp:5:14: 错误: ‘__uint128_t’在此作用域中尚未声明
  328.  
  329. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  330. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/c_config.py", line 445, in run_c_code
  331. bld.compile()
  332. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 190, in compile
  333. raise Errors.BuildError(self.producer.error)
  334. BuildError: Build failed
  335. -> task in 'testprog' failed (exit status 1):
  336. {task 168837580: cxx test.cpp -> test.cpp.1.o}
  337. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  338.  
  339. not found
  340. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: The configuration failed
  341. -------------------------------------------------------------------------
  342. Checking high precision time implementation
  343. cairo 128-bit integer
  344. -------------------------------------------------------------------------
  345. Checking for header stdint.h
  346. ==>
  347. #include <stdint.h>
  348.  
  349. int main() {
  350. return 0;
  351. }
  352.  
  353. <==
  354. [1/2] cxx: build/.conf_check_c59373285bc13999c3df79164cb29af1/test.cpp -> build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/test.cpp.1.o
  355. 
  356. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  357. [2/2] cxxprogram: build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/test.cpp.1.o -> build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/testprog
  358. 
  359. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  360. yes
  361. -------------------------------------------------------------------------
  362. Checking for header inttypes.h
  363. ==>
  364. #include <inttypes.h>
  365.  
  366. int main() {
  367. return 0;
  368. }
  369.  
  370. <==
  371. [1/2] cxx: build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/test.cpp -> build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/test.cpp.1.o
  372. 
  373. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  374. [2/2] cxxprogram: build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/test.cpp.1.o -> build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/testprog
  375. 
  376. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  377. yes
  378. -------------------------------------------------------------------------
  379. Checking for header sys/inttypes.h
  380. ==>
  381. #include <sys/inttypes.h>
  382.  
  383. int main() {
  384. return 0;
  385. }
  386.  
  387. <==
  388. [1/2] cxx: build/.conf_check_2ca1edb217ad9cef6c81468eb5adffbb/test.cpp -> build/.conf_check_2ca1edb217ad9cef6c81468eb5adffbb/testbuild/test.cpp.1.o
  389. 
  390. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  391. err: ../test.cpp:1:26: 致命错误: sys/inttypes.h:没有那个文件或目录
  392. 编译中断。
  393.  
  394. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  395. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/c_config.py", line 445, in run_c_code
  396. bld.compile()
  397. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 190, in compile
  398. raise Errors.BuildError(self.producer.error)
  399. BuildError: Build failed
  400. -> task in 'testprog' failed (exit status 1):
  401. {task 168883244: cxx test.cpp -> test.cpp.1.o}
  402. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  403.  
  404. not found
  405. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: The configuration failed
  406. -------------------------------------------------------------------------
  407. Checking for header sys/types.h
  408. ==>
  409. #include <sys/types.h>
  410.  
  411. int main() {
  412. return 0;
  413. }
  414.  
  415. <==
  416. [1/2] cxx: build/.conf_check_293985459965597c97c3759b44ed252b/test.cpp -> build/.conf_check_293985459965597c97c3759b44ed252b/testbuild/test.cpp.1.o
  417. 
  418. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  419. [2/2] cxxprogram: build/.conf_check_293985459965597c97c3759b44ed252b/testbuild/test.cpp.1.o -> build/.conf_check_293985459965597c97c3759b44ed252b/testbuild/testprog
  420. 
  421. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_293985459965597c97c3759b44ed252b/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  422. yes
  423. -------------------------------------------------------------------------
  424. Checking for header sys/stat.h
  425. ==>
  426. #include <sys/stat.h>
  427.  
  428. int main() {
  429. return 0;
  430. }
  431.  
  432. <==
  433. [1/2] cxx: build/.conf_check_114df6287ed99356d14a06682bc98197/test.cpp -> build/.conf_check_114df6287ed99356d14a06682bc98197/testbuild/test.cpp.1.o
  434. 
  435. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  436. [2/2] cxxprogram: build/.conf_check_114df6287ed99356d14a06682bc98197/testbuild/test.cpp.1.o -> build/.conf_check_114df6287ed99356d14a06682bc98197/testbuild/testprog
  437. 
  438. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_114df6287ed99356d14a06682bc98197/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  439. yes
  440. -------------------------------------------------------------------------
  441. Checking for header dirent.h
  442. ==>
  443. #include <dirent.h>
  444.  
  445. int main() {
  446. return 0;
  447. }
  448.  
  449. <==
  450. [1/2] cxx: build/.conf_check_38008f7ca978e5462e378992d39050f1/test.cpp -> build/.conf_check_38008f7ca978e5462e378992d39050f1/testbuild/test.cpp.1.o
  451. 
  452. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  453. [2/2] cxxprogram: build/.conf_check_38008f7ca978e5462e378992d39050f1/testbuild/test.cpp.1.o -> build/.conf_check_38008f7ca978e5462e378992d39050f1/testbuild/testprog
  454. 
  455. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_38008f7ca978e5462e378992d39050f1/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  456. yes
  457. -------------------------------------------------------------------------
  458. Checking for header stdlib.h
  459. ==>
  460. #include <stdlib.h>
  461.  
  462. int main() {
  463. return 0;
  464. }
  465.  
  466. <==
  467. [1/2] cxx: build/.conf_check_29f41b0aad55c9546dfc9b7ce9859059/test.cpp -> build/.conf_check_29f41b0aad55c9546dfc9b7ce9859059/testbuild/test.cpp.1.o
  468. 
  469. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  470. [2/2] cxxprogram: build/.conf_check_29f41b0aad55c9546dfc9b7ce9859059/testbuild/test.cpp.1.o -> build/.conf_check_29f41b0aad55c9546dfc9b7ce9859059/testbuild/testprog
  471. 
  472. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_29f41b0aad55c9546dfc9b7ce9859059/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  473. yes
  474. -------------------------------------------------------------------------
  475. Checking for header signal.h
  476. ==>
  477. #include <signal.h>
  478.  
  479. int main() {
  480. return 0;
  481. }
  482.  
  483. <==
  484. [1/2] cxx: build/.conf_check_cc227f9b4319ad1c726eca4fb806395e/test.cpp -> build/.conf_check_cc227f9b4319ad1c726eca4fb806395e/testbuild/test.cpp.1.o
  485. 
  486. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  487. [2/2] cxxprogram: build/.conf_check_cc227f9b4319ad1c726eca4fb806395e/testbuild/test.cpp.1.o -> build/.conf_check_cc227f9b4319ad1c726eca4fb806395e/testbuild/testprog
  488. 
  489. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_cc227f9b4319ad1c726eca4fb806395e/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  490. yes
  491. -------------------------------------------------------------------------
  492. Checking for header pthread.h
  493. ==>
  494.  
  495. #include <pthread.h>
  496. int main ()
  497. {
  498. pthread_mutex_t m;
  499. pthread_mutex_init (&m, NULL);
  500. return 0;
  501. }
  502.  
  503. <==
  504. [1/2] cxx: build/.conf_check_2be466e82e703a744ee152afe2b58299/test.cpp -> build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/test.cpp.1.o
  505. 
  506. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-pthread', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  507. [2/2] cxxprogram: build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/test.cpp.1.o -> build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/testprog
  508. 
  509. ['/usr/bin/g++', '-pthread', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  510. yes
  511. -------------------------------------------------------------------------
  512. Checking for header stdint.h
  513. ==>
  514. #include <stdint.h>
  515.  
  516. int main() {
  517. return 0;
  518. }
  519.  
  520. <==
  521. [1/2] cxx: build/.conf_check_c59373285bc13999c3df79164cb29af1/test.cpp -> build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/test.cpp.1.o
  522. 
  523. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  524. [2/2] cxxprogram: build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/test.cpp.1.o -> build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/testprog
  525. 
  526. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_c59373285bc13999c3df79164cb29af1/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  527. yes
  528. -------------------------------------------------------------------------
  529. Checking for header inttypes.h
  530. ==>
  531. #include <inttypes.h>
  532.  
  533. int main() {
  534. return 0;
  535. }
  536.  
  537. <==
  538. [1/2] cxx: build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/test.cpp -> build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/test.cpp.1.o
  539. 
  540. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  541. [2/2] cxxprogram: build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/test.cpp.1.o -> build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/testprog
  542. 
  543. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_591f7be6a22ba3cd4f507fd8bc09bd2a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  544. yes
  545. -------------------------------------------------------------------------
  546. Checking for header sys/inttypes.h
  547. ==>
  548. #include <sys/inttypes.h>
  549.  
  550. int main() {
  551. return 0;
  552. }
  553.  
  554. <==
  555. [1/2] cxx: build/.conf_check_2ca1edb217ad9cef6c81468eb5adffbb/test.cpp -> build/.conf_check_2ca1edb217ad9cef6c81468eb5adffbb/testbuild/test.cpp.1.o
  556. 
  557. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  558. err: ../test.cpp:1:26: 致命错误: sys/inttypes.h:没有那个文件或目录
  559. 编译中断。
  560.  
  561. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  562. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Tools/c_config.py", line 445, in run_c_code
  563. bld.compile()
  564. File "/home/huqian/ndnSIM20121211/ndnSIM/ns-3/.waf-1.6.11-30618c54883417962c38f5d395f83584/waflib/Build.py", line 190, in compile
  565. raise Errors.BuildError(self.producer.error)
  566. BuildError: Build failed
  567. -> task in 'testprog' failed (exit status 1):
  568. {task 168937484: cxx test.cpp -> test.cpp.1.o}
  569. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  570.  
  571. not found
  572. from /home/huqian/ndnSIM20121211/ndnSIM/ns-3/src/core: The configuration failed
  573. -------------------------------------------------------------------------
  574. Checking for library rt
  575. ==>
  576.  
  577. int main() {
  578. return 0;
  579. }
  580.  
  581. <==
  582. [1/2] cxx: build/.conf_check_fc0bab0b855f90bf0795892663948c43/test.cpp -> build/.conf_check_fc0bab0b855f90bf0795892663948c43/testbuild/test.cpp.1.o
  583. 
  584. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-pthread', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DINT64X64_USE_CAIRO=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1', '-DHAVE_DIRENT_H=1', '-DHAVE_STDLIB_H=1', '-DHAVE_GETENV=1', '-DHAVE_SIGNAL_H=1', '-DHAVE_PTHREAD_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  585. [2/2] cxxprogram: build/.conf_check_fc0bab0b855f90bf0795892663948c43/testbuild/test.cpp.1.o -> build/.conf_check_fc0bab0b855f90bf0795892663948c43/testbuild/testprog
  586. 
  587. ['/usr/bin/g++', '-pthread', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fc0bab0b855f90bf0795892663948c43/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lrt']
  588. yes
  589. -------------------------------------------------------------------------
  590. Checking for header netpacket/packet.h
  591. ==>
  592. #include <netpacket/packet.h>
  593.  
  594. int main() {
  595. return 0;
  596. }
  597.  
  598. <==
  599. [1/2] cxx: build/.conf_check_0927534631877d46f179382e3e16c60a/test.cpp -> build/.conf_check_0927534631877d46f179382e3e16c60a/testbuild/test.cpp.1.o
  600. 
  601. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  602. [2/2] cxxprogram: build/.conf_check_0927534631877d46f179382e3e16c60a/testbuild/test.cpp.1.o -> build/.conf_check_0927534631877d46f179382e3e16c60a/testbuild/testprog
  603. 
  604. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_0927534631877d46f179382e3e16c60a/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  605. yes
  606. -------------------------------------------------------------------------
  607. Checking for NSC location
  608. not found
  609. (tool boost is already loaded, skipping)
  610. -------------------------------------------------------------------------
  611. Checking boost includes
  612. 1_46_1
  613. -------------------------------------------------------------------------
  614. Checking boost libs
  615. ok
  616. -------------------------------------------------------------------------
  617. Checking for OpenFlow location
  618. not found
  619. -------------------------------------------------------------------------
  620. Checking for library sqlite3
  621. ==>
  622.  
  623. int main() {
  624. return 0;
  625. }
  626.  
  627. <==
  628. [1/2] cxx: build/.conf_check_39b3cecfac3989b2ed760243cef109e6/test.cpp -> build/.conf_check_39b3cecfac3989b2ed760243cef109e6/testbuild/test.cpp.1.o
  629. 
  630. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  631. [2/2] cxxprogram: build/.conf_check_39b3cecfac3989b2ed760243cef109e6/testbuild/test.cpp.1.o -> build/.conf_check_39b3cecfac3989b2ed760243cef109e6/testbuild/testprog
  632. 
  633. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_39b3cecfac3989b2ed760243cef109e6/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic', '-lsqlite3']
  634. yes
  635. -------------------------------------------------------------------------
  636. Checking for header linux/if_tun.h
  637. ==>
  638. #include <linux/if_tun.h>
  639.  
  640. int main() {
  641. return 0;
  642. }
  643.  
  644. <==
  645. [1/2] cxx: build/.conf_check_e2bf758aaca47858b67848f504a8de27/test.cpp -> build/.conf_check_e2bf758aaca47858b67848f504a8de27/testbuild/test.cpp.1.o
  646. 
  647. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
  648. [2/2] cxxprogram: build/.conf_check_e2bf758aaca47858b67848f504a8de27/testbuild/test.cpp.1.o -> build/.conf_check_e2bf758aaca47858b67848f504a8de27/testbuild/testprog
  649. 
  650. ['/usr/bin/g++', 'test.cpp.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_e2bf758aaca47858b67848f504a8de27/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  651. yes
  652. -------------------------------------------------------------------------
  653. Python module gtk
  654. ['/usr/bin/python', '-c', "\nimport gtk as current_module\nversion = getattr(current_module, '__version__', None)\nif version is not None:\n print(str(version))\nelse:\n print('unknown version')\n"]
  655. out: unknown version
  656.  
  657. ok
  658. -------------------------------------------------------------------------
  659. Python module goocanvas
  660. ['/usr/bin/python', '-c', "\nimport goocanvas as current_module\nversion = getattr(current_module, '__version__', None)\nif version is not None:\n print(str(version))\nelse:\n print('unknown version')\n"]
  661. out: 0.14.1
  662.  
  663. 0.14.1
  664. -------------------------------------------------------------------------
  665. Python module pygraphviz
  666. ['/usr/bin/python', '-c', "\nimport pygraphviz as current_module\nversion = getattr(current_module, '__version__', None)\nif version is not None:\n print(str(version))\nelse:\n print('unknown version')\n"]
  667. out: 1.1
  668.  
  669. 1.1
  670. -------------------------------------------------------------------------
  671. Checking for program sudo
  672. /usr/bin/sudo
  673. find program=['sudo'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='SUDO' -> '/usr/bin/sudo'
  674. -------------------------------------------------------------------------
  675. Checking for program valgrind
  676. /usr/bin/valgrind
  677. find program=['valgrind'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='VALGRIND' -> '/usr/bin/valgrind'
  678. -------------------------------------------------------------------------
  679. Checking for pkg-config flags for GSL
  680. ['/usr/bin/pkg-config', '--cflags', '--libs', 'gsl']: '' (exit code 1)
  681. Package gsl was not found in the pkg-config search path.
  682. Perhaps you should add the directory containing `gsl.pc'
  683. to the PKG_CONFIG_PATH environment variable
  684. No package 'gsl' found
  685.  
  686. not found
  687. -------------------------------------------------------------------------
  688. Checking for compilation flag -Wno-error=deprecated-d... support
  689. ==>
  690. #include <stdio.h>
  691. int main() { return 0; }
  692.  
  693. <==
  694. [1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o
  695. 
  696. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  697. [2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog
  698. 
  699. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  700. ok
  701. -------------------------------------------------------------------------
  702. Checking for compilation flag -Wno-error=deprecated-d... support
  703. ==>
  704. #include <stdio.h>
  705. int main() { return 0; }
  706.  
  707. <==
  708. [1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o
  709. 
  710. ['/usr/bin/gcc', '-Wno-error=deprecated-declarations', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.c', '-c', '-o', 'test.c.1.o']
  711. [2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog
  712. 
  713. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  714. ok
  715. -------------------------------------------------------------------------
  716. Checking for compilation flag -fstrict-aliasing... support
  717. ==>
  718. #include <stdio.h>
  719. int main() { return 0; }
  720.  
  721. <==
  722. [1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o
  723. 
  724. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  725. [2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog
  726. 
  727. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  728. ok
  729. -------------------------------------------------------------------------
  730. Checking for compilation flag -fstrict-aliasing... support
  731. ==>
  732. #include <stdio.h>
  733. int main() { return 0; }
  734.  
  735. <==
  736. [1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o
  737. 
  738. ['/usr/bin/gcc', '-fstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.c', '-c', '-o', 'test.c.1.o']
  739. [2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog
  740. 
  741. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  742. ok
  743. -------------------------------------------------------------------------
  744. Checking for compilation flag -Wstrict-aliasing... support
  745. ==>
  746. #include <stdio.h>
  747. int main() { return 0; }
  748.  
  749. <==
  750. [1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o
  751. 
  752. ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
  753. [2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog
  754. 
  755. ['/usr/bin/g++', 'test.cc.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  756. ok
  757. -------------------------------------------------------------------------
  758. Checking for compilation flag -Wstrict-aliasing... support
  759. ==>
  760. #include <stdio.h>
  761. int main() { return 0; }
  762.  
  763. <==
  764. [1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o
  765. 
  766. ['/usr/bin/gcc', '-Wstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '../test.c', '-c', '-o', 'test.c.1.o']
  767. [2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog
  768. 
  769. ['/usr/bin/gcc', 'test.c.1.o', '-o', '/home/huqian/ndnSIM20121211/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog', '-Wl,-Bstatic', '-Wl,-Bdynamic']
  770. ok
  771. -------------------------------------------------------------------------
  772. Checking for program doxygen
  773. /usr/bin/doxygen
  774. find program=['doxygen'] paths=['/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin', '/usr/games'] var='DOXYGEN' -> '/usr/bin/doxygen'
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement