<html><head><meta http-equiv="Content-Type" content="text/html charset=gb18030"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">The current version of ndnSIM is incompatible with these scenarios.<div>You need to pull an older version of simulator dated back to January 2013 +/- 2 months.</div><div><br></div><div>Ilya</div><div><br><div><div>On Apr 13, 2014, at 4:10 AM, yourong <<a href="mailto:rong.you.sjtu@foxmail.com">rong.you.sjtu@foxmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Hi all,<br>       When i want to build project ndnSIM-ddos-interest-flooding which download from the <a href="https://github.com/cawka/ndnSIM-ddos-interest-flooding">https://github.com/cawka/ndnSIM-ddos-interest-flooding</a>. And i follow the steps described in README:     <br><pre><code>mkdir ns-dev
cd ns-dev

git clone <a href="git://github.com/cawka/ns-3-dev-ndnSIM.git">git://github.com/cawka/ns-3-dev-ndnSIM.git</a> ns-3
(cd ns-3 && git checkout -b ns-3.17-ndnSIM-0.5  origin/ns-3.17-ndnSIM-0.5)
git clone <a href="git://github.com/cawka/pybindgen.git">git://github.com/cawka/pybindgen.git</a> pybindgen
git clone <a href="git://github.com/NDN-Routing/ndnSIM.git">git://github.com/NDN-Routing/ndnSIM.git</a> ns-3/src/ndnSIM
(cd ns-3/src/ndnSIM && git checkout -b v0.5-rc2 db5f3b6acf526918be0a6a67c11378fa32cb27de)

git clone <a href="git://github.com/cawka/ndnSIM-ddos-interest-flooding.git">git://github.com/cawka/ndnSIM-ddos-interest-flooding.git</a> ndnSIM-ddos-interest-flooding

cd ns-3
./waf configure -d optimized
./waf
sudo ./waf install<br><br>During executing the step './waf', it returns the error message as follows:<br><br>./ns3/traced-value.h:466:16: ¸½×¢£º template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const U&)<br>./ns3/traced-value.h:461:16: ¸½×¢£º template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const ns3::TracedValue<U>&)<br>./ns3/traced-value.h:136:15: ¸½×¢£º template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::TracedValue<T>&)<br>./ns3/random-variable.h:741:16: ¸½×¢£º std::ostream& ns3::operator<<(std::ostream&, const ns3::RandomVariable&)<br>./ns3/random-variable.h:741:16: ¸½×¢£º   no known conversion for argument 2 from ¡®ns3::CommandLine¡¯ to ¡®const ns3::RandomVariable&¡¯<br>./ns3/object-factory.h:91:16: ¸½×¢£º std::ostream& ns3::operator<<(std::ostream&, const ns3::ObjectFactory&)<br>./ns3/object-factory.h:91:16: ¸½×¢£º   no known conversion for argument 2 from ¡®ns3::CommandLine¡¯ to ¡®const ns3::ObjectFactory&¡¯<br>./ns3/nstime.h:665:15: ¸½×¢£º std::ostream& ns3::operator<<(std::ostream&, const ns3::Time&)<br>./ns3/nstime.h:665:15: ¸½×¢£º   no known conversion for argument 2 from ¡®ns3::CommandLine¡¯ to ¡®const ns3::Time&¡¯<br>./ns3/int64x64.h:82:15: ¸½×¢£º std::ostream& ns3::operator<<(std::ostream&, const ns3::int64x64_t&)<br>./ns3/int64x64.h:82:15: ¸½×¢£º   no known conversion for argument 2 from ¡®ns3::CommandLine¡¯ to ¡®const ns3::int64x64_t&¡¯<br>./ns3/type-id.h:362:16: ¸½×¢£º std::ostream& ns3::operator<<(std::ostream&, ns3::TypeId)<br>./ns3/type-id.h:362:16: ¸½×¢£º   no known conversion for argument 2 from ¡®ns3::CommandLine¡¯ to ¡®ns3::TypeId¡¯<br>./ns3/boolean.h:64:16: ¸½×¢£º std::ostream& ns3::operator<<(std::ostream&, const ns3::BooleanValue&)<br>./ns3/boolean.h:64:16: ¸½×¢£º   no known conversion for argument 2 from ¡®ns3::CommandLine¡¯ to ¡®const ns3::BooleanValue&¡¯<br>./ns3/ptr.h:292:15: ¸½×¢£º template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::Ptr<T>&)<br>Waf: Leaving directory `/home/yourong/clone/ns-dev/ns-3/build'<br>Build failed<br> -> task in 'rocketfuel-maps-cch-to-annotaded' failed (exit status 1): <br>  {task 27095696: cxx <a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a> -> <a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>.1.o}<br>['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-I.', '-I..', '-I/usr/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/tools/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>', '-c', '-o', 'src/ndnSIM/tools/<a href="http://rocketfuel-maps-cch-to-annotaded.cc">rocketfuel-maps-cch-to-annotaded.cc</a>.1.o']<br><br>My environment is ubuntu-12.10, is any steps should i missed? Any guys can help me to fix it? Thanks!<br></code></pre><br><div><div style="font-size: 14px; font-family: Verdana;"><div style="line-height: 23px; font-size: x-small;"><br></div></div></div><div> </div>_______________________________________________<br>ndnSIM mailing list<br><a href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br>http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br></blockquote></div><br></div></body></html>