Build failed
-> task in 'ns3module_network' failed (exit status 1):
{task 4324805456: cxx ns3module.cc -> ns3module.cc.7.o}
['/usr/bin/clang++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-unused-local-typedefs', '-Wno-potentially-evaluated-expression', '-std=c++11', '-fPIC', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-fwrapv', '-Wno-array-bounds', '-fPIC', '-I.', '-I..', '-Isrc/network/bindings', '-I../src/network/bindings', '-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DHAVE_PYEXT=1', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-DNDEBUG', '-DENABLE_DTRACE', 'src/network/bindings/ns3module.cc', '-c', '-o', '/Users/laithal-saeed/ns-3-allinone/ns-3-dev/build/src/network/bindings/ns3module.cc.7.o']
-> task in 'ns3module_lte' failed (exit status 1):
{task 4324581264: cxx ns3module.cc -> ns3module.cc.7.o}
['/usr/bin/clang++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-unused-local-typedefs', '-Wno-potentially-evaluated-expression', '-std=c++11', '-fPIC', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-fwrapv', '-Wno-array-bounds', '-fPIC', '-I.', '-I..', '-Isrc/lte/bindings', '-I../src/lte/bindings', '-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DHAVE_PYEXT=1', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-DNDEBUG', '-DENABLE_DTRACE', 'src/lte/bindings/ns3module.cc', '-c', '-o', '/Users/laithal-saeed/ns-3-allinone/ns-3-dev/build/src/lte/bindings/ns3module.cc.7.o']
# Build NetAnim
Entering directory `netanim'
=> qmake -v
Could not find qmake in the default path
=> qmake-qt4 -v
Could not find qmake-qt4 in the default path
=> qmake -spec macx-g++ NetAnim.pro
Error building NetAnim. Ensure the path to qmake is correct.
Could not find qmake or qmake-qt4 in the default PATH.
Use ./build.py --qmake-path <Path-to-qmake>, if qmake is installed in a non-standard location
Note: Some systems use qmake-qt4 instead of qmake
Skipping NetAnim ....
Leaving directory `netanim'
# Build NS-3
Entering directory `./ns-3-dev'
=> /usr/bin/python waf configure --with-pybindgen ../pybindgen
Setting top to : /Users/laithal-saeed/ns-3-allinone/ns-3-dev
Setting out to : /Users/laithal-saeed/ns-3-allinone/ns-3-dev/build
Checking for 'clang' (C compiler) : /usr/bin/clang
Checking for cc version : 8.1.0
Checking for 'clang++' (C++ compiler) : /usr/bin/clang++
Checking for program 'python' : /usr/bin/python
Checking for python version : (2, 7, 10, 'final', 0)
python-config : /usr/bin/python-config
Asking python-config for pyembed '--cflags --libs --ldflags' flags : yes
Testing pyembed configuration : yes
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Checking for compilation flag -Wno-array-bounds support : ok
Checking for pybindgen location : ../pybindgen (given)
Checking for python module 'pybindgen' : 0.17.0.post58+gcf00cc0
Checking for pybindgen version : 0.17.0.post58+gcf00cc0
Checking for code snippet : no
Checking for types uint64_t and unsigned long equivalence : yes
Checking for code snippet : yes
Checking for types uint64_t and unsigned long long equivalence : no
Checking for the apidefs that can be used for Python bindings : gcc-ILP32
Checking for internal GCC cxxabi : incomplete
Checking for python module 'pygccxml' : not found
Checking boost includes : headers not found, please provide a --boost-includes argument (see help)
Checking boost includes : headers not found, please provide a --boost-includes argument (see help)
Checking for click location : not found
Checking for program 'pkg-config' : not found
Checking for program 'pkg-config' : not found
Checking for type uint128_t : not found
Checking for type __uint128_t : yes
Checking high precision implementation : 128-bit integer (default)
Checking for header stdint.h : yes
Checking for header inttypes.h : yes
Checking for header sys/inttypes.h : not found
Checking for header sys/types.h : yes
Checking for header sys/stat.h : yes
Checking for header dirent.h : yes
Checking for header stdlib.h : yes
Checking for header signal.h : yes
Checking for header pthread.h : yes
Checking for header stdint.h : yes
Checking for header inttypes.h : yes
Checking for header sys/inttypes.h : not found
Checking for library rt : not found
Checking for header sys/ioctl.h : yes
Checking for header net/if.h : yes
Checking for header net/ethernet.h : yes
Checking for header linux/if_tun.h : not found
Checking for header netpacket/packet.h : not found
Checking for NSC location : not found
Checking for program 'pkg-config' : not found
Checking for header linux/if_tun.h : not found
Checking for python module 'gtk' : not found
Checking for python module 'goocanvas' : not found
Checking for python module 'pygraphviz' : not found
Checking boost includes : headers not found, please provide a --boost-includes argument (see help)
Checking boost includes : headers not found, please provide a --boost-includes argument (see help)
Checking for program 'sudo' : /usr/bin/sudo
Checking for program 'valgrind' : not found
Checking for program 'pkg-config' : not found
python-config : not found
Checking for program 'doxygen' : not found
---- Summary of optional NS-3 features:
Build profile : debug
Build directory :
BRITE Integration : not enabled (BRITE not enabled (see option --with-brite))
DES Metrics event collection : not enabled (defaults to disabled)
Emulation FdNetDevice : not enabled (needs netpacket/packet.h)
Examples : not enabled (defaults to disabled)
File descriptor NetDevice : enabled
GNU Scientific Library (GSL) : not enabled (GSL not found)
Gcrypt library : not enabled (libgcrypt not found: you can use libgcrypt-config to find its location.)
GtkConfigStore : not enabled (library 'gtk+-2.0 >= 2.12' not found)
MPI Support : not enabled (option --enable-mpi not selected)
NS-3 Click Integration : not enabled (nsclick not enabled (see option --with-nsclick))
NS-3 OpenFlow Integration : not enabled (Required boost libraries not found)
Network Simulation Cradle : not enabled (NSC not found (see option --with-nsc))
PlanetLab FdNetDevice : not enabled (PlanetLab operating system not detected (see option --force-planetlab))
PyViz visualizer : not enabled (Missing python modules: gtk, goocanvas, pygraphviz)
Python API Scanning Support : not enabled (Missing 'pygccxml' Python module)
Python Bindings : enabled
Real Time Simulator : not enabled (librt is not available)
SQlite stats data output : not enabled (library 'sqlite3' not found)
Tap Bridge : not enabled (<linux/if_tun.h> include not detected)
Tap FdNetDevice : not enabled (needs linux/if_tun.h)
Tests : not enabled (defaults to disabled)
Threading Primitives : enabled
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
XmlIo : not enabled (library 'libxml-2.0 >= 2.7' not found)
'configure' finished successfully (2.343s)
=> /usr/bin/python waf build
Waf: Entering directory `/Users/laithal-saeed/ns-3-allinone/ns-3-dev/build'
[1582/1905] Compiling build/src/lte/bindings/ns3module.cc
[1650/1905] Compiling build/src/network/bindings/ns3module.cc
In file included from src/network/bindings/ns3module.cc:1:
src/network/bindings/ns3module.h:2351:23: error: no member named 'DoNsLog' in 'ns3::QueueBase'
{ ns3::QueueBase::DoNsLog(level, str); }
~~~~~~~~~~~~~~~~^
1 error generated.
In file included from src/lte/bindings/ns3module.cc:1:
src/lte/bindings/ns3module.h:7487:11: error: no matching constructor for initialization of 'ns3::UeManager'
: ns3::UeManager(rrc, rnti, s), m_pyself(NULL)
^ ~~~~~~~~~~~~
./ns3/lte-enb-rrc.h:111:3: note: candidate constructor not viable: requires 4 arguments, but 3 were provided
UeManager (Ptr<LteEnbRrc> rrc, uint16_t rnti, State s, uint8_t componentCarrierId);
^
./ns3/lte-enb-rrc.h:72:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
class UeManager : public Object
^
./ns3/lte-enb-rrc.h:99:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided
UeManager ();
^
src/lte/bindings/ns3module.cc:38333:25: error: allocating an object of abstract class type 'PyNs3LteCcmRrcSapUser__PythonHelper'
self->obj = new PyNs3LteCcmRrcSapUser__PythonHelper();
^
./ns3/lte-ccm-rrc-sap.h:212:26: note: unimplemented pure virtual method 'GetUeManager' in 'PyNs3LteCcmRrcSapUser__PythonHelper'
virtual Ptr<UeManager> GetUeManager (uint16_t rnti) = 0;
^
src/lte/bindings/ns3module.cc:38361:25: error: allocating an object of abstract class type 'PyNs3LteCcmRrcSapUser__PythonHelper'
self->obj = new PyNs3LteCcmRrcSapUser__PythonHelper(*((PyNs3LteCcmRrcSapUser *) arg0)->obj);
^
src/lte/bindings/ns3module.cc:93599:85: error: too few arguments to function call, expected 2, have 1
self->obj->SendSystemInformation(*((PyNs3LteRrcSapSystemInformation *) msg)->obj);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
./ns3/lte-rrc-sap.h:1092:3: note: 'SendSystemInformation' declared here
virtual void SendSystemInformation (uint16_t cellId, SystemInformation msg) = 0;
^
src/lte/bindings/ns3module.cc:100838:25: error: no matching constructor for initialization of 'ns3::UeManager'
self->obj = new ns3::UeManager(ns3::Ptr< ns3::LteEnbRrc > (rrc_ptr), rnti, s);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./ns3/lte-enb-rrc.h:111:3: note: candidate constructor not viable: requires 4 arguments, but 3 were provided
UeManager (Ptr<LteEnbRrc> rrc, uint16_t rnti, State s, uint8_t componentCarrierId);
^
./ns3/lte-enb-rrc.h:72:7: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 3 were provided
class UeManager : public Object
^
./ns3/lte-enb-rrc.h:99:3: note: candidate constructor not viable: requires 0 arguments, but 3 were provided
UeManager ();
^
src/lte/bindings/ns3module.cc:119905:51: error: too many arguments to function call, expected single argument 'ccPhyConf', have 2 arguments
self->obj->ConfigureCarriers(ccPhyConf_value, numberOfCarriers);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
./ns3/lte-enb-rrc.h:866:3: note: 'ConfigureCarriers' declared here
void ConfigureCarriers (std::map<uint8_t, Ptr<ComponentCarrierEnb>> ccPhyConf);
^
src/lte/bindings/ns3module.cc:120286:30: error: no viable conversion from 'int' to 'std::map<uint8_t, Ptr<ComponentCarrierEnb> >' (aka 'map<unsigned char, Ptr<ns3::ComponentCarrierEnb> >')
self->obj->ConfigureCell(cellId);
^~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:901:5: note: candidate constructor not viable: no known conversion from 'int' to 'const std::__1::map<unsigned char, ns3::Ptr<ns3::ComponentCarrierEnb>, std::__1::less<unsigned char>, std::__1::allocator<std::__1::pair<const unsigned char, ns3::Ptr<ns3::ComponentCarrierEnb> > > > &' for 1st argument
map(const map& __m)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:926:5: note: candidate constructor not viable: no known conversion from 'int' to 'std::__1::map<unsigned char, ns3::Ptr<ns3::ComponentCarrierEnb>, std::__1::less<unsigned char>, std::__1::allocator<std::__1::pair<const unsigned char, ns3::Ptr<ns3::ComponentCarrierEnb> > > > &&' for 1st argument
map(map&& __m)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/map:947:5: note: candidate constructor not viable: no known conversion from 'int' to 'initializer_list<value_type>' (aka 'initializer_list<pair<const unsigned char, ns3::Ptr<ns3::ComponentCarrierEnb> > >') for 1st argument
map(initializer_list<value_type> __il, const key_compare& __comp = key_compare())
^
./ns3/lte-enb-rrc.h:860:67: note: passing argument to parameter 'ccPhyConf' here
void ConfigureCell (std::map<uint8_t, Ptr<ComponentCarrierEnb>> ccPhyConf);
^
src/lte/bindings/ns3module.cc:124602:37: error: no viable conversion from 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'ns3::TypeId'
self->obj->SetPathlossModelType(std::string(type, type_len));
^~~~~~~~~~~~~~~~~~~~~~~~~~~
./ns3/type-id.h:617:9: note: candidate constructor not viable: no known conversion from 'std::string' (aka 'basic_string<char, char_traits<char>, allocator<char> >') to 'const ns3::TypeId &' for 1st argument
TypeId::TypeId (const TypeId &o)
^
./ns3/lte-helper.h:137:37: note: passing argument to parameter 'type' here
void SetPathlossModelType (TypeId type);
^
src/lte/bindings/ns3module.cc:125629:52: error: too many arguments to function call, expected 0, have 1
retval = self->obj->GetDownlinkSpectrumChannel(carrierId);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~
./ns3/lte-helper.h:678:3: note: 'GetDownlinkSpectrumChannel' declared here
Ptr<SpectrumChannel> GetDownlinkSpectrumChannel (void) const;
^
9 errors generated.
Waf: Leaving directory `/Users/laithal-saeed/ns-3-allinone/ns-3-dev/build'
Build failed
-> task in 'ns3module_network' failed (exit status 1):
{task 4423523152: cxx ns3module.cc -> ns3module.cc.7.o}
['/usr/bin/clang++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-unused-local-typedefs', '-Wno-potentially-evaluated-expression', '-std=c++11', '-fPIC', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-fwrapv', '-Wno-array-bounds', '-fPIC', '-I.', '-I..', '-Isrc/network/bindings', '-I../src/network/bindings', '-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DHAVE_PYEXT=1', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-DNDEBUG', '-DENABLE_DTRACE', 'src/network/bindings/ns3module.cc', '-c', '-o', '/Users/laithal-saeed/ns-3-allinone/ns-3-dev/build/src/network/bindings/ns3module.cc.7.o']
-> task in 'ns3module_lte' failed (exit status 1):
{task 4423298960: cxx ns3module.cc -> ns3module.cc.7.o}
['/usr/bin/clang++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-unused-local-typedefs', '-Wno-potentially-evaluated-expression', '-std=c++11', '-fPIC', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-fno-common', '-fno-strict-aliasing', '-fwrapv', '-fwrapv', '-Wno-array-bounds', '-fPIC', '-I.', '-I..', '-Isrc/lte/bindings', '-I../src/lte/bindings', '-I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7', '-DNS3_BUILD_PROFILE_DEBUG', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DHAVE_PYEXT=1', '-DENABLE_DTRACE', '-DMACOSX', '-DNDEBUG', '-DNDEBUG', '-DENABLE_DTRACE', 'src/lte/bindings/ns3module.cc', '-c', '-o', '/Users/laithal-saeed/ns-3-allinone/ns-3-dev/build/src/lte/bindings/ns3module.cc.7.o']
Traceback (most recent call last):
File "./build.py", line 171, in <module>
sys.exit(main(sys.argv))
File "./build.py", line 162, in main
build_ns3(config, build_examples, build_tests, args, build_options)
File "./build.py", line 82, in build_ns3
run_command([sys.executable, "waf", "build"] + build_options)
File "/Users/laithal-saeed/ns-3-allinone/util.py", line 25, in run_command
raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['/usr/bin/python', 'waf', 'build'] exited with code 1
LAITHs-MacBook-Pro:ns-3-allinone laithal-saeed$