named-data-ndnsim / ndnsim Goto Github PK
View Code? Open in Web Editor NEWndnSIM: NS-3 based NDN simulator
License: GNU General Public License v3.0
ndnSIM: NS-3 based NDN simulator
License: GNU General Public License v3.0
During the insert operation, ndnSIM::trie is trying to balance number of buckets by increasing bucket array. However, this increase is linear and by default (and this default is never adjusted anywhere else) this increase is by 10 elements. In cases of large number of inserts, this behavior results in a serious performance penalty.
How to compile my own .cc file like the examples?
thanks?
Hi,
I'm trying to install ndnSIM on my RedHat Server. I hope it should be possible.
./waf configure --disable-python --enable-examples --enable-ndn-plugins=topology,mobility finished successfully but I get the errors when execute ./waf :
Waf: Entering directory /home/NS/NS_3_15/ndnSIM/ndnSIM/ns-3/build' [1357/1726] cxx: src/ndnSIM/examples/trie.cc -> build/src/ndnSIM/examples/trie.cc.3.o In file included from ../src/ndnSIM/examples/../utils/trie/multi-policy.h:26, from ../src/ndnSIM/examples/trie.cc:27: ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:24:50: error: boost/intrusive/parent_from_member.hpp: No such file or directory In file included from ../src/ndnSIM/examples/../utils/trie/multi-policy.h:26, from ../src/ndnSIM/examples/trie.cc:27: ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h: In static member function 'static ValueType* ns3::ndn::ndnSIM::detail::FunctorHook<BaseHook, ValueType, N>::to_value_ptr(typename BaseHook::index<N>::type*)': ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:52: error: 'get_parent_from_member' is not a member of 'boost::intrusive' ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:52: error: expected primary-expression before '>' token ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:53: error: 'get_parent_from_member' is not a member of 'boost::intrusive' ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:53: error: expected primary-expression before '>' token ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h: In static member function 'static const ValueType* ns3::ndn::ndnSIM::detail::FunctorHook<BaseHook, ValueType, N>::to_value_ptr(const typename BaseHook::index<N>::type*)': ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:59: error: 'get_parent_from_member' is not a member of 'boost::intrusive' ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:59: error: expected primary-expression before '>' token ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:60: error: 'get_parent_from_member' is not a member of 'boost::intrusive' ../src/ndnSIM/examples/../utils/trie/detail/functor-hook.h:60: error: expected primary-expression before '>' token In file included from ../src/ndnSIM/examples/trie.cc:27: ../src/ndnSIM/examples/../utils/trie/multi-policy.h: At global scope: ../src/ndnSIM/examples/../utils/trie/multi-policy.h:71: error: 'function_hook' is not a member of 'boost::intrusive' ../src/ndnSIM/examples/../utils/trie/multi-policy.h:71: error: 'function_hook' is not a member of 'boost::intrusive' ../src/ndnSIM/examples/../utils/trie/multi-policy.h:69: error: parse error in template argument list ../src/ndnSIM/examples/../utils/trie/multi-policy.h:73: error: expected unqualified-id before '>' token Waf: Leaving directory
/home/NS/NS_3_15/ndnSIM/ndnSIM/ns-3/build'
Build failed
-> task in 'trie' failed (exit status 1):
{task 41103952: cxx trie.cc -> trie.cc.3.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-Ibuild', '-I.', '-I.', '-I/home/NS/NS_3_15/ndnSIM/ndnSIM', '-I/usr/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DENABLE_GSL', '../src/ndnSIM/examples/trie.cc', '-c', '-o', 'src/ndnSIM/examples/trie.cc.3.o']
Is there any solution?
Thanks
(Reported by Prasertsak U.)
After I compile from the last update about freshness functionality. I found some errors from a new entry as below: ( start from re-cloning the source code)
In file included from ../src/ndnSIM/model/cs/content-store-with-freshness.h:27,
from ../src/ndnSIM/model/cs/content-store-with-freshness.cc:21:
../src/ndnSIM/model/cs/../../utils/trie/freshness-policy.h:87: error: declaration of ‘typedef struct ns3::ndn::ndnSIM::freshness_policy_traits::policy<Base, Container, Hook> ns3::ndn::ndnSIM::freshness_policy_traits::policy<Base, Container, Hook>::type::policy’
../src/ndnSIM/model/cs/../../utils/trie/freshness-policy.h:57: error: changes meaning of ‘policy’ from ‘struct ns3::ndn::ndnSIM::freshness_policy_traits::policy<Base, Container, Hook>’
In file included from ../src/ndnSIM/model/cs/content-store-with-freshness.cc:23:
../src/ndnSIM/model/cs/../../utils/trie/random-policy.h:85: error: declaration of ‘typedef struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook> ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>::type::policy’
../src/ndnSIM/model/cs/../../utils/trie/random-policy.h:55: error: changes meaning of ‘policy’ from ‘struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>’
[1793/1884] cxx: src/ndnSIM/model/ndn-l3-protocol.cc -> build/src/ndnSIM/model/ndn-l3-protocol.cc.1.o
In file included from ../src/ndnSIM/model/cs/content-store-impl.cc:23:
../src/ndnSIM/model/cs/../../utils/trie/random-policy.h:85: error: declaration of ‘typedef struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook> ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>::type::policy’
../src/ndnSIM/model/cs/../../utils/trie/random-policy.h:55: error: changes meaning of ‘policy’ from ‘struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>’
[1794/1884] cxx: src/ndnSIM/utils/tracers/ndn-l3-tracer.cc -> build/src/ndnSIM/utils/tracers/ndn-l3-tracer.cc.1.o
[1795/1884] cxx: src/ndnSIM/examples/ndn-simple-with-content-freshness.cc -> build/src/ndnSIM/examples/ndn-simple-with-content-freshness.cc.3.o
In file included from ../src/ndnSIM/model/pit/ndn-pit-impl.cc:29:
../src/ndnSIM/model/pit/../../utils/trie/random-policy.h:85: error: declaration of ‘typedef struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook> ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>::type::policy’
../src/ndnSIM/model/pit/../../utils/trie/random-policy.h:55: error: changes meaning of ‘policy’ from ‘struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>’
In file included from ../src/ndnSIM/model/cs/content-store-with-stats.h:27,
from ../src/ndnSIM/model/cs/content-store-with-stats.cc:21:
../src/ndnSIM/model/cs/../../utils/trie/lifetime-stats-policy.h:75: error: declaration of ‘typedef struct ns3::ndn::ndnSIM::lifetime_stats_policy_traits::policy<Base, Container, Hook> ns3::ndn::ndnSIM::lifetime_stats_policy_traits::policy<Base, Container, Hook>::type::policy’
../src/ndnSIM/model/cs/../../utils/trie/lifetime-stats-policy.h:57: error: changes meaning of ‘policy’ from ‘struct ns3::ndn::ndnSIM::lifetime_stats_policy_traits::policy<Base, Container, Hook>’
In file included from ../src/ndnSIM/model/cs/content-store-with-stats.cc:23:
../src/ndnSIM/model/cs/../../utils/trie/random-policy.h:85: error: declaration of ‘typedef struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook> ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>::type::policy’
../src/ndnSIM/model/cs/../../utils/trie/random-policy.h:55: error: changes meaning of ‘policy’ from ‘struct ns3::ndn::ndnSIM::random_policy_traits::policy<Base, Container, Hook>’
Hi,
I'm trying to create custom apps on ndnSIM in /src/ndnSIM/apps.
But an error occured on compilation.
void Chronos::SendMsg(){
ContentObjectTail tail;
Ptr<ContentObjectHeader> header = Create<ContentObjectHeader> ();
header->SetName (Create<NameComponents> ("/prefix"));
Ptr<Packet> packet = Create<Packet> (1024);
packet->AddHeader (*header);
packet->AddTrailer (tail);
ContentStore::GetContentStore(GetNode())->ContentStore::Add(header,packet);
*/
}
I hoe this works, but this error occuered.
./libns3-dev-ndnSIM-debug.so: undefined reference to `ns3::ndn::ContentStore::Add(ns3::Ptr<ns3::ndn::ContentObjectHeader const>, ns3::Ptr<ns3::Packet const>)'
collect2: ld returned 1 exit status
I tried but could not fix this.
Could you give me some hints to solve this?
Thank you.
Source code of ndnSIM needs to get a small refactoring regarding several class names:
For the time being, legacy names should be preserved as typedefs to new names
Hi Alexander,
After I compile from the last update about "rocketfuel-map-reader.cc", I found some errors.
what's happening?
thanks
Flavio
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:
‘void ns3::RocketfuelMapReader::GenerateFromMapsFile(int, char**)’:
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:142:8: error: variable ‘dns’ set but not used [-Werror=unused-but-set-variable]
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:143:8: error: variable ‘bb’ set but not used [-Werror=unused-but-set-variable]
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:
‘void ns3::RocketfuelMapReader::SaveTopology(const string&)’:
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:560:3: error: ‘auto’ will change meaning in C++0x; please remove it [-Werror=c++0x-compat]
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:560:8: error: ‘nodeWriter’ does not name a type
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:569:32: error: ‘nodeWriter’ was not declared in this scope
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:617:5: error: lambda expressions only available with -std=c++0x or -std=gnu++0x [-Werror]
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:617:6: error: no matching function for call to ‘for_each(std::listns3::TopologyReader::Link::iterator,std::listns3::TopologyReader::Link::iterator, ns3::RocketfuelMapReader::SaveTopology(const string&)::<lambda(const ns3::TopologyReader::Link&)>)’
../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:617:6: nota: candidato é:
/usr/include/c++/4.6/bits/stl_algo.h:4373:5: nota: template<class _IIter, class _Funct> _Funct std::for_each(_IIter, _IIter, _Funct)
cc1plus: all warnings being treated as errors
In the constructor of ndn::RttEstimator, the code tries to set m_currentEstimatedRtt to m_initialEstimatedRtt using the ConstructSelf() technique. However, it doesn't take effect at this point since ndn::RttEstimator hasn't defined GetInstanceTypeId().
According to the manual (http://www.nsnam.org/docs/manual/html/attributes.html#initialization-order), "the object and all its derived classes must also implement a virtual TypeId GetInstanceTypeId (void) const; method. Otherwise the ObjectBase::ConstructSelf () will not be able to read the attributes". GetInstanceTypeId() was defined in the original RttEstimator but was somehow lost during the port to ndnSIM.
This bug can be fixed easily by this commit: wygivan@c5050bf
In ConsumerWindow::ScheduleNextPacket, m_inFlight is always increased when Consumer::SendPacket is scheduled, but Consumer::SendPacket does not always send out an Interest. If m_inFlight is increased when no Interest is sent out, it will cause m_inFlight to be larger than the actual number of in-flight Interests. As a result, Interests in the retransmission queue may not be sent out because the window size is smaller than the m_inFlight at the end of the simulation.
let us talk about the first example it gives us output of 100 of lines totally not ok as there I am unable to understand about ouput..........Please help!!!!!
Hi everyone
I was reading a Research paper was implemented using ndnSIM I wanted to know we can implemented content catalog using simulator
With Regards
Shivangi Gautam
In current implementation,
Hello,
I am new in Ndn and trying to get along with the tests following the instructions on-line.
I have a Mac OS X 10.7, so followed these: http://ndnsim.net/getting-started.html to install.
I had the same exact issue as stated in Issue 7 - Routing/ndnSIM/GitHub: https://github.com/NDN-Routing/ndnSIM/issues/7, so followed these instructions as well.
I disabled python and now i have an error saying: cc1plus: warnings being treated as errors
../src/ndnSIM/test/ndnSIM-serialization.cc: In member function ‘virtual void ns3::ContentObjectSerializationTest::DoRun()’:
../src/ndnSIM/test/ndnSIM-serialization.cc:90: warning: comparison between signed and unsigned integer expressions
[1819/2043] cxxprogram: build/examples/tutorial/fourth.cc.5.o -> build/examples/tutorial/ns3-dev-fourth-debug
[1820/2043] cxxprogram: build/src/core/examples/main-callback.cc.1.o -> build/src/core/examples/ns3-dev-main-callback-debug
[1821/2043] cxxshlib: build/src/network/test/buffer-test.cc.3.o build/src/network/test/drop-tail-queue-test-suite.cc.3.o build/src/network/test/ipv6-address-test-suite.cc.3.o build/src/network/test/packetbb-test-suite.cc.3.o build/src/network/test/packet-test-suite.cc.3.o build/src/network/test/packet-metadata-test.cc.3.o build/src/network/test/pcap-file-test-suite.cc.3.o build/src/network/test/red-queue-test-suite.cc.3.o build/src/network/test/sequence-number-test-suite.cc.3.o -> build/libns3-dev-network-test-debug.dylib
[1822/2043] cxxprogram: build/src/network/examples/main-packet-header.cc.1.o -> build/src/network/examples/ns3-dev-main-packet-header-debug
Waf: Leaving directory `/Users/andrianaioannou/ns-3-allinone/ns-3-dev/ndnSIM/ns-3/build'
Build failed
-> task in 'ns3-ndnSIM-test' failed (exit status 1):
{task 4353737552: cxx ndnSIM-serialization.cc -> ndnSIM-serialization.cc.4.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-I../src/ndnSIM', '-fPIC', '-compatibility_version', '1', '-current_version', '1', '-Ibuild', '-I.', '-I/opt/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DSQLITE3=1', '-DNS_TEST_SOURCEDIR="src/ndnSIM/test"', '../src/ndnSIM/test/ndnSIM-serialization.cc', '-c', '-o', 'src/ndnSIM/test/ndnSIM-serialization.cc.4.o']
I use the simple command without the visualizer: ./waf --run=ndn-simple
or ./waf --run=ndn-grid
but none is working. Same error.
I can provide the full output if this is not enough or any other details!
Kindly asking for any help available.
Best regards,
Andriana.
(reported by Cheng Yi)
TCP RTT estimator implements Karn's algorithm and discards all RTT samples from retransmitted packets (retransmitted Interests in NDN case). TCP logic does not apply for all types of NDN applications and need to be carefully revised.
Hello Alex,
Hope you are in best of your health.
I am stuck with ndnSim installation. I followed the step given at http://ndnsim.net/getting-started.html . Configuration also went fine and showing ndnSim is enabled but in final step to build NS3 with ndnSIM (./waf) I receive following failure:
../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateRoutes(bool)’:
../src/ndnSIM/helper/ndn-global-routing-helper.cc:248:68: error: typedef ‘vertex_descriptor’ locally defined but not used [-Werror=unused-local-typedefs]
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
^
../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member function ‘static void ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes(bool)’:
../src/ndnSIM/helper/ndn-global-routing-helper.cc:341:68: error: typedef ‘vertex_descriptor’ locally defined but not used [-Werror=unused-local-typedefs]
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
^
cc1plus: all warnings being treated as errors
Waf: Leaving directory `/home/mbilal/ndnSIM/ns-3/build'
Build failed
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 44914384: cxx ndn-global-routing-helper.cc -> ndn-global-routing-helper.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-I/usr/local/include', '-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_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '../src/ndnSIM/helper/ndn-global-routing-helper.cc', '-c', '-o', 'src/ndnSIM/helper/ndn-global-routing-helper.cc.1.o']
Please let me know how to fix this problem. I also tried to configure ndnSIM with NS3.17 but I faced same problem.
Best Regards,
Muhammad Bilal
Time index of PIT container is not always working correctly.
Simple replacement boost::intrusive::set to boost::intrusive::multi_set solves a general problem, but causing a mysterious segafault
ns3::ndn::ConsumerWindow::InFlight
is connected to &ConsumerWindow::m_window
. This should be &ConsumerWindow::m_inFlight
.
je ne comprend pas la deuxième fonction de cette classe, le "25", la première est pour le chemin du fichier mais la deuxième je ne la comprend pas même qu'elle est décrite dans ce lien: http://ndnsim.net/doxygen/classns3_1_1_annotated_topology_reader.html
Hi, I meet this waring: Fontconfig warning: ignoring UTF-8: not a valid region tag when use apple x11 to simulate.
I know it's not the problem of ndnSIM, but I tried and could't fix it by myself. If you also met this warning, would you please give some hints?
Thank you.
When checking whether the data comes from the APP Face,
"(inFace->GetFlags () | Face::APPLICATION)" was used,
which will always return true.
I think the correct one is
"(inFace->GetFlags () & Face::APPLICATION)"
Reported by Saran Tarnoi
I found an error when I was playing with a modified scenario of ndn-simple-with-content-freshness.cc.
assert failed. cond="tAbsolute >= TimeStep (m_currentTs)", file=../src/core/model/default-simulator-impl.cc, line=227
terminate called without an active exception
It seems to me that something went wrong about replacement policy and Freshness value.
The problem occurs when there are 2 producers with Freshness > 0 and the number of cached content objects reaches the cache size.
My scenario file: http://pastebin.com/wM3zUEkz
Hi Alex,
what's happening with ns3::ndn::Producer::SignatureBits?
thanks
fqueiroz@ubuntu:~/ndnSIM/ns-3$ ./waf --run=ndn-simple-with-pcap
Waf: Entering directory `/home/fqueiroz/ndnSIM/ns-3/build'
[ 994/1973] cxx: src/ndnSIM/examples/ndn-simple-with-pcap.cc -> build/src/ndnSIM/examples/ndn-simple-with-pcap.cc.13.o
[1844/1973] cxxprogram: build/src/ndnSIM/examples/ndn-simple-with-pcap.cc.13.o -> build/src/ndnSIM/examples/ns3-dev-ndn-simple-with-pcap-debug
Waf: Leaving directory `/home/fqueiroz/ndnSIM/ns-3/build'
'build' finished successfully (4.870s)
msg="Could not set default value for ns3::ndn::Producer::SignatureBits", file=../src/core/model/config.cc, line=637
terminate called without an active exception
Command ['/home/fqueiroz/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-simple-with-pcap-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").
An update to the below issue send via email. I followed the instructions and made a separate file for storing my experiments using the template as pointed in: https://github.com/cawka/ndnSIM-scenario-template
However, I am getting a msg saying:
cswireless63-170:ndnSIM-scenario-template andrianaioannou$ LD_LIBRARY_PATH=/usr/local/lib ./waf --run=ndn-tree-topo-plugin-a
Waf: Entering directory /Users/andrianaioannou/ndnSIM/ndnSIM-scenario-template/build' Waf: Leaving directory
/Users/andrianaioannou/ndnSIM/ndnSIM-scenario-template/build'
'build' finished successfully (0.027s)
aborted. cond="!(result)", msg="Names::Add(): Error adding Node0", file=../src/core/model/names.cc, line=635
terminate called without an active exceptioncswireless63-170:ndnSIM-scenario-template andrianaioannou$
as said below I use a separate topology file. My source file though is exact the same as in examples. Even kept the producer/consumer the same. My topology file is the below:
router
Node0 NA 100 0
Node1 NA 80 -50
Node2 NA 80 50
Node3 NA 60 -75
Node4 NA 60 -25
Node5 NA 60 25
Node6 NA 60 75
Node7 NA 40 -87.5
Node8 NA 40 -62.5
Node9 NA 40 -37.5
Node10 NA 40 -12.5
Node11 NA 40 12.5
Node12 NA 40 37.5
Node13 NA 40 62.5
Node14 NA 40 87.5
Node15 NA 20 -93.75
Node16 NA 20 -82.25
Node17 NA 20 -68.75
Node18 NA 20 -56.25
Node19 NA 20 -42.75
Node20 NA 20 -31.25
Node21 NA 20 -18.75
Node22 NA 20 -6.25
Node23 NA 20 6.25
Node24 NA 20 18.75
Node25 NA 20 31.25
Node26 NA 20 42.75
Node27 NA 20 56.25
Node28 NA 20 68.75
Node29 NA 20 82.25
Node30 NA 20 93.75
Node31 NA 0 -96.875
Node32 NA 0 -90.625
Node33 NA 0 -85.375
Node34 NA 0 -79.125
Node35 NA 0 -71.875
Node36 NA 0 -65.625
Node37 NA 0 -59.375
Node38 NA 0 -53.125
Node39 NA 0 -45.875
Node40 NA 0 -39.625
Node41 NA 0 -34.375
Node42 NA 0 -28.125
Node43 NA 0 -21.875
Node44 NA 0 -15.625
Node45 NA 0 -9.375
Node46 NA 0 -3.125
Node47 NA 0 3.125
Node48 NA 0 9.375
Node49 NA 0 15.625
Node50 NA 0 21.875
Node51 NA 0 28.125
Node52 NA 0 34.375
Node53 NA 0 39.625
Node54 NA 0 45.875
Node55 NA 0 53.125
Node56 NA 0 59.375
Node57 NA 0 65.625
Node58 NA 0 71.875
Node59 NA 0 79.125
Node60 NA 0 85.375
Node61 NA 0 90.625
Node62 NA 0 96.875
liNk
Node0 Node1 100Mbps 1 10ms 10
Node0 Node2 100Mbps 1 10ms 10
Node1 Node3 100Mbps 1 10ms 10
Node1 Node4 100Mbps 1 10ms 10
Node2 Node5 100Mbps 1 10ms 10
Node2 Node6 100Mbps 1 10ms 10
Node3 Node7 100Mbps 1 10ms 10
Node3 Node8 100Mbps 1 10ms 10
Node4 Node9 100Mbps 1 10ms 10
Node4 Node10 100Mbps 1 10ms 10
Node5 Node11 100Mbps 1 10ms 10
Node5 Node12 100Mbps 1 10ms 10
Node6 Node13 100Mbps 1 10ms 10
Node6 Node14 100Mbps 1 10ms 10
Node7 Node15 100Mbps 1 10ms 10
Node7 Node16 100Mbps 1 10ms 10
Node8 Node17 100Mbps 1 10ms 10
Node8 Node18 100Mbps 1 10ms 10
Node9 Node19 100Mbps 1 10ms 10
Node9 Node20 100Mbps 1 10ms 10
Node10 Node21 100Mbps 1 10ms 10
Node10 Node22 100Mbps 1 10ms 10
Node11 Node23 100Mbps 1 10ms 10
Node11 Node24 100Mbps 1 10ms 10
Node12 Node25 100Mbps 1 10ms 10
Node12 Node26 100Mbps 1 10ms 10
Node13 Node27 100Mbps 1 10ms 10
Node13 Node28 100Mbps 1 10ms 10
Node14 Node29 100Mbps 1 10ms 10
Node14 Node30 100Mbps 1 10ms 10
Node15 Node31 100Mbps 1 10ms 10
Node15 Node32 100Mbps 1 10ms 10
Node16 Node33 100Mbps 1 10ms 10
Node16 Node34 100Mbps 1 10ms 10
Node17 Node35 100Mbps 1 10ms 10
Node17 Node36 100Mbps 1 10ms 10
Node18 Node37 100Mbps 1 10ms 10
Node18 Node38 100Mbps 1 10ms 10
Node19 Node39 100Mbps 1 10ms 10
Node19 Node40 100Mbps 1 10ms 10
Node20 Node41 100Mbps 1 10ms 10
Node20 Node42 100Mbps 1 10ms 10
Node21 Node43 100Mbps 1 10ms 10
Node21 Node44 100Mbps 1 10ms 10
Node22 Node45 100Mbps 1 10ms 10
Node22 Node46 100Mbps 1 10ms 10
Node23 Node47 100Mbps 1 10ms 10
Node23 Node48 100Mbps 1 10ms 10
Node24 Node49 100Mbps 1 10ms 10
Node24 Node50 100Mbps 1 10ms 10
Node25 Node51 100Mbps 1 10ms 10
Node25 Node52 100Mbps 1 10ms 10
Node26 Node53 100Mbps 1 10ms 10
Node26 Node54 100Mbps 1 10ms 10
Node27 Node55 100Mbps 1 10ms 10
Node27 Node56 100Mbps 1 10ms 10
Node28 Node57 100Mbps 1 10ms 10
Node28 Node58 100Mbps 1 10ms 10
Node29 Node59 100Mbps 1 10ms 10
Node29 Node60 100Mbps 1 10ms 10
Node30 Node61 100Mbps 1 10ms 10
Node30 Node62 100Mbps 1 10ms 10
No idea what i could do work. Any help,please?
Regards,
Andriana.
Hello,
I was just trying to create my own scenario file. I got the instructions
about a new file/template but as far as it is said into the directions at
http://ndnsim.net/getting-started.html#compiling-and-running-ndnsim
examples can be also be written in the examples or scratch folder.
Well, I've used the examples folder and made an example similar to the
tree one with a separate topology written as a txt file. No major
alterations, only 2-3 names to be exact. So, i guess should work.
So I am compiling the examples using
./waf configure --enable-examples
./waf
./waf --run=ndn-tree-topo-plugin-a (where ndn-three-topo-plugin-a is my
file name)
but i get a msg: 'program 'ndn-tree-topo-plugin-a' not found; available
programs are: ....'
Is the case that I need to modify my wscript file? Cause I've tried to
change it and got errors when doing the ./waf so skipped it.
If that's nay much of a help, my files are at the locations:
/Users/andrianaioannou/ndnSIM/ns-3/src/ndnSIM/examples/ndn-tree-topo-plugin-a.cc
/Users/andrianaioannou/ndnSIM/ns-3/src/ndnSIM/examples/topologies/topo-tree-62-node-a.txt
Apologies for creating an issue but the only relevant that i found was
that one:
http://www.lists.cs.ucla.edu/pipermail/ndnsim/2013-February/000123.html
Many thanks,
Andriana.
hello
I`m a student in chinese , I want to use ns3 to sinulator ndn but when I git the sourse and compile it ,an error occur just like the follow
../src/ndnSIM/model/fw/nacks.cc: In member function ‘virtual void ns3::ndn::fw::Nacks::DidReceiveDuplicateInterest(ns3::Ptrns3::ndn::Face, ns3::Ptr, ns3::Ptr, ns3::Ptrns3::ndn::pit::Entry)’:
../src/ndnSIM/model/fw/nacks.cc:125:9: error: ‘packet’ was not declared in this scope
../src/ndnSIM/model/fw/nacks.cc: In member function ‘virtual void ns3::ndn::fw::Nacks::DidReceiveValidNack(ns3::Ptrns3::ndn::Face, uint32_t, ns3::Ptr, ns3::Ptr, ns3::Ptrns3::ndn::pit::Entry)’:
../src/ndnSIM/model/fw/nacks.cc:213:9: error: ‘packet’ was not declared in this scope
Waf: Leaving directory `/home/dengbo/ndnSIM/ns-3/build'
Build failed
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 34778448: cxx nacks.cc -> nacks.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-I/usr/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DDL=1', '-DXML2=1', '-DHAVE_IF_TUN_H=1', '-DNDEBUG', '../src/ndnSIM/model/fw/nacks.cc', '-c', '-o', 'src/ndnSIM/model/fw/nacks.cc.1.o']
my compile environment is ubuntu 12.04, gcc 4.6.3 ,ns3 , x86_64
I hope gain some help from you .
thanks
I am a Ph.D candiadate in india .I am using NDNSIM and I face some problem.
when I do "./waf --run=ndn-simple" ,
I get the following error information:
Waf: Entering directory /home/kumar/ns/ns-allinone-3.16/ns-3.16/build' [ 821/1982] cxx: scratch/scratch-simulator.cc -> build/scratch/scratch-simulator.cc.1.o [ 926/1982] cxx: build/src/topology-read/bindings/ns3module.cc -> build/src/topology-read/bindings/ns3module.cc.7.o [1005/1982] cxx: src/ndnSIM/examples/ndn-congestion-alt-topo-plugin.cc -> build/src/ndnSIM/examples/ndn-congestion-alt-topo-plugin.cc.8.o [1012/1982] cxx: src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc -> build/src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc.1.o [1084/1982] cxx: src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc -> build/src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc.1.o [1165/1982] cxx: src/ndnSIM/plugins/topology/annotated-topology-reader.cc -> build/src/ndnSIM/plugins/topology/annotated-topology-reader.cc.1.o In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.h:25, from ../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc:22: ./ns3/topology-reader.h: In member function ‘virtual ns3::NodeContainer ns3::RocketfuelWeightsReader::Read()’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc:99:44: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.h:25, from ../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc:22: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc:139:11: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h: In member function ‘const std::list<ns3::TopologyReader::Link>& ns3::AnnotatedTopologyReader::GetLinks() const’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:135:10: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h: In member function ‘void ns3::AnnotatedTopologyReader::AssignIpv4Addresses(ns3::Ipv4Address)’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:253:3: error: within this context ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:255:48: error: ‘const class ns3::TopologyReader::Link’ has no member named ‘GetFromNetDevice’ ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:256:48: error: ‘const class ns3::TopologyReader::Link’ has no member named ‘GetToNetDevice’ In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h: In member function ‘void ns3::AnnotatedTopologyReader::ApplyOspfMetric()’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:266:3: error: within this context ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:275:69: error: ‘const class ns3::TopologyReader::Link’ has no member named ‘GetFromNetDevice’ ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:284:65: error: ‘const class ns3::TopologyReader::Link’ has no member named ‘GetFromNetDevice’ ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:295:69: error: ‘const class ns3::TopologyReader::Link’ has no member named ‘GetToNetDevice’ ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:304:65: error: ‘const class ns3::TopologyReader::Link’ has no member named ‘GetToNetDevice’ In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h: In member function ‘void ns3::AnnotatedTopologyReader::ApplySettings()’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:328:3: error: within this context ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:346:12: error: ‘class ns3::TopologyReader::Link’ has no member named ‘SetNetDevices’ ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:354:16: error: ‘class ns3::TopologyReader::Link’ has no member named ‘GetToNetDevice’ ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:358:16: error: ‘class ns3::TopologyReader::Link’ has no member named ‘GetFromNetDevice’ In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h: In member function ‘void ns3::AnnotatedTopologyReader::SaveTopology(const string&) const’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:402:47: error: within this context In file included from ../src/ndnSIM/plugins/topology/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:21: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/annotated-topology-reader.cc:403:16: error: within this context In file included from ./ns3/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.h:26, from ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:24: ./ns3/topology-reader.h: In member function ‘void ns3::RocketfuelMapReader::SaveTopology(const string&)’: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:589:41: error: within this context In file included from ./ns3/annotated-topology-reader.h:24:0, from ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.h:26, from ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:24: ./ns3/topology-reader.h:203:19: error: ‘std::list<ns3::TopologyReader::Link> ns3::TopologyReader::m_linksList’ is private ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:590:16: error: within this context Waf: Leaving directory
/home/kumar/ns/ns-allinone-3.16/ns-3.16/build'
Build failed
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 165920620: cxx rocketfuel-weights-reader.cc -> rocketfuel-weights-reader.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-I/usr/local/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DHAVE_DL=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DENABLE_GSL', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc', '-c', '-o', 'src/ndnSIM/plugins/topology/rocketfuel-weights-reader.cc.1.o']
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 165917900: cxx annotated-topology-reader.cc -> annotated-topology-reader.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-I/usr/local/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DHAVE_DL=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DENABLE_GSL', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../src/ndnSIM/plugins/topology/annotated-topology-reader.cc', '-c', '-o', 'src/ndnSIM/plugins/topology/annotated-topology-reader.cc.1.o']
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 165920140: cxx rocketfuel-map-reader.cc -> rocketfuel-map-reader.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-I/usr/local/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DHAVE_DL=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DENABLE_GSL', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc', '-c', '-o', 'src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc.1.o']
kumar@kumar-Latitude-E5430-non-vPro:~/ns/ns-allinone-3.16/ns-3.16$
kindly help me how to fix my error
regards
K.kumar
Hi, I install ndnSIM on my mac os X 10.8 guiding by http://ndnsim.net/intro.html#downloading-ndnsim-source.
But when we run: ./waf after ./waf configure --enable-examples --enable-ndn-plugins=topology,mobility is successful.
It turns out error: "Could not find a task generator for the name 'ns3-visualizer'"
I think I have install gtk, goocanvas and pygraphviz, but
"PyViz visualizer : not enabled (Missing python modules: gtk, goocanvas, pygraphviz)"
Steps to reproduce:
Expected: the app sends at least 2000 Interests
Actual: the app sends 0 Interest
The code fails to compile with the following error
../src/ndnSIM/utils/batches.cc:21:25: error: ns3/batches.h: No such file or directory
../src/ndnSIM/utils/batches.cc:25: error: expected constructor, destructor, or type conversion before ‘(’ token
../src/ndnSIM/utils/batches.cc:27: error: expected constructor, destructor, or type conversion before ‘&’ token
../src/ndnSIM/utils/batches.cc:40: error: expected constructor, destructor, or type conversion before ‘&’ token
../src/ndnSIM/utils/batches.cc:57: error: expected `}' at end of input
'''
I have download the new version of the ndnSIM, but errors when compiles. (I use ubuntu12.10-desktop and libboost 1.50). Is there something missing in the desktop version of 12.10?
[1108/1972] cxx: src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc -> build/src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.14.o
In file included from ../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc:27:0:
./ns3/ndnSIM/utils/mem-usage.h:25:27: fatal error: proc/readproc.h: No such file or directory
compilation terminated.
[1114/1972] cxx: build/src/lte/bindings/ns3module.cc -> build/src/lte/bindings/ns3module.cc.7.o
Waf: Leaving directory `/home/Original-ndnSIM-2-20/ns-3/build'
Build failed
-> task in 'ndn-simple-with-cs-lfu' failed (exit status 1):
{task 159437548: cxx ndn-simple-with-cs-lfu.cc -> ndn-simple-with-cs-lfu.cc.14.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-I.', '-I/home/Original-ndnSIM-2-20', '-I/usr/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc', '-c', '-o', 'src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.14.o']
aaronishere
(thanks Andrea Lo Pumo for finding the bug)
ConsumerBatches wrongfully retransmits Interests for data, if this data is already retrieved from the local cache
hello everybody,
please, i want to know how can i change the delayS or the delayUS in seconds, i want the two delays in seconds, and please i wont another explication apart this found there: http://ndnsim.net/metric.html#app-delay-trace-helper-example, about the delayS and delayUS and the retxCount.
thanks for your help.
If there are several PIT entries that can be satisfied with the same ContentObject, the forwarding strategy (ndn-forwarding-strategy.cc) may send out multiple duplicatie ContentObjects on the same face.
Please help in this .........
source("u1.txt")
Error in library(ggplot2) : there is no package called ‘ggplot2’
shivangi@ubuntu:/ndnSIM$ install.packages('ggplot2', dep = TRUE)/ndnSIM$ cd\
bash: syntax error near unexpected token `'ggplot2','
shivangi@ubuntu:
shivangi@ubuntu:
$ install.packages('ggplot2', dep = TRUE)$ install.packages("ggplot2")
bash: syntax error near unexpected token `'ggplot2','
shivangi@ubuntu:
AnnotatedTopologyReader::AnnotatedTopologyReader (const std::string &path, double scale/=1.0/
what to set in path
I followed the instruction in http://ndnsim.net/intro.html
I compiled everything with
./waf configure --boost-includes=../boost/include/ --boost-libs=../boost/lib/ -d optimized --enable-examples --enable-ndn-plugins=topology,mobility
./waf
../boost refers to a local installation of boost 1.51
but at the end I got:
ns-3$ ./waf
Waf: Entering directory /home/user/ppn/prototype/ns-3/build' Waf: Leaving directory
/home/user/ppn/prototype/ns-3/build'
'build' finished successfully (6.552s)
Modules built:
antenna aodv applications
bridge buildings config-store
core csma csma-layout
dsdv dsr emu
energy flow-monitor internet
lte mesh mobility
mpi netanim (no Python) network
nix-vector-routing olsr point-to-point
point-to-point-layout propagation spectrum
stats tap-bridge test (no Python)
tools topology-read uan
virtual-net-device visualizer wifi
wimax
Modules not built:
click ndnSIM openflow
ns-3$ ./waf build ndnSIM
Waf: Entering directory /home/user/ppn/prototype/ns-3/build' Waf: Leaving directory
/home/user/ppn/prototype/ns-3/build'
'build' finished successfully (6.231s)
No function ndnSIM defined in /home/user/ppn/prototype/ns-3/wscript
ns-3$
I am looking forward to hearing from you, as I wanted to start using ndnSIM soon.
Thanks in advance.
hello everybody,
please, i want to know how can i change the delayS or the delayUS in seconds, i want the two delays with the same unity (seconds or microseconds) of the column Time, and please i wont another explication apart this found there: http://ndnsim.net/metric.html#app-delay-trace-helper-example, about the delayS and delayUS and the retxCount, i don't understand it.
also, how can i add another column about the actif users in a specified time??? for example, i have 20 users and from t=1 to t=20 just 10 users are actif!!!!!
thanks for your help and please help me, it's urgent
I am trying to construct Sprint PoP topology, but there are error when read topology from the file. Console output is:
Waf: Entering directory /Users/shock/ndnSIM/ns-3/build' Waf: Leaving directory
/Users/shock/ndnSIM/ns-3/build'
'build' finished successfully (2.930s)
libc++abi.dylib: terminate called throwing an exception
Command ['/Users/shock/ndnSIM/ns-3/build/src/ndnSIM/examples/ns3-dev-xiaoke-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run --command-template="gdb --args %s ").
And my script is:
LogComponentEnable("RocketfuelWeightsReader", LOG_LEVEL_INFO);
string weights ("./src/ndnSIM/examples/shock/input/sprint.weights");
string latencies ("./src/ndnSIM/examples/shock/input/sprint.latencies");
string positions;
RocketfuelWeightsReader reader ("/sprint");
reader.SetBoundingBox (0, 0, 400, 250);
if (!positions.empty())
{
reader.SetFileName (positions);
reader.SetFileType (RocketfuelWeightsReader::POSITIONS);
reader.Read ();
}
reader.SetFileName (weights);
reader.SetFileType (RocketfuelWeightsReader::WEIGHTS);
reader.Read ();
The last line: reader.Read() lead to the exception, does anybody meet the error before?
Thanks very much in advance!
After all the compile, I copied ndn-grid.cc to scratch/ , and did a ./waf, i get the following :
Waf: Entering directory `/home/ravi/Documents/code/ndnSIM/ns-3/build'
[ 708/1620] cxx: scratch/ndn-grid.cc -> build/scratch/ndn-grid.cc.2.o
../scratch/ndn-grid.cc:25:31: error: ns3/ndnSIM-module.h: No such file or directory
../scratch/ndn-grid.cc:29: error: ‘ndn’ is not a namespace-name
../scratch/ndn-grid.cc:29: error: expected namespace-name before ‘;’ token
../scratch/ndn-grid.cc: In function ‘int main(int, char**)’:
../scratch/ndn-grid.cc:84: error: ‘ndn’ has not been declared
../scratch/ndn-grid.cc:84: error: expected ‘;’ before ‘ndnHelper’
../scratch/ndn-grid.cc:85: error: ‘ndnHelper’ was not declared in this scope
../scratch/ndn-grid.cc:89: error: ‘ndn’ has not been declared
The header file ndnSIM-module.h is not in the package, or am I missing something ?
Thanks
Ravi
In BestRoute::DoPropagateInterest(), the green faces are first tried in the call to super::DoPropagateInterest() and tried again in the BOOST_FOREACH loop. The call to super::DoPropagateInterest() appears redundant to me.
since i m new to ndnSIM can anyone tell me how to run my own code in ndnSIM
In per-out-face-limits.h and per-fib-limits.h:
If a node receives a NACK and decides to give up PIT, it should return all limits it borrowed, otherwise the limits will be wasted.
One possible solution is to return limits in DidExhaustForwardingOptions.
shivangi@ubuntu:/ndnSIM/ns-3$ ./waf --run=ndn-simple/ndnSIM/ns-3$ ./waf --run=ndn-simple
shivangi@ubuntu:
Waf: Entering directory /home/shivangi/ndnSIM/ns-3/build' [ 764/1771] cxx: scratch/ndn-simple.cc -> build/scratch/ndn-simple.cc.1.o ../scratch/ndn-simple.cc: In function ‘int main(int, char**)’: ../scratch/ndn-simple.cc:31:3: error: ‘ndn’ has not been declared ../scratch/ndn-simple.cc:31:20: error: expected ‘;’ before ‘ndnHelper’ ../scratch/ndn-simple.cc:32:3: error: ‘ndnHelper’ was not declared in this scope ../scratch/ndn-simple.cc:38:3: error: ‘ndn’ has not been declared ../scratch/ndn-simple.cc:38:18: error: expected ‘;’ before ‘consumerHelper’ ../scratch/ndn-simple.cc:40:3: error: ‘consumerHelper’ was not declared in this scope ../scratch/ndn-simple.cc:45:3: error: ‘ndn’ has not been declared ../scratch/ndn-simple.cc:45:18: error: expected ‘;’ before ‘producerHelper’ ../scratch/ndn-simple.cc:47:3: error: ‘producerHelper’ was not declared in this scope Waf: Leaving directory
/home/shivangi/ndnSIM/ns-3/build'
Build failed
-> task in 'ndn-simple' failed (exit status 1):
{task 175789516: cxx ndn-simple.cc -> ndn-simple.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-I.', '-I..', '-I/usr/include/gtk-2.0', '-I/usr/lib/i386-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/libxml2', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1', '-DHAVE_IF_NETS_H=1', '-DHAVE_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../scratch/ndn-simple.cc', '-c', '-o', 'scratch/ndn-simple.cc.1.o']
shivangi@ubuntu:~/ndnSIM/ns-3$
(reported by Xiaoke Jiang)
When subclassing from GlobalRoutingHelper or including boost-graph-ndn-global-routing-helper.h
in any other way, compilation fails with duplicate symbol error:
duplicate symbol boost::get(boost::VertexIds const&, ns3::Ptr<ns3::ndn::GlobalRouter>&) in:
src/ndnSIM/helper/cbis-global-routing-helper.cc.1.o src/ndnSIM/helper/ndn-global-routing-helper.cc.1.o
ld: 1 duplicate symbol for architecture x86_64 collect2: ld returned 1 exit status
When the application sends an Interest, router will borrow limit after forwarding the Interest. If Data gets dropped in the middle, the application will retransmit the Interest, and router will borrow another limit. When Data comes back, limit is only returned once. This may cause the limit to be wasted.
Steps to reproduce:
#include "ns3/core-module.h"
#include "ns3/network-module.h"
#include "ns3/ndnSIM-module.h"
using namespace ns3;
int main(int argc, char *argv[]) {
NodeContainer nodes;
nodes.Create(1);
ndn::StackHelper ndnHelper;
ndnHelper.InstallAll();
ndn::AppHelper consumerHelper("ns3::ndn::ConsumerCbr");
consumerHelper.SetAttribute("Randomize", StringValue("uniform"));
ApplicationContainer apps = consumerHelper.Install(nodes.Get(0));
apps.Get(0)->SetAttribute("Randomize", StringValue("none"));
Simulator::Stop(Seconds(5.0));
Simulator::Run();
Simulator::Destroy();
return 0;
}
Expected: simulation completes without memory error
Actual: program terminated with signal SIGSERV
Hi,
I have follow the instruction in the getting started ndnSIM link and Every thing is OK including compiling ndnSIM.
However, when I'm updating lte,topoply-read and applications moduless under ns3 source of ndnSIM folder according to the proposed code by Mr. Triadmias (link: https://github.com/triadimas/src)
, I get the following error:
Could not find a task generator for the name 'ns3-tools'
what is the matter ? How can i fix the error ?
Best regards.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.