You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setting top to : /home/yuntang/Desktop/ns-O-RAN-flexric/ns-3-mmwave-oran
Setting out to : /home/yuntang/Desktop/ns-O-RAN-flexric/ns-3-mmwave-oran/build
Checking for 'gcc' (C compiler) : /usr/bin/gcc
Checking for cc version : 10.5.0
Checking for 'g++' (C++ compiler) : /usr/bin/g++
Checking for compilation flag -Wl,--soname=foo support : ok
Checking for compilation flag -std=c++11 support : ok
Checking boost includes : 1_71
Checking boost libs : lib signals not found in /usr/lib/x86_64-linux-gnu
Checking boost includes : 1_71
Checking boost libs : lib signals not found in /usr/lib/x86_64-linux-gnu
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 2.3 : 3.8.10
python-config : /usr/bin/python3-config
Asking python-config for pyembed '--cflags --libs --ldflags --embed' flags : yes
Testing pyembed configuration : yes
Asking python-config for pyext '--cflags --libs --ldflags' flags : yes
Testing pyext configuration : yes
Checking for compilation flag -fvisibility=hidden support : ok
Checking for compilation flag -Wno-array-bounds support : ok
Checking for pybindgen location : not found
Checking for python module 'pybindgen' : 0.22.1
Checking for pybindgen version : 0.22.1
Checking for code snippet : yes
Checking for types uint64_t and unsigned long equivalence : no
Checking for code snippet : no
Checking for types uint64_t and unsigned long long equivalence : yes
Checking for the apidefs that can be used for Python bindings : gcc-LP64
Checking for internal GCC cxxabi : complete
Checking for python module 'pygccxml' : 2.6.0
Checking for pygccxml version : 2.6.0
Checking for program 'castxml' : /home/yuntang/.local/bin/castxml
Checking for castxml version : 0.4
Checking for click location : not found
Checking for program 'pkg-config' : /usr/bin/pkg-config
Checking for 'gtk+-3.0 >= 3.20' : yes
Checking for 'libxml-2.0 >= 2.7' : yes
checking for uint128_t : not found
checking for __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 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 : yes
Checking for header boost/units/systems/si.hpp : yes
Checking for header sys/ioctl.h : yes
Checking for header net/if.h : yes
Checking for header net/ethernet.h : yes
Checking for 'libdpdk' : yes
Checking for header linux/if_tun.h : yes
Checking for header netpacket/packet.h : yes
Checking for header net/netmap_user.h : not found
Checking for NSC location : not found
Checking for 'sqlite3' : yes
Checking for header semaphore.h : yes
Checking for header linux/if_tun.h : yes
Checking for python module 'gi' : 3.36.0
Checking for python module 'gi.repository.GObject' : ok
Checking for python module 'cairo' : ok
Checking for python module 'pygraphviz' : 1.11
Checking for python module 'gi.repository.Gtk' : ok
Checking for python module 'gi.repository.Gdk' : ok
Checking for python module 'gi.repository.Pango' : ok
Checking for python module 'gi.repository.GooCanvas' : ok
Found contrib module : oran-interface
Checking for program 'sudo' : /usr/bin/sudo
Checking for program 'valgrind' : not found
Checking for 'gsl' : yes
libgcrypt-config : /usr/bin/libgcrypt-config
Checking for libgcrypt : yes
Checking for compilation flag -fstrict-aliasing support : ok
Checking for compilation flag -fstrict-aliasing support : ok
Checking for compilation flag -Wstrict-aliasing support : ok
Checking for compilation flag -Wstrict-aliasing support : ok
Checking for program 'doxygen' : /usr/bin/doxygen
---- 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)
DPDK NetDevice : enabled
Emulation FdNetDevice : enabled
Examples : not enabled (defaults to disabled)
File descriptor NetDevice : enabled
GNU Scientific Library (GSL) : enabled
Gcrypt library : enabled
GtkConfigStore : enabled
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)
Netmap emulation FdNetDevice : not enabled (needs net/netmap_user.h)
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 : enabled
Python API Scanning Support : enabled
Python Bindings : enabled
Real Time Simulator : enabled
SQLite stats support : enabled
Tap Bridge : enabled
Tap FdNetDevice : enabled
Tests : not enabled (defaults to disabled)
Threading Primitives : enabled
Use sudo to set suid bit : not enabled (option --enable-sudo not selected)
XmlIo : enabled
'configure' finished successfully (5.005s)
Waf: Entering directory `/home/yuntang/Desktop/ns-O-RAN-flexric/ns-3-mmwave-oran/build'
[2135/2262] Compiling build/src/lte/bindings/ns3module.cc
[2138/2262] Compiling build/src/mmwave/bindings/ns3module.cc
[2142/2262] Compiling build/src/netanim/bindings/ns3module.cc
[2153/2262] Linking build/bindings/python/ns/propagation.cpython-38-x86_64-linux-gnu.so
[2156/2262] Linking build/bindings/python/ns/sixlowpan.cpython-38-x86_64-linux-gnu.so
[2157/2262] Linking build/bindings/python/ns/spectrum.cpython-38-x86_64-linux-gnu.so
[2159/2262] Linking build/bindings/python/ns/stats.cpython-38-x86_64-linux-gnu.so
[2161/2262] Linking build/bindings/python/ns/tap_bridge.cpython-38-x86_64-linux-gnu.so
[2162/2262] Compiling build/src/topology-read/bindings/ns3module.cc
[2163/2262] Compiling build/src/traffic-control/bindings/ns3module.cc
[2164/2262] Compiling build/src/uan/bindings/ns3module.cc
[2165/2262] Compiling build/src/virtual-net-device/bindings/ns3module.cc
[2166/2262] Compiling build/src/visualizer/bindings/ns3module.cc
[2167/2262] Compiling build/src/wave/bindings/ns3module.cc
[2168/2262] Linking build/bindings/python/ns/topology_read.cpython-38-x86_64-linux-gnu.so
In file included from src/netanim/bindings/ns3module.cc:1:
src/netanim/bindings/ns3module.h:2245:21: error: ‘TxFailParam’ in ‘class ns3::LteRrcSap’ does not name a type
2245 | ns3::LteRrcSap::TxFailParam *obj;
| ^~~~~~~~~~~
In file included from src/netanim/bindings/ns3module.cc:1:
src/netanim/bindings/ns3module.h:5258:10: error: ‘ComponentCarrierBaseStation’ in namespace ‘ns3’ does not name a type
5258 | ns3::ComponentCarrierBaseStation *obj;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from src/netanim/bindings/ns3module.cc:1:
src/netanim/bindings/ns3module.h:8370:45: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
8370 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *obj;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.h:8370:45: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.h:8370:73: error: template argument 1 is invalid
8370 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *obj;
| ^
src/netanim/bindings/ns3module.h:8370:75: error: template argument 2 is invalid
8370 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *obj;
| ^
src/netanim/bindings/ns3module.h:8370:75: error: template argument 4 is invalid
src/netanim/bindings/ns3module.h:8377:45: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
8377 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator *iterator;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.h:8377:45: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.h:8377:73: error: template argument 1 is invalid
8377 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator *iterator;
| ^
src/netanim/bindings/ns3module.h:8377:75: error: template argument 2 is invalid
8377 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator *iterator;
| ^
src/netanim/bindings/ns3module.h:8377:75: error: template argument 4 is invalid
src/netanim/bindings/ns3module.h:8377:78: error: expected ‘;’ at end of member declaration
8377 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator *iterator;
| ^~~~~~~~
| ;
src/netanim/bindings/ns3module.h:8377:88: error: ISO C++ forbids declaration of ‘iterator’ with no type [-fpermissive]
8377 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator *iterator;
| ^~~~~~~~
src/netanim/bindings/ns3module.h:8377:88: error: redeclaration of ‘int* <unnamed struct>::iterator’
src/netanim/bindings/ns3module.h:8377:78: note: previous declaration ‘int <unnamed struct>::iterator’
8377 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator *iterator;
| ^~~~~~~~
src/netanim/bindings/ns3module.h:8384:172: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
8384 | int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject *arg, std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *container);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.h:8384:172: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.h:8384:200: error: template argument 1 is invalid
8384 | int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject *arg, std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *container);
| ^
src/netanim/bindings/ns3module.h:8384:202: error: template argument 2 is invalid
8384 | int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject *arg, std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *container);
| ^
src/netanim/bindings/ns3module.h:8384:202: error: template argument 4 is invalid
src/netanim/bindings/ns3module.h:12040:112: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
12040 | int _wrap_convert_py2c__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt__(PyObject *value, ns3::Ptr< ns3::ComponentCarrierBaseStation > *address);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.h:12040:112: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.h:12040:140: error: template argument 1 is invalid
12040 | int _wrap_convert_py2c__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt__(PyObject *value, ns3::Ptr< ns3::ComponentCarrierBaseStation > *address);
| ^
src/netanim/bindings/ns3module.cc: In function ‘void Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter__tp_clear(Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter*)’:
src/netanim/bindings/ns3module.cc:16029:18: error: type ‘int’ argument given to ‘delete’, expected pointer
16029 | delete self->iterator;
| ~~~~~~^~~~~~~~
src/netanim/bindings/ns3module.cc:16030:22: error: converting to non-pointer type ‘int’ from NULL [-Werror=conversion-null]
16030 | self->iterator = NULL;
| ^~~~
src/netanim/bindings/ns3module.cc: In function ‘void _wrap_Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter__tp_dealloc(Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter*)’:
src/netanim/bindings/ns3module.cc:16057:18: error: type ‘int’ argument given to ‘delete’, expected pointer
16057 | delete self->iterator;
| ~~~~~~^~~~~~~~
src/netanim/bindings/ns3module.cc:16058:22: error: converting to non-pointer type ‘int’ from NULL [-Werror=conversion-null]
16058 | self->iterator = NULL;
| ^~~~
src/netanim/bindings/ns3module.cc: In function ‘PyObject* _wrap_Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt____tp_iter(Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__*)’:
src/netanim/bindings/ns3module.cc:16070:66: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16070 | iter->iterator = new std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator(self->obj->begin());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16070:66: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16070:94: error: template argument 1 is invalid
16070 | iter->iterator = new std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator(self->obj->begin());
| ^
src/netanim/bindings/ns3module.cc:16070:96: error: template argument 2 is invalid
16070 | iter->iterator = new std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator(self->obj->begin());
| ^
src/netanim/bindings/ns3module.cc:16070:96: error: template argument 4 is invalid
src/netanim/bindings/ns3module.cc: In function ‘PyObject* _wrap_Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter__tp_iternext(Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter*)’:
src/netanim/bindings/ns3module.cc:16085:45: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16085 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator iter;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16085:45: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16085:73: error: template argument 1 is invalid
16085 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator iter;
| ^
src/netanim/bindings/ns3module.cc:16085:75: error: template argument 2 is invalid
16085 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator iter;
| ^
src/netanim/bindings/ns3module.cc:16085:75: error: template argument 4 is invalid
src/netanim/bindings/ns3module.cc:16085:87: error: expected initializer before ‘iter’
16085 | std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >::iterator iter;
| ^~~~
src/netanim/bindings/ns3module.cc:16090:5: error: ‘iter’ was not declared in this scope
16090 | iter = *self->iterator;
| ^~~~
src/netanim/bindings/ns3module.cc:16090:12: error: invalid type argument of unary ‘*’ (have ‘int’)
16090 | iter = *self->iterator;
| ^~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16091:39: error: request for member ‘end’ in ‘* self->Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__Iter::container->Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__::obj’, which is of non-class type ‘int’
16091 | if (iter == self->container->obj->end()) {
| ^~~
src/netanim/bindings/ns3module.cc:16095:8: error: invalid type argument of unary ‘*’ (have ‘int’)
16095 | ++(*self->iterator);
| ^~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16096:27: error: ‘ComponentCarrierBaseStation’ in namespace ‘ns3’ does not name a type
16096 | if (!(const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16096:55: error: expected ‘>’ before ‘*’ token
16096 | if (!(const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))) {
| ^
src/netanim/bindings/ns3module.cc:16096:55: error: expected ‘(’ before ‘*’ token
16096 | if (!(const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))) {
| ^
| (
src/netanim/bindings/ns3module.cc:16096:56: error: expected primary-expression before ‘>’ token
16096 | if (!(const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))) {
| ^
src/netanim/bindings/ns3module.cc:16096:93: error: expected ‘)’ before ‘{’ token
16096 | if (!(const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))) {
| ~ ^~
| )
src/netanim/bindings/ns3module.cc:16109:138: error: ‘ComponentCarrierBaseStation’ in namespace ‘ns3’ does not name a type
16109 | wrapper_type = PyNs3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter__typeid_map.lookup_wrapper(typeid((*const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))), &PyNs3ComponentCarrierBaseStation_Type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16109:166: error: expected ‘>’ before ‘*’ token
16109 | wrapper_type = PyNs3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter__typeid_map.lookup_wrapper(typeid((*const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))), &PyNs3ComponentCarrierBaseStation_Type);
| ^
src/netanim/bindings/ns3module.cc:16109:166: error: expected ‘(’ before ‘*’ token
16109 | wrapper_type = PyNs3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter__typeid_map.lookup_wrapper(typeid((*const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))), &PyNs3ComponentCarrierBaseStation_Type);
| ^
| (
src/netanim/bindings/ns3module.cc:16109:167: error: expected primary-expression before ‘>’ token
16109 | wrapper_type = PyNs3SimpleRefCount__Ns3Object_Ns3ObjectBase_Ns3ObjectDeleter__typeid_map.lookup_wrapper(typeid((*const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second)))), &PyNs3ComponentCarrierBaseStation_Type);
| ^
src/netanim/bindings/ns3module.cc:16115:25: error: ‘ComponentCarrierBaseStation’ in namespace ‘ns3’ does not name a type
16115 | const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second))->Ref();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16115:53: error: expected ‘>’ before ‘*’ token
16115 | const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second))->Ref();
| ^
src/netanim/bindings/ns3module.cc:16115:53: error: expected ‘(’ before ‘*’ token
16115 | const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second))->Ref();
| ^
| (
src/netanim/bindings/ns3module.cc:16115:54: error: expected primary-expression before ‘>’ token
16115 | const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second))->Ref();
| ^
src/netanim/bindings/ns3module.cc:16115:96: error: expected ‘)’ before ‘;’ token
16115 | const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second))->Ref();
| ^
| )
src/netanim/bindings/ns3module.cc:16116:41: error: ‘struct PyNs3ComponentCarrierBaseStation’ has no member named ‘obj’
16116 | py_ComponentCarrierBaseStation->obj = const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second));
| ^~~
src/netanim/bindings/ns3module.cc:16116:63: error: ‘ComponentCarrierBaseStation’ in namespace ‘ns3’ does not name a type
16116 | py_ComponentCarrierBaseStation->obj = const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16116:91: error: expected ‘>’ before ‘*’ token
16116 | py_ComponentCarrierBaseStation->obj = const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second));
| ^
src/netanim/bindings/ns3module.cc:16116:91: error: expected ‘(’ before ‘*’ token
16116 | py_ComponentCarrierBaseStation->obj = const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second));
| ^
| (
src/netanim/bindings/ns3module.cc:16116:92: error: expected primary-expression before ‘>’ token
16116 | py_ComponentCarrierBaseStation->obj = const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second));
| ^
src/netanim/bindings/ns3module.cc:16116:127: error: expected ‘)’ before ‘;’ token
16116 | py_ComponentCarrierBaseStation->obj = const_cast<ns3::ComponentCarrierBaseStation *> (ns3::PeekPointer (iter->second));
| ^
| )
src/netanim/bindings/ns3module.cc:16117:83: error: ‘struct PyNs3ComponentCarrierBaseStation’ has no member named ‘obj’
16117 | PyNs3ObjectBase_wrapper_registry[(void *) py_ComponentCarrierBaseStation->obj] = (PyObject *) py_ComponentCarrierBaseStation;
| ^~~
src/netanim/bindings/ns3module.cc: At global scope:
src/netanim/bindings/ns3module.cc:16123:112: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16123 | int _wrap_convert_py2c__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt__(PyObject *value, ns3::Ptr< ns3::ComponentCarrierBaseStation > *address)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16123:112: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16123:140: error: template argument 1 is invalid
16123 | int _wrap_convert_py2c__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt__(PyObject *value, ns3::Ptr< ns3::ComponentCarrierBaseStation > *address)
| ^
src/netanim/bindings/ns3module.cc: In function ‘int _wrap_convert_py2c__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt__(PyObject*, int*)’:
src/netanim/bindings/ns3module.cc:16134:31: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16134 | *address = ns3::Ptr< ns3::ComponentCarrierBaseStation > (tmp_ComponentCarrierBaseStation->obj);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16134:31: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16134:60: error: template argument 1 is invalid
16134 | *address = ns3::Ptr< ns3::ComponentCarrierBaseStation > (tmp_ComponentCarrierBaseStation->obj);
| ^
src/netanim/bindings/ns3module.cc:16134:96: error: ‘struct PyNs3ComponentCarrierBaseStation’ has no member named ‘obj’
16134 | *address = ns3::Ptr< ns3::ComponentCarrierBaseStation > (tmp_ComponentCarrierBaseStation->obj);
| ^~~
src/netanim/bindings/ns3module.cc: At global scope:
src/netanim/bindings/ns3module.cc:16140:172: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16140 | int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject *arg, std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *container)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16140:172: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16140:200: error: template argument 1 is invalid
16140 | int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject *arg, std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *container)
| ^
src/netanim/bindings/ns3module.cc:16140:202: error: template argument 2 is invalid
16140 | int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject *arg, std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > *container)
| ^
src/netanim/bindings/ns3module.cc:16140:202: error: template argument 4 is invalid
src/netanim/bindings/ns3module.cc: In function ‘int _wrap_convert_py2c__std__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__(PyObject*, int*)’:
src/netanim/bindings/ns3module.cc:16145:20: error: request for member ‘clear’ in ‘* container’, which is of non-class type ‘int’
16145 | container->clear();
| ^~~~~
src/netanim/bindings/ns3module.cc:16153:54: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16153 | std::pair< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > item;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16153:54: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16153:82: error: template argument 1 is invalid
16153 | std::pair< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > item;
| ^
src/netanim/bindings/ns3module.cc:16153:84: error: template argument 2 is invalid
16153 | std::pair< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > > item;
| ^
src/netanim/bindings/ns3module.cc:16154:84: error: request for member ‘first’ in ‘item’, which is of non-class type ‘int’
16154 | if (!_wrap_convert_py2c__unsigned_char(PyTuple_GET_ITEM(tup, 0), &item.first)) {
| ^~~~~
src/netanim/bindings/ns3module.cc:16157:125: error: request for member ‘second’ in ‘item’, which is of non-class type ‘int’
16157 | if (!_wrap_convert_py2c__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt__(PyTuple_GET_ITEM(tup, 1), &item.second)) {
| ^~~~~~
src/netanim/bindings/ns3module.cc:16160:24: error: request for member ‘insert’ in ‘* container’, which is of non-class type ‘int’
16160 | container->insert(item);
| ^~~~~~
src/netanim/bindings/ns3module.cc: In function ‘int _wrap_Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt____tp_init(Pystd__map__lt___unsigned_char__ns3__Ptr__lt___ns3__ComponentCarrierBaseStation___gt_____gt__*, PyObject*, PyObject*)’:
src/netanim/bindings/ns3module.cc:16180:61: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
16180 | self->obj = new std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
src/netanim/bindings/ns3module.cc:16180:61: error: ‘ComponentCarrierBaseStation’ is not a member of ‘ns3’
src/netanim/bindings/ns3module.cc:16180:89: error: template argument 1 is invalid
16180 | self->obj = new std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >;
| ^
src/netanim/bindings/ns3module.cc:16180:91: error: template argument 2 is invalid
16180 | self->obj = new std::map< unsigned char, ns3::Ptr< ns3::ComponentCarrierBaseStation > >;
| ^
src/netanim/bindings/ns3module.cc:16180:91: error: template argument 4 is invalid
cc1plus: all warnings being treated as errors
In file included from src/lte/bindings/ns3module.cc:1:
src/lte/bindings/ns3module.h:9304:10: error: ‘TraceFadingLossModel’ in namespace ‘ns3’ does not name a type
9304 | ns3::TraceFadingLossModel *obj;
| ^~~~~~~~~~~~~~~~~~~~
src/lte/bindings/ns3module.h:9313:1: error: expected class-name before ‘{’ token
9313 | {
| ^
src/lte/bindings/ns3module.h:9316:70: error: expected ‘)’ before ‘const’
9316 | PyNs3TraceFadingLossModel__PythonHelper(ns3::TraceFadingLossModel const & arg0)
| ~ ^~~~~~
| )
src/lte/bindings/ns3module.h: In constructor ‘PyNs3TraceFadingLossModel__PythonHelper::PyNs3TraceFadingLossModel__PythonHelper()’:
src/lte/bindings/ns3module.h:9321:36: error: expected class-name before ‘(’ token
9321 | : ns3::TraceFadingLossModel(), m_pyself(NULL)
| ^
src/lte/bindings/ns3module.h:9321:36: error: expected ‘{’ before ‘(’ token
src/lte/bindings/ns3module.h: In member function ‘void PyNs3TraceFadingLossModel__PythonHelper::DoDispose__parent_caller()’:
src/lte/bindings/ns3module.h:9340:52: error: cannot call member function ‘virtual void ns3::SpectrumPropagationLossModel::DoDispose()’ without object
9340 | { ns3::SpectrumPropagationLossModel::DoDispose(); }
| ^
src/lte/bindings/ns3module.h: In member function ‘void PyNs3TraceFadingLossModel__PythonHelper::NotifyNewAggregate__parent_caller()’:
src/lte/bindings/ns3module.h:9344:39: error: cannot call member function ‘virtual void ns3::Object::NotifyNewAggregate()’ without object
9344 | { ns3::Object::NotifyNewAggregate(); }
| ^
src/lte/bindings/ns3module.h: In member function ‘void PyNs3TraceFadingLossModel__PythonHelper::NotifyConstructionCompleted__parent_caller()’:
src/lte/bindings/ns3module.h:9348:52: error: cannot call member function ‘virtual void ns3::ObjectBase::NotifyConstructionCompleted()’ without object
9348 | { ns3::ObjectBase::NotifyConstructionCompleted(); }
| ^
src/lte/bindings/ns3module.h: In static member function ‘static ns3::TypeId PyNs3TraceFadingLossModel__PythonHelper::GetTypeId()’:
src/lte/bindings/ns3module.h:9365:26: error: ‘TraceFadingLossModel’ is not a member of ‘ns3’
9365 | .SetParent< ns3::TraceFadingLossModel > ()
| ^~~~~~~~~~~~~~~~~~~~
src/lte/bindings/ns3module.h:9365:26: error: ‘TraceFadingLossModel’ is not a member of ‘ns3’
src/lte/bindings/ns3module.h:9365:50: error: no matching function for call to ‘ns3::TypeId::SetParent<<expression error> >()’
9365 | .SetParent< ns3::TraceFadingLossModel > ()
| ^
In file included from ./ns3/object-base.h:23,
from ./ns3/object.h:29,
from ./ns3/lte-handover-algorithm.h:25,
from ./ns3/a2-a4-rsrq-handover-algorithm.h:31,
from ./ns3/lte-module.h:10,
from src/lte/bindings/ns3module.h:41,
from src/lte/bindings/ns3module.cc:1:
./ns3/type-id.h:631:1: note: candidate: ‘template<class T> ns3::TypeId ns3::TypeId::SetParent()’
631 | TypeId::SetParent (void)
| ^~~~~~
./ns3/type-id.h:631:1: note: template argument deduction/substitution failed:
In file included from src/lte/bindings/ns3module.cc:1:
src/lte/bindings/ns3module.h:9365:50: error: template argument 1 is invalid
9365 | .SetParent< ns3::TraceFadingLossModel > ()
| ^
src/lte/bindings/ns3module.cc: In static member function ‘static PyObject* PyNs3TraceFadingLossModel__PythonHelper::_wrap_DoDispose(PyNs3TraceFadingLossModel*, PyObject*, PyObject*)’:
src/lte/bindings/ns3module.cc:99972:118: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
99972 | PyNs3TraceFadingLossModel__PythonHelper *helper = dynamic_cast< PyNs3TraceFadingLossModel__PythonHelper* >(self->obj);
| ^~~
src/lte/bindings/ns3module.cc: In static member function ‘static PyObject* PyNs3TraceFadingLossModel__PythonHelper::_wrap_NotifyNewAggregate(PyNs3TraceFadingLossModel*, PyObject*, PyObject*)’:
src/lte/bindings/ns3module.cc:99988:118: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
99988 | PyNs3TraceFadingLossModel__PythonHelper *helper = dynamic_cast< PyNs3TraceFadingLossModel__PythonHelper* >(self->obj);
| ^~~
src/lte/bindings/ns3module.cc: In static member function ‘static PyObject* PyNs3TraceFadingLossModel__PythonHelper::_wrap_NotifyConstructionCompleted(PyNs3TraceFadingLossModel*, PyObject*, PyObject*)’:
src/lte/bindings/ns3module.cc:100004:118: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
100004 | PyNs3TraceFadingLossModel__PythonHelper *helper = dynamic_cast< PyNs3TraceFadingLossModel__PythonHelper* >(self->obj);
| ^~~
src/lte/bindings/ns3module.cc: In member function ‘virtual void PyNs3TraceFadingLossModel__PythonHelper::DoInitialize()’:
src/lte/bindings/ns3module.cc:100021:10: error: ‘TraceFadingLossModel’ is not a member of ‘ns3’
100021 | ns3::TraceFadingLossModel *self_obj_before;
| ^~~~~~~~~~~~~~~~~~~~
src/lte/bindings/ns3module.cc:100021:32: error: ‘self_obj_before’ was not declared in this scope
100021 | ns3::TraceFadingLossModel *self_obj_before;
| ^~~~~~~~~~~~~~~
src/lte/bindings/ns3module.cc:100027:14: error: ‘ns3::TraceFadingLossModel’ has not been declared
100027 | ns3::TraceFadingLossModel::DoInitialize();
| ^~~~~~~~~~~~~~~~~~~~
src/lte/bindings/ns3module.cc:100033:81: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
100033 | self_obj_before = reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj;
| ^~~
src/lte/bindings/ns3module.cc:100034:63: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
100034 | reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj = (ns3::TraceFadingLossModel*) this;
| ^~~
src/lte/bindings/ns3module.cc:100034:75: error: ‘TraceFadingLossModel’ is not a member of ‘ns3’
100034 | reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj = (ns3::TraceFadingLossModel*) this;
| ^~~~~~~~~~~~~~~~~~~~
src/lte/bindings/ns3module.cc:100034:96: error: expected primary-expression before ‘)’ token
100034 | reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj = (ns3::TraceFadingLossModel*) this;
| ^
src/lte/bindings/ns3module.cc:100038:67: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
100038 | reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj = self_obj_before;
| ^~~
src/lte/bindings/ns3module.cc:100047:67: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
100047 | reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj = self_obj_before;
| ^~~
src/lte/bindings/ns3module.cc:100054:63: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
100054 | reinterpret_cast< PyNs3TraceFadingLossModel* >(m_pyself)->obj = self_obj_before;
| ^~~
src/lte/bindings/ns3module.cc: In member function ‘virtual ns3::Ptr<ns3::SpectrumValue> PyNs3TraceFadingLossModel__PythonHelper::DoCalcRxPowerSpectralDensity(ns3::Ptr<const ns3::SpectrumValue>, ns3::Ptr<const ns3::MobilityModel>, ns3::Ptr<const ns3::MobilityModel>) const’:
src/lte/bindings/ns3module.cc:100066:10: error: ‘TraceFadingLossModel’ is not a member of ‘ns3’
100066 | ns3::TraceFadingLossModel *self_obj_before;
| ^~~~~~~~~~~~~~~~~~~~
src/lte/bindings/ns3module.cc:100066:32: error: ‘self_obj_before’ was not declared in this scope
100066 | ns3::TraceFadingLossModel *self_obj_before;
| ^~~~~~~~~~~~~~~
src/lte/bindings/ns3module.cc:100091:81: error: ‘struct PyNs3TraceFadingLossModel’ has no member named ‘obj’
...
107814 | PyNs3SimpleRefCount__Ns3MmwaveMmWaveBeamFormingTraces_Ns3Empty_Ns3DefaultDeleter__lt__ns3MmwaveMmWaveBeamFormingTraces__gt____typeid_map.register_wrapper(typeid(ns3::SimpleRefCount< ns3::mmwave::mmWaveBeamFormingTraces, ns3::empty, ns3::DefaultDeleter<ns3::mmwave::mmWaveBeamFormingTraces> >), &PyNs3SimpleRefCount__Ns3MmwaveMmWaveBeamFormingTraces_Ns3Empty_Ns3DefaultDeleter__lt__ns3MmwaveMmWaveBeamFormingTraces__gt___Type);
| ^
src/mmwave/bindings/ns3module.cc:107814:295: error: template argument 3 is invalid
In file included from ./ns3/attribute.h:25,
from ./ns3/uinteger.h:23,
from ./ns3/lte-common.h:24,
from ./ns3/core-network-stats-calculator.h:25,
from ./ns3/mmwave-module.h:10,
from src/mmwave/bindings/ns3module.h:41,
from src/mmwave/bindings/ns3module.cc:1:
./ns3/ptr.h: In instantiation of ‘ns3::Ptr<T>::Ptr(const ns3::Ptr<U>&) [with U = ns3::SpectrumSignalParameters; T = ns3::mmwave::MmWaveSpectrumSignalParametersDlCtrlFrame]’:
src/mmwave/bindings/ns3module.cc:49251:83: required from here
./ns3/ptr.h:595:24: error: invalid conversion from ‘ns3::SpectrumSignalParameters*’ to ‘ns3::mmwave::MmWaveSpectrumSignalParametersDlCtrlFrame*’ [-fpermissive]
595 | : m_ptr (PeekPointer (o))
| ~~~~~~~~~~~~^~~
| |
| ns3::SpectrumSignalParameters*
cc1plus: all warnings being treated as errors
Waf: Leaving directory `/home/yuntang/Desktop/ns-O-RAN-flexric/ns-3-mmwave-oran/build'
Build failed
-> task in 'ns3module_netanim' failed with exit status 1 (run with -v to display more information)
-> task in 'ns3module_lte' failed with exit status 1 (run with -v to display more information)
-> task in 'ns3module_mmwave' failed with exit status 1 (run with -v to display more information)
The text was updated successfully, but these errors were encountered:
Hi, thanks for developing this repo. but when I tried to build the ns-3-mmwave-oran, I encountered the following error:
please help thanks.
yuntang@Ubuntu2004-O-RAN:~/Desktop/ns-O-RAN-flexric/ns-3-mmwave-oran$ ./waf build
The text was updated successfully, but these errors were encountered: