[ndnSIM] error in running cs-tracer::install()

Yowaraj Chhetri yowarj at gmail.com
Thu Nov 14 19:41:36 PST 2013


Dear All,

I want to run cs-tarcer::install() to trace cache hit/miss in of the node.
Can anybody tell me how to run cs-tracer only in one node. I have tried a
lot but couldnt succeed. May be my syntax is wrong? Please let me know the
correct way to do.

Thank you in advance...

I did as follow:
ndn::CsTracer::Install (consumer1 ("Src1"),"cs-trace.txt", Seconds (1));

and the error is:

Waf: Entering directory `/home/akari/ns-dev/ns-3/build'
[1218/2363] cxx: src/ndnSIM/examples/ndn-tree-with-l2tracer.cc ->
build/src/ndnSIM/examples/ndn-tree-with-l2tracer.cc.15.o
../src/ndnSIM/examples/ndn-tree-with-l2tracer.cc: In function ‘int
main(int, char**)’:
../src/ndnSIM/examples/ndn-tree-with-l2tracer.cc:141:43: error: no match
for call to ‘(ns3::Ptr<ns3::Node>) (const char [5])’
Waf: Leaving directory `/home/akari/ns-dev/ns-3/build'
Build failed
 -> task in 'ndn-tree-with-l2tracer' failed (exit status 1):
    {task 39907088: cxx ndn-tree-with-l2tracer.cc ->
ndn-tree-with-l2tracer.cc.15.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', '-I.', '-I..',
'-I/usr/include/libxml2', '-I/usr/include', '-I/usr/include/python2.7',
'-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', '-DNDEBUG',
'../src/ndnSIM/examples/ndn-tree-with-l2tracer.cc', '-c', '-o',
'src/ndnSIM/examples/ndn-tree-with-l2tracer.cc.15.o']


Yowaraj Chhetri,
Master of Advanced Information Technology
Kyushu University,
Fukuoka: Japan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20131115/619b21a2/attachment.html>


More information about the ndnSIM mailing list