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
I really need help with this issue when I am build NDNSim, I come up with this error, is there anyone have been experienced the same?
Waf: Entering directory `/home/mrp/ndnSIM-NLSR/ns-3/build'
[1736/3033] Compiling src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp
In file included from ./ns3/trace-source-accessor.h:24:0,
from ./ns3/type-id.h:25,
from ./ns3/object-base.h:23,
from ./ns3/object.h:29,
from ./ns3/object-factory.h:24,
from ./ns3/simulator.h:29,
from ./ns3/ndnSIM/model/ndn-common.hpp:24,
from ../src/ndnSIM/utils/tracers/ndn-l3-tracer.hpp:23,
from ../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp:20:
./ns3/callback.h: In instantiation of ‘static std::__cxx11::string ns3::CallbackImplBase::GetCppTypeid() [with T = const nfd::pit::Entry&; std::__cxx11::string = std::__cxx11::basic_string]’:
./ns3/callback.h:233:24: required from ‘static std::__cxx11::string ns3::CallbackImpl<R, T1, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::DoGetTypeid() [with R = void; T1 = const nfd::pit::Entry&; std::__cxx11::string = std::__cxx11::basic_string]’
./ns3/callback.h:226:24: required from ‘std::__cxx11::string ns3::CallbackImpl<R, T1, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::GetTypeid() const [with R = void; T1 = const nfd::pit::Entry&; std::__cxx11::string = std::__cxx11::basic_string]’
../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp:74:1: required from here
./ns3/callback.h:175:36: error: invalid use of incomplete type ‘class nfd::pit::Entry’
typeName = typeid (T).name ();
^
In file included from ../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp:20:0:
../src/ndnSIM/utils/tracers/ndn-l3-tracer.hpp:30:7: note: forward declaration of ‘class nfd::pit::Entry’
class Entry;
^
Did u find the solution of this?
If u found it please let me know it because I am working on the same for my BTech project.
If u have any other information please let me know.
It will be very helpful.
Thanks!
Dear all,
I really need help with this issue when I am build NDNSim, I come up with this error, is there anyone have been experienced the same?
Waf: Entering directory `/home/mrp/ndnSIM-NLSR/ns-3/build'
[1736/3033] Compiling src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp
In file included from ./ns3/trace-source-accessor.h:24:0,
from ./ns3/type-id.h:25,
from ./ns3/object-base.h:23,
from ./ns3/object.h:29,
from ./ns3/object-factory.h:24,
from ./ns3/simulator.h:29,
from ./ns3/ndnSIM/model/ndn-common.hpp:24,
from ../src/ndnSIM/utils/tracers/ndn-l3-tracer.hpp:23,
from ../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp:20:
./ns3/callback.h: In instantiation of ‘static std::__cxx11::string ns3::CallbackImplBase::GetCppTypeid() [with T = const nfd::pit::Entry&; std::__cxx11::string = std::__cxx11::basic_string]’:
./ns3/callback.h:233:24: required from ‘static std::__cxx11::string ns3::CallbackImpl<R, T1, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::DoGetTypeid() [with R = void; T1 = const nfd::pit::Entry&; std::__cxx11::string = std::__cxx11::basic_string]’
./ns3/callback.h:226:24: required from ‘std::__cxx11::string ns3::CallbackImpl<R, T1, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty, ns3::empty>::GetTypeid() const [with R = void; T1 = const nfd::pit::Entry&; std::__cxx11::string = std::__cxx11::basic_string]’
../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp:74:1: required from here
./ns3/callback.h:175:36: error: invalid use of incomplete type ‘class nfd::pit::Entry’
typeName = typeid (T).name ();
^
In file included from ../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp:20:0:
../src/ndnSIM/utils/tracers/ndn-l3-tracer.hpp:30:7: note: forward declaration of ‘class nfd::pit::Entry’
class Entry;
^
Waf: Leaving directory `/home/mrp/ndnSIM-NLSR/ns-3/build'
Build failed
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 139668395876560: cxx ndn-l3-tracer.cpp -> ndn-l3-tracer.cpp.4.o}
['/usr/bin/g++', '-std=c++11', '-std=c++0x', '-std=c++11', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-std=c++11', '-fPIC', '-pthread', '-pthread', '-pthread', '-I.', '-I..', '-Ins3/ndnSIM/NFD', '-I../ns3/ndnSIM/NFD', '-Isrc/ndnSIM/NFD/core', '-I../src/ndnSIM/NFD/core', '-Isrc/ndnSIM/NFD/daemon', '-I../src/ndnSIM/NFD/daemon', '-Isrc/ndnSIM/NFD/rib', '-I../src/ndnSIM/NFD/rib', '-Ins3/ndnSIM', '-I../ns3/ndnSIM', '-Ins3/ndnSIM/ndn-cxx', '-I../ns3/ndnSIM/ndn-cxx', '-Ins3/ndnSIM/NLSR', '-I../ns3/ndnSIM/NLSR', '-Isrc/ndnSIM/NLSR/src', '-I../src/ndnSIM/NLSR/src', '-Isrc/ndnSIM/NLSR/nsync', '-I../src/ndnSIM/NLSR/nsync', '-Isrc/ndnSIM/NLSR', '-I../src/ndnSIM/NLSR', '-I.', '-I..', '-I/usr/include', '-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', '-DHAVE_PACKET_H=1', '-DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1', '-DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1', '-DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1', '-DHAVE_CXX_FRIEND_TYPENAME=1', '-DHAVE_CXX_OVERRIDE_FINAL=1', '-DHAVE_STD_TO_STRING=1', '-DHAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1', '-DNDEBUG', '-DNS3_NLSR_SIM', '-DHAVE_OPENSSL=1', '-DHAVE_PTHREAD=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_PROTOBUF=1', '../src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp', '-c', '-o', '/home/mrp/ndnSIM-NLSR/ns-3/build/src/ndnSIM/utils/tracers/ndn-l3-tracer.cpp.4.o']
Help really needed :(
Thanks,
The text was updated successfully, but these errors were encountered: