named-data-ndnSIM / ndnSIM

ndnSIM: NS-3 based NDN simulator
GNU General Public License v3.0
108 stars 165 forks source link

ndnSIM-module.h header file not found #64

Open jabary opened 10 years ago

jabary commented 10 years ago

Hello, I am trying to run the ndn-simple example but faced with a fatal error: ndnSIM-module.h file not found, I have check the directory and the file is not there. Can you please help me resolve this issue as I am still new to ndn. I am using mac os 10.9 and I have installed macports 2.3.1

Jabary

cawka commented 10 years ago

The error simply mean that ndnSIM has not been configured/compiled correctly. ndnSIM-module.h is automatically generated when ndnSIM module is compiled. Not sure where you found it.

jabary commented 10 years ago

Thank you Alex, I will try to compile the package again.

Mohammed Jabari College of IT and Computer Engineering, Instructor Palestine Polytechnic University

On 23 Jul 2014, at 21:12, Alex Afanasyev notifications@github.com wrote:

The error simply mean that ndnSIM has not been configured/compiled correctly. ndnSIM-module.h is automatically generated when ndnSIM module is compiled. Not sure where you found it.

— Reply to this email directly or view it on GitHub.

jabary commented 10 years ago

Hello again, I have tried again and re built the ndnSIM again but still i have the same problem, i.e. fatal error: ndnSIM-module.h file not found.

this is part of the config.log file

# project ns (3-dev) configured on Thu Jul 24 14:18:02 2014 by
# waf 1.7.11 (abi 98, python 20705f0 on darwin)
# using ./waf configure --with-python=/opt/local/bin/python2.7 --enable-examples
#
----------------------------------------
Setting top to
/Users/Mohammed/ndnSIM/ns-3
----------------------------------------
Setting out to
/Users/Mohammed/ndnSIM/ns-3/build
----------------------------------------
Checking for 'gcc' (c compiler)
find program=['gcc', 'cc'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='CC' -> '/usr/bin/gcc'
find program=['ar'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='AR' -> '/usr/bin/ar'
/usr/bin/gcc
----------------------------------------
Checking for cc version
5.1.0
----------------------------------------
Checking for 'g++' (c++ compiler)
find program=['g++', 'c++'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='CXX' -> '/usr/bin/g++'
(tool ar is already loaded, skipping)
/usr/bin/g++
----------------------------------------
Checking for program python
/opt/local/bin/python2.7
find program=['python'] paths='' var='PYTHON' -> '/opt/local/bin/python2.7'
['/opt/local/bin/python2.7', '-c', 'import sys\nfor x in sys.version_info: print(str(x))']
out: 2
7
8
final
0

['/opt/local/bin/python2.7', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0) or ''))"]
out: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'

'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'

['/opt/local/bin/python2.7', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(plat_specific=1, standard_lib=0) or ''))"]
out: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'

'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages'

----------------------------------------
Checking for python version
(2, 7, 8, 'final', 0)
['/opt/local/bin/python2.7', '-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 ''))"]
out: '/opt/local/Library/Frameworks/Python.framework/Versions/2.7'
'.so'
'-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 '
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib'
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
''
'10.9'
'/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 '
'-fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'

'/opt/local/Library/Frameworks/Python.framework/Versions/2.7'
'.so'
'-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 '
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib'
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'
'/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
''
'10.9'
'/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 '
'-fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'

Configuration returned from ['/opt/local/bin/python2.7']:
"prefix = '/opt/local/Library/Frameworks/Python.framework/Versions/2.7'\nSO = '.so'\nLDFLAGS = '-L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 '\nLIBDIR = '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib'\nLIBPL = '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'\nINCLUDEPY = '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'\nPy_ENABLE_SHARED = ''\nMACOSX_DEPLOYMENT_TARGET = '10.9'\nLDSHARED = '/usr/bin/clang -bundle -undefined dynamic_lookup -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 '\nCFLAGS = '-fno-strict-aliasing -fno-common -dynamic -pipe -Os -fwrapv  -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes'"

# Trying default LIBPATH_PYEMBED: ['/opt/local/lib', '/opt/local/lib/db46']

-------------------------------------------------
Checking for library python2.7 in LIBPATH_PYEMBED
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_2f8098586408f8a2c32c760a5097987e/test.cpp -> build/.conf_check_2f8098586408f8a2c32c760a5097987e/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fwrapv', '-fwrapv', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_2f8098586408f8a2c32c760a5097987e/testbuild/test.cpp.1.o -> build/.conf_check_2f8098586408f8a2c32c760a5097987e/testbuild/testprog

['/usr/bin/g++', '-Wl,-headerpad_max_install_names', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_2f8098586408f8a2c32c760a5097987e/testbuild/testprog', '-L/opt/local/lib', '-L/opt/local/lib/db46', '-L/opt/local/lib', '-L/opt/local/lib/db46', '-lpython2.7']
yes
-------------------------------------------------
Checking for program python-config
/opt/local/bin/python2.7-config
find program=['/opt/local/bin/python2.7-config', 'python2.7-config', 'python-config-2.7', 'python2.7m-config'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='PYTHON_CONFIG' -> '/opt/local/bin/python2.7-config'
['/opt/local/bin/python2.7-config', '--includes']
out: -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7

Include path for Python extensions (found via python-config --includes): ['/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7']

-------------------------------------------------
Checking for header Python.h
==>

#include <Python.h>
#ifdef __cplusplus
extern "C" {
#endif
    void Py_Initialize(void);
    void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main(int argc, char **argv)
{
   (void)argc; (void)argv;
   Py_Initialize();
   Py_Finalize();
   return 0;
}

<==
[1/2] cxx: build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/test.cpp -> build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fwrapv', '-fwrapv', '-fno-strict-aliasing', '-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DNDEBUG', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/test.cpp.1.o -> build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/testprog

['/usr/bin/g++', '-Wl,-headerpad_max_install_names', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/testprog', '-L/opt/local/lib', '-L/opt/local/lib/db46', '-lpython2.7']
yes
------------------------------------------------------------
Checking for compilation flag -fvisibility=hidden... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-fvisibility=hidden', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
------------------------------------------------------------
Checking for compilation flag -Wno-array-bounds... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-array-bounds', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
------------------------------------------------------------
Checking for pybindgen location
../pybindgen (guessed)
------------------------------------------------------------
Checking for python module 'pybindgen'
['/opt/local/bin/python2.7', '-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"]
out: unknown version

ok
------------------------------------------------------------
Checking for pybindgen version
0.16.0.898
------------------------------------------------------------
Checking boost includes
from /Users/Mohammed/ndnSIM/ns-3/src: headers not found, please provide a --boost-includes argument (see help)
not found
------------------------------------------------------------
Checking boost includes
from /Users/Mohammed/ndnSIM/ns-3/src: headers not found, please provide a --boost-includes argument (see help)
not found
------------------------------------------------------------
Checking for click location
not found
------------------------------------------------------------
Checking for program pkg-config
/opt/local/bin/pkg-config
find program=['pkg-config'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='PKGCONFIG' -> '/opt/local/bin/pkg-config'
------------------------------------------------------------
Checking for 'gtk+-2.0' >= 2.12
['/opt/local/bin/pkg-config', '--atleast-version=2.12', 'gtk+-2.0']
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'gtk+-2.0']
out: -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype 

yes
------------------------------------------------------------
Checking for 'libxml-2.0' >= 2.7
['/opt/local/bin/pkg-config', '--atleast-version=2.7', 'libxml-2.0']
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'libxml-2.0']
out: -I/opt/local/include/libxml2 -L/opt/local/lib -lxml2 

yes
------------------------------------------------------------
Checking for type uint128_t
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    if ((uint128_t *) 0) return 0;
    if (sizeof (uint128_t)) return 0;
    return 1;
}

<==
[1/2] cxx: build/.conf_check_656b178ce7442053dff90315b31a1cc5/test.cpp -> build/.conf_check_656b178ce7442053dff90315b31a1cc5/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:5:7: error: use of undeclared identifier 'uint128_t'
        if ((uint128_t *) 0) return 0;
             ^
../test.cpp:5:18: error: expected expression
        if ((uint128_t *) 0) return 0;
                        ^
../test.cpp:6:14: error: use of undeclared identifier 'uint128_t'
        if (sizeof (uint128_t)) return 0;
                    ^
3 errors generated.

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4568086736: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for type __uint128_t
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    if ((__uint128_t *) 0) return 0;
    if (sizeof (__uint128_t)) return 0;
    return 1;
}

<==
[1/2] cxx: build/.conf_check_ace1886511f08627ee2e4ca020806295/test.cpp -> build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/test.cpp.1.o -> build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/testprog']
yes
------------------------------------------------------------
Checking high precision implementation
128-bit integer (default)
------------------------------------------------------------
Checking for header stdint.h
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/test.cpp -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header inttypes.h
==>
#include <inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/test.cpp -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header sys/inttypes.h
==>
#include <sys/inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_61ecbfef21667d45a28decabe37fdf64/test.cpp -> build/.conf_check_61ecbfef21667d45a28decabe37fdf64/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'sys/inttypes.h' file not found
#include <sys/inttypes.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4568128144: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for header sys/types.h
==>
#include <sys/types.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/test.cpp -> build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/test.cpp.1.o -> build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header sys/stat.h
==>
#include <sys/stat.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/test.cpp -> build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/test.cpp.1.o -> build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header dirent.h
==>
#include <dirent.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_c94d96928742c001335a0559791a93d8/test.cpp -> build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/test.cpp.1.o -> build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header stdlib.h
==>
#include <stdlib.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/test.cpp -> build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/test.cpp.1.o -> build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header signal.h
==>
#include <signal.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_48955ac54d2136a572805353a7b9b62d/test.cpp -> build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/test.cpp.1.o -> build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header pthread.h
==>

#include <pthread.h>
int main ()
{
   pthread_mutex_t m;
   pthread_mutex_init (&m, NULL);
   return 0;
}

<==
[1/2] cxx: build/.conf_check_2be466e82e703a744ee152afe2b58299/test.cpp -> build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/test.cpp.1.o -> build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header stdint.h
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/test.cpp -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header inttypes.h
==>
#include <inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/test.cpp -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header sys/inttypes.h
==>
#include <sys/inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_61ecbfef21667d45a28decabe37fdf64/test.cpp -> build/.conf_check_61ecbfef21667d45a28decabe37fdf64/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
err: ../test.cpp:1:10: fatal error: 'sys/inttypes.h' file not found
#include <sys/inttypes.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4568127376: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for library rt
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/test.cpp -> build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/test.cpp.1.o -> build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/testprog', '-lrt']
err: ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4567415568: cxxprogram test.cpp.1.o -> testprog}
['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/testprog', '-lrt']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for header netpacket/packet.h
==>
#include <netpacket/packet.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/test.cpp -> build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'netpacket/packet.h' file not found
#include <netpacket/packet.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/emu: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4567449680: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/emu: The configuration failed
------------------------------------------------------------
Checking for header sys/ioctl.h
==>
#include <sys/ioctl.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/test.cpp -> build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/test.cpp.1.o -> build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header net/if.h
==>
#include <net/if.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/test.cpp -> build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/test.cpp.1.o -> build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header net/ethernet.h
==>
#include <net/ethernet.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/test.cpp -> build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/test.cpp.1.o -> build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header linux/if_tun.h
==>
#include <linux/if_tun.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_79f849e1774b3cde8897857e178c7c8c/test.cpp -> build/.conf_check_79f849e1774b3cde8897857e178c7c8c/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'linux/if_tun.h' file not found
#include <linux/if_tun.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4567382416: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: The configuration failed
------------------------------------------------------------
Checking for header netpacket/packet.h
==>
#include <netpacket/packet.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/test.cpp -> build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'netpacket/packet.h' file not found
#include <netpacket/packet.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4567451472: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: The configuration failed
------------------------------------------------------------
Checking for NSC location
not found
------------------------------------------------------------
Checking for 'sqlite3'
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'sqlite3']
out: -I/opt/local/include -L/opt/local/lib -lsqlite3 

yes
------------------------------------------------------------
Checking for header linux/if_tun.h
==>
#include <linux/if_tun.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_79f849e1774b3cde8897857e178c7c8c/test.cpp -> build/.conf_check_79f849e1774b3cde8897857e178c7c8c/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'linux/if_tun.h' file not found
#include <linux/if_tun.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/tap-bridge: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4567452816: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/tap-bridge: The configuration failed
------------------------------------------------------------
Checking for program sudo
/usr/bin/sudo
find program=['sudo'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='SUDO' -> '/usr/bin/sudo'
------------------------------------------------------------
Checking for program valgrind
not found
find program=['valgrind'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='VALGRIND' -> ''
from /Users/Mohammed/ndnSIM/ns-3: Could not find the program valgrind
------------------------------------------------------------
Checking for 'gsl'
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'gsl']
err: Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found

not found
from /Users/Mohammed/ndnSIM/ns-3: The configuration failed
----------------------------------------------------------------
Checking for compilation flag -Wno-error=deprecated-d... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -Wno-error=deprecated-d... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o

['/usr/bin/gcc', '-Wno-error=deprecated-declarations', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog

['/usr/bin/gcc', 'test.c.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -fstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -fstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o

['/usr/bin/gcc', '-fstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog

['/usr/bin/gcc', 'test.c.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -Wstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -Wstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o

['/usr/bin/gcc', '-Wstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog

['/usr/bin/gcc', 'test.c.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for program doxygen
    not found
find program=['doxygen'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='DOXYGEN' -> ''
from /Users/Mohammed/ndnSIM/ns-3: Could not find the program doxygen
cawka commented 10 years ago

Yo do not have boost libraries installed or you didn't not correctly specify --boost-includes and --boost-libs configure flags.

jabary commented 10 years ago

you were right about installing boost, which I just did but the error did not change, still have the same error, even after cleaning, configuring and building ndnSIM module again. here is my config.log listing if you can help me.

# project ns (3-dev) configured on Thu Jul 24 23:18:12 2014 by
# waf 1.7.11 (abi 98, python 20705f0 on darwin)
# using ./waf configure --enable-examples
#
----------------------------------------
Setting top to
/Users/Mohammed/ndnSIM/ns-3
----------------------------------------
Setting out to
/Users/Mohammed/ndnSIM/ns-3/build
----------------------------------------
Checking for 'gcc' (c compiler)
find program=['gcc', 'cc'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='CC' -> '/usr/bin/gcc'
find program=['ar'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='AR' -> '/usr/bin/ar'
/usr/bin/gcc
----------------------------------------
Checking for cc version
5.1.0
----------------------------------------
Checking for 'g++' (c++ compiler)
find program=['g++', 'c++'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='CXX' -> '/usr/bin/g++'
(tool ar is already loaded, skipping)
/usr/bin/g++
----------------------------------------
Checking for program python
/usr/bin/python
find program=['python'] paths='' var='PYTHON' -> '/usr/bin/python'
['/usr/bin/python', '-c', 'import sys\nfor x in sys.version_info: print(str(x))']
out: 2
7
5
final
0

['/usr/bin/python', '-c', "from distutils.sysconfig import get_config_var, get_python_lib\n\nprint(repr(get_python_lib(standard_lib=0) or ''))"]
out: '/Library/Python/2.7/site-packages'

'/Library/Python/2.7/site-packages'

['/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) or ''))"]
out: '/Library/Python/2.7/site-packages'

'/Library/Python/2.7/site-packages'

----------------------------------------
Checking for python version
(2, 7, 5, 'final', 0)
['/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 ''))"]
out: '/System/Library/Frameworks/Python.framework/Versions/2.7'
'.so'
'-arch x86_64 -arch i386            -Wl,-F.'
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib'
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'
'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
''
'10.9'
'cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386            -Wl,-F.'
'-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE'

'/System/Library/Frameworks/Python.framework/Versions/2.7'
'.so'
'-arch x86_64 -arch i386            -Wl,-F.'
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib'
'/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'
'/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'
''
'10.9'
'cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386            -Wl,-F.'
'-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE'

Configuration returned from ['/usr/bin/python']:
"prefix = '/System/Library/Frameworks/Python.framework/Versions/2.7'\nSO = '.so'\nLDFLAGS = '-arch x86_64 -arch i386            -Wl,-F.'\nLIBDIR = '/System/Library/Frameworks/Python.framework/Versions/2.7/lib'\nLIBPL = '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config'\nINCLUDEPY = '/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7'\nPy_ENABLE_SHARED = ''\nMACOSX_DEPLOYMENT_TARGET = '10.9'\nLDSHARED = 'cc -bundle -undefined dynamic_lookup -arch x86_64 -arch i386            -Wl,-F.'\nCFLAGS = '-fno-strict-aliasing -fno-common -dynamic -arch x86_64 -arch i386 -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE'"

# try again with -L$python_LIBDIR: ['/System/Library/Frameworks/Python.framework/Versions/2.7/lib']

----------------------------------------
Checking for library python2.7 in LIBDIR
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_05738d3e0a613d90d68203cf1221bbed/test.cpp -> build/.conf_check_05738d3e0a613d90d68203cf1221bbed/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-arch', 'x86_64', '-arch', 'i386', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-arch', 'x86_64', '-arch', 'i386', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-fwrapv', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/Library/Python/2.7/site-packages"', '-DPYTHONARCHDIR="/Library/Python/2.7/site-packages"', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-DNDEBUG', '-DENABLE_DTRACE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_05738d3e0a613d90d68203cf1221bbed/testbuild/test.cpp.1.o -> build/.conf_check_05738d3e0a613d90d68203cf1221bbed/testbuild/testprog

['/usr/bin/g++', '-arch', 'x86_64', '-arch', 'i386', '-Wl,-F.', '-arch', 'x86_64', '-arch', 'i386', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_05738d3e0a613d90d68203cf1221bbed/testbuild/testprog', '-L/System/Library/Frameworks/Python.framework/Versions/2.7/lib', '-lpython2.7']
yes
----------------------------------------
Checking for program python-config
/usr/bin/python-config
find program=['/usr/bin/python-config', 'python2.7-config', 'python-config-2.7', 'python2.7m-config'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='PYTHON_CONFIG' -> '/usr/bin/python-config'
['/usr/bin/python-config', '--includes']
out: -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7

Include path for Python extensions (found via python-config --includes): ['/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7']

----------------------------------------
Checking for header Python.h
==>

#include <Python.h>
#ifdef __cplusplus
extern "C" {
#endif
    void Py_Initialize(void);
    void Py_Finalize(void);
#ifdef __cplusplus
}
#endif
int main(int argc, char **argv)
{
   (void)argc; (void)argv;
   Py_Initialize();
   Py_Finalize();
   return 0;
}

<==
[1/2] cxx: build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/test.cpp -> build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-arch', 'x86_64', '-arch', 'i386', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-arch', 'x86_64', '-arch', 'i386', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-fwrapv', '-fno-strict-aliasing', '-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/Library/Python/2.7/site-packages"', '-DPYTHONARCHDIR="/Library/Python/2.7/site-packages"', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-DNDEBUG', '-DENABLE_DTRACE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/test.cpp.1.o -> build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/testprog

['/usr/bin/g++', '-arch', 'x86_64', '-arch', 'i386', '-Wl,-F.', '-arch', 'x86_64', '-arch', 'i386', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_1f933b02106127ce3a9f4633a0e368e7/testbuild/testprog', '-L/System/Library/Frameworks/Python.framework/Versions/2.7/lib', '-lpython2.7']
yes
------------------------------------------------------------
Checking for compilation flag -fvisibility=hidden... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-fvisibility=hidden', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/Library/Python/2.7/site-packages"', '-DPYTHONARCHDIR="/Library/Python/2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
------------------------------------------------------------
Checking for compilation flag -Wno-array-bounds... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-array-bounds', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/Library/Python/2.7/site-packages"', '-DPYTHONARCHDIR="/Library/Python/2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
------------------------------------------------------------
Checking for pybindgen location
../pybindgen (guessed)
------------------------------------------------------------
Checking for python module 'pybindgen'
['/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"]
out: unknown version

ok
------------------------------------------------------------
Checking for pybindgen version
0.16.0.898
------------------------------------------------------------
Checking boost includes
1_55
------------------------------------------------------------
Checking boost libs
Found the boost path in /opt/local/lib with the libraries:
    /opt/local/lib/libboost_atomic-mt.a
    /opt/local/lib/libboost_atomic-mt.dylib
    /opt/local/lib/libboost_chrono-mt.a
    /opt/local/lib/libboost_chrono-mt.dylib
    /opt/local/lib/libboost_context-mt.a
    /opt/local/lib/libboost_context-mt.dylib
    /opt/local/lib/libboost_coroutine-mt.a
    /opt/local/lib/libboost_coroutine-mt.dylib
    /opt/local/lib/libboost_date_time-mt.a
    /opt/local/lib/libboost_date_time-mt.dylib
    /opt/local/lib/libboost_exception-mt.a
    /opt/local/lib/libboost_filesystem-mt.a
    /opt/local/lib/libboost_filesystem-mt.dylib
    /opt/local/lib/libboost_graph-mt.a
    /opt/local/lib/libboost_graph-mt.dylib
    /opt/local/lib/libboost_iostreams-mt.a
    /opt/local/lib/libboost_iostreams-mt.dylib
    /opt/local/lib/libboost_locale-mt.a
    /opt/local/lib/libboost_locale-mt.dylib
    /opt/local/lib/libboost_log-mt.a
    /opt/local/lib/libboost_log-mt.dylib
    /opt/local/lib/libboost_log_setup-mt.a
    /opt/local/lib/libboost_log_setup-mt.dylib
    /opt/local/lib/libboost_math_c99-mt.a
    /opt/local/lib/libboost_math_c99-mt.dylib
    /opt/local/lib/libboost_math_c99f-mt.a
    /opt/local/lib/libboost_math_c99f-mt.dylib
    /opt/local/lib/libboost_math_c99l-mt.a
    /opt/local/lib/libboost_math_c99l-mt.dylib
    /opt/local/lib/libboost_math_tr1-mt.a
    /opt/local/lib/libboost_math_tr1-mt.dylib
    /opt/local/lib/libboost_math_tr1f-mt.a
    /opt/local/lib/libboost_math_tr1f-mt.dylib
    /opt/local/lib/libboost_math_tr1l-mt.a
    /opt/local/lib/libboost_math_tr1l-mt.dylib
    /opt/local/lib/libboost_prg_exec_monitor-mt.a
    /opt/local/lib/libboost_prg_exec_monitor-mt.dylib
    /opt/local/lib/libboost_program_options-mt.a
    /opt/local/lib/libboost_program_options-mt.dylib
    /opt/local/lib/libboost_python-mt.a
    /opt/local/lib/libboost_python-mt.dylib
    /opt/local/lib/libboost_random-mt.a
    /opt/local/lib/libboost_random-mt.dylib
    /opt/local/lib/libboost_regex-mt.a
    /opt/local/lib/libboost_regex-mt.dylib
    /opt/local/lib/libboost_serialization-mt.a
    /opt/local/lib/libboost_serialization-mt.dylib
    /opt/local/lib/libboost_signals-mt.a
    /opt/local/lib/libboost_signals-mt.dylib
    /opt/local/lib/libboost_system-mt.a
    /opt/local/lib/libboost_system-mt.dylib
    /opt/local/lib/libboost_test_exec_monitor-mt.a
    /opt/local/lib/libboost_thread-mt.a
    /opt/local/lib/libboost_thread-mt.dylib
    /opt/local/lib/libboost_timer-mt.a
    /opt/local/lib/libboost_timer-mt.dylib
    /opt/local/lib/libboost_unit_test_framework-mt.a
    /opt/local/lib/libboost_unit_test_framework-mt.dylib
    /opt/local/lib/libboost_wave-mt.a
    /opt/local/lib/libboost_wave-mt.dylib
    /opt/local/lib/libboost_wserialization-mt.a
    /opt/local/lib/libboost_wserialization-mt.dylib
Trying pattern boost_system(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_system(-1_55)+
Trying pattern boost_system(-1_55)+
Trying pattern boost_system(-xgcc[0-9]{0,3})+
Trying pattern boost_system
Found boost lib libboost_system-mt.a
Trying pattern boost_signals(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_signals(-1_55)+
Trying pattern boost_signals(-1_55)+
Trying pattern boost_signals(-xgcc[0-9]{0,3})+
Trying pattern boost_signals
Found boost lib libboost_signals-mt.a
Trying pattern boost_filesystem(-xgcc[0-9]{0,3})+(-1_55)+
Trying pattern boost_filesystem(-1_55)+
Trying pattern boost_filesystem(-1_55)+
Trying pattern boost_filesystem(-xgcc[0-9]{0,3})+
Trying pattern boost_filesystem
Found boost lib libboost_filesystem-mt.a
ok
------------------------------------------------------------
Checking for boost linkage
==>
#include <boost/system/error_code.hpp>
int main() { boost::system::error_code c; }
<==
[1/2] cxx: build/.conf_check_968fbcee789046a8c143bb4a6e302895/test.cpp -> build/.conf_check_968fbcee789046a8c143bb4a6e302895/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-I/opt/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DPYTHONDIR="/Library/Python/2.7/site-packages"', '-DPYTHONARCHDIR="/Library/Python/2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_968fbcee789046a8c143bb4a6e302895/testbuild/test.cpp.1.o -> build/.conf_check_968fbcee789046a8c143bb4a6e302895/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_968fbcee789046a8c143bb4a6e302895/testbuild/testprog', '-L/opt/local/lib', '-lboost_system-mt', '-lboost_signals-mt', '-lboost_filesystem-mt']
ok
------------------------------------------------------------
Checking for click location
not found
------------------------------------------------------------
Checking for program pkg-config
/opt/local/bin/pkg-config
find program=['pkg-config'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='PKGCONFIG' -> '/opt/local/bin/pkg-config'
------------------------------------------------------------
Checking for 'gtk+-2.0' >= 2.12
['/opt/local/bin/pkg-config', '--atleast-version=2.12', 'gtk+-2.0']
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'gtk+-2.0']
out: -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lgio-2.0 -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lXfixes -lX11 -lXext -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype 

yes
------------------------------------------------------------
Checking for 'libxml-2.0' >= 2.7
['/opt/local/bin/pkg-config', '--atleast-version=2.7', 'libxml-2.0']
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'libxml-2.0']
out: -I/opt/local/include/libxml2 -L/opt/local/lib -lxml2 

yes
------------------------------------------------------------
Checking for type uint128_t
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    if ((uint128_t *) 0) return 0;
    if (sizeof (uint128_t)) return 0;
    return 1;
}

<==
[1/2] cxx: build/.conf_check_656b178ce7442053dff90315b31a1cc5/test.cpp -> build/.conf_check_656b178ce7442053dff90315b31a1cc5/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:5:7: error: use of undeclared identifier 'uint128_t'
        if ((uint128_t *) 0) return 0;
             ^
../test.cpp:5:18: error: expected expression
        if ((uint128_t *) 0) return 0;
                        ^
../test.cpp:6:14: error: use of undeclared identifier 'uint128_t'
        if (sizeof (uint128_t)) return 0;
                    ^
3 errors generated.

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318726992: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for type __uint128_t
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    if ((__uint128_t *) 0) return 0;
    if (sizeof (__uint128_t)) return 0;
    return 1;
}

<==
[1/2] cxx: build/.conf_check_ace1886511f08627ee2e4ca020806295/test.cpp -> build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/test.cpp.1.o -> build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_ace1886511f08627ee2e4ca020806295/testbuild/testprog']
yes
------------------------------------------------------------
Checking high precision implementation
128-bit integer (default)
------------------------------------------------------------
Checking for header stdint.h
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/test.cpp -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header inttypes.h
==>
#include <inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/test.cpp -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header sys/inttypes.h
==>
#include <sys/inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_61ecbfef21667d45a28decabe37fdf64/test.cpp -> build/.conf_check_61ecbfef21667d45a28decabe37fdf64/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'sys/inttypes.h' file not found
#include <sys/inttypes.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318802128: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for header sys/types.h
==>
#include <sys/types.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/test.cpp -> build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/test.cpp.1.o -> build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_8d38681417ac64f5b5b7d4ca87b0e4f3/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header sys/stat.h
==>
#include <sys/stat.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/test.cpp -> build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=1', '-DHAVE_STDINT_H=1', '-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/test.cpp.1.o -> build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_8dd79274749d59bf459dfbeb1200c7d7/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header dirent.h
==>
#include <dirent.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_c94d96928742c001335a0559791a93d8/test.cpp -> build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/test.cpp.1.o -> build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_c94d96928742c001335a0559791a93d8/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header stdlib.h
==>
#include <stdlib.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/test.cpp -> build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/test.cpp.1.o -> build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_3a82ef2f96ebcc67f6086c98d2e6291e/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header signal.h
==>
#include <signal.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_48955ac54d2136a572805353a7b9b62d/test.cpp -> build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/test.cpp.1.o -> build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_48955ac54d2136a572805353a7b9b62d/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header pthread.h
==>

#include <pthread.h>
int main ()
{
   pthread_mutex_t m;
   pthread_mutex_init (&m, NULL);
   return 0;
}

<==
[1/2] cxx: build/.conf_check_2be466e82e703a744ee152afe2b58299/test.cpp -> build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/test.cpp.1.o -> build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_2be466e82e703a744ee152afe2b58299/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header stdint.h
==>
#include <stdint.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/test.cpp -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/test.cpp.1.o -> build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fa0c4ec9c63ac505501cc0863d9bdc48/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header inttypes.h
==>
#include <inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/test.cpp -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/test.cpp.1.o -> build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_7c67b81911f8bf0aede92c843d0e47cf/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header sys/inttypes.h
==>
#include <sys/inttypes.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_61ecbfef21667d45a28decabe37fdf64/test.cpp -> build/.conf_check_61ecbfef21667d45a28decabe37fdf64/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
err: ../test.cpp:1:10: fatal error: 'sys/inttypes.h' file not found
#include <sys/inttypes.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318825552: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for library rt
==>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/test.cpp -> build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE___UINT128_T=1', '-DINT64X64_USE_128=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']
[2/2] cxxprogram: build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/test.cpp.1.o -> build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/testprog', '-lrt']
err: ld: library not found for -lrt
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from /Users/Mohammed/ndnSIM/ns-3/src/core: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4319386256: cxxprogram test.cpp.1.o -> testprog}
['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_5ef57bc0d8aa3565949b6ce1186fd4a7/testbuild/testprog', '-lrt']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/core: The configuration failed
------------------------------------------------------------
Checking for header netpacket/packet.h
==>
#include <netpacket/packet.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/test.cpp -> build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'netpacket/packet.h' file not found
#include <netpacket/packet.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/emu: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318822928: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/emu: The configuration failed
------------------------------------------------------------
Checking for header sys/ioctl.h
==>
#include <sys/ioctl.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/test.cpp -> build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/test.cpp.1.o -> build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_ebd591dbc3bb45aa25214505e9aa0d0f/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header net/if.h
==>
#include <net/if.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/test.cpp -> build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/test.cpp.1.o -> build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_ab7199aa46fcaa2e15071e73776f8218/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header net/ethernet.h
==>
#include <net/ethernet.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/test.cpp -> build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
[2/2] cxxprogram: build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/test.cpp.1.o -> build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/testprog

['/usr/bin/g++', 'test.cpp.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_6c6255d84543ffa2d8b83c989561eef9/testbuild/testprog']
yes
------------------------------------------------------------
Checking for header linux/if_tun.h
==>
#include <linux/if_tun.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_79f849e1774b3cde8897857e178c7c8c/test.cpp -> build/.conf_check_79f849e1774b3cde8897857e178c7c8c/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'linux/if_tun.h' file not found
#include <linux/if_tun.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318873168: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: The configuration failed
------------------------------------------------------------
Checking for header netpacket/packet.h
==>
#include <netpacket/packet.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/test.cpp -> build/.conf_check_f00bb2460dc7019f64c1a347be5879fa/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'netpacket/packet.h' file not found
#include <netpacket/packet.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318875280: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/fd-net-device: The configuration failed
------------------------------------------------------------
Checking for NSC location
not found
------------------------------------------------------------
Checking for OpenFlow location
not found
------------------------------------------------------------
Checking for 'sqlite3'
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'sqlite3']
out: -I/opt/local/include -L/opt/local/lib -lsqlite3 

yes
------------------------------------------------------------
Checking for header linux/if_tun.h
==>
#include <linux/if_tun.h>

int main(int argc, char **argv) {
    (void)argc; (void)argv;
    return 0;
}

<==
[1/2] cxx: build/.conf_check_79f849e1774b3cde8897857e178c7c8c/test.cpp -> build/.conf_check_79f849e1774b3cde8897857e178c7c8c/testbuild/test.cpp.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']
err: ../test.cpp:1:10: fatal error: 'linux/if_tun.h' file not found
#include <linux/if_tun.h>
         ^
1 error generated.

from /Users/Mohammed/ndnSIM/ns-3/src/tap-bridge: Test does not build: Traceback (most recent call last):
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Tools/c_config.py", line 460, in run_c_code
    bld.compile()
  File "/Users/Mohammed/ndnSIM/ns-3/.waf-1.7.11-2f760793a9090bf35f69082a250595d9/waflib/Build.py", line 190, in compile
    raise Errors.BuildError(self.producer.error)
BuildError: Build failed
 -> task in 'testprog' failed (exit status 1): 
    {task 4318802960: cxx test.cpp -> test.cpp.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cpp', '-c', '-o', 'test.cpp.1.o']

not found
from /Users/Mohammed/ndnSIM/ns-3/src/tap-bridge: The configuration failed
------------------------------------------------------------
Checking for program sudo
/usr/bin/sudo
find program=['sudo'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='SUDO' -> '/usr/bin/sudo'
------------------------------------------------------------
Checking for program valgrind
not found
find program=['valgrind'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='VALGRIND' -> ''
from /Users/Mohammed/ndnSIM/ns-3: Could not find the program valgrind
------------------------------------------------------------
Checking for 'gsl'
['/opt/local/bin/pkg-config', '--cflags', '--libs', 'gsl']
err: Package gsl was not found in the pkg-config search path.
Perhaps you should add the directory containing `gsl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gsl' found

not found
from /Users/Mohammed/ndnSIM/ns-3: The configuration failed
----------------------------------------------------------------
Checking for compilation flag -Wno-error=deprecated-d... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -Wno-error=deprecated-d... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o

['/usr/bin/gcc', '-Wno-error=deprecated-declarations', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog

['/usr/bin/gcc', 'test.c.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -fstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -fstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o

['/usr/bin/gcc', '-fstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog

['/usr/bin/gcc', 'test.c.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -Wstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] cxx: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/test.cc -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o

['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.cc', '-c', '-o', 'test.cc.1.o']
[2/2] cxxprogram: build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/test.cc.1.o -> build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog

['/usr/bin/g++', 'test.cc.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_fe0ca542f39064c5a14ee41a2e983996/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for compilation flag -Wstrict-aliasing... support
==>
#include <stdio.h>
int main() { return 0; }

<==
[1/2] c: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/test.c -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o

['/usr/bin/gcc', '-Wstrict-aliasing', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_SQLITE3=1', '../test.c', '-c', '-o', 'test.c.1.o']
[2/2] cprogram: build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/test.c.1.o -> build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog

['/usr/bin/gcc', 'test.c.1.o', '-o', '/Users/Mohammed/ndnSIM/ns-3/build/.conf_check_d8a2c40aecfb7c8eac7dd03fcbfb1110/testbuild/testprog']
ok
----------------------------------------------------------------
Checking for program doxygen
not found
find program=['doxygen'] paths=['/opt/local/bin', '/opt/local/sbin', '/opt/local/bin', '/opt/local/sbin', '/Applications/MAMP/Library/bin', '/Applications/MAMP/bin/php/php5.3.6/bin', '/Applications/MAMP/htdocs/cakephp/lib/Cake/Console', '/usr/bin', '/bin', '/usr/sbin', '/sbin', '/usr/local/bin', '/usr/local/Trolltech/Qt-4.5.3/bin', '/opt/X11/bin', '/usr/local/git/bin'] var='DOXYGEN' -> ''

from /Users/Mohammed/ndnSIM/ns-3: Could not find the program doxygen

cawka commented 10 years ago

I have no idea. I would recommend not puting the whole config.log here. You can upload it to pastebin and then just add a link.

output of ./waf configure may give some high-level information about what's wrong. Other than that, I don't know and things should work.

jabary commented 10 years ago

Thanks,

It worked but only on Ubuntu!!

Mohammed Jabari College of IT and Computer Engineering, Instructor Palestine Polytechnic University

On 25 Jul 2014, at 00:25, Alex Afanasyev notifications@github.com wrote:

I have no idea. I would recommend not puting the whole config.log here. You can upload it to pastebin and then just add a link.

output of ./waf configure may give some high-level information about what's wrong. Other than that, I don't know and things should work.

— Reply to this email directly or view it on GitHub.