[ndnSIM] error in build the ndnsim ddos interest flooding

Ilya Moiseenko iliamo at ucla.edu
Mon Apr 14 07:22:43 PDT 2014


The current version of ndnSIM is incompatible with these scenarios.
You need to pull an older version of simulator dated back to January 2013 +/- 2 months.

Ilya

On Apr 13, 2014, at 4:10 AM, yourong <rong.you.sjtu at foxmail.com> wrote:

> Hi all,
>        When i want to build project ndnSIM-ddos-interest-flooding which download from the https://github.com/cawka/ndnSIM-ddos-interest-flooding. And i follow the steps described in README:     
> mkdir ns-dev
> cd ns-dev
> 
> git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
> (cd ns-3 && git checkout -b ns-3.17-ndnSIM-0.5  origin/ns-3.17-ndnSIM-0.5)
> git clone git://github.com/cawka/pybindgen.git pybindgen
> git clone git://github.com/NDN-Routing/ndnSIM.git ns-3/src/ndnSIM
> (cd ns-3/src/ndnSIM && git checkout -b v0.5-rc2 db5f3b6acf526918be0a6a67c11378fa32cb27de)
> 
> git clone git://github.com/cawka/ndnSIM-ddos-interest-flooding.git ndnSIM-ddos-interest-flooding
> 
> cd ns-3
> ./waf configure -d optimized
> ./waf
> sudo ./waf install
> 
> During executing the step './waf', it returns the error message as follows:
> 
> ./ns3/traced-value.h:466:16: 附注: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const U&)
> ./ns3/traced-value.h:461:16: 附注: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const ns3::TracedValue<U>&)
> ./ns3/traced-value.h:136:15: 附注: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::TracedValue<T>&)
> ./ns3/random-variable.h:741:16: 附注: std::ostream& ns3::operator<<(std::ostream&, const ns3::RandomVariable&)
> ./ns3/random-variable.h:741:16: 附注:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::RandomVariable&’
> ./ns3/object-factory.h:91:16: 附注: std::ostream& ns3::operator<<(std::ostream&, const ns3::ObjectFactory&)
> ./ns3/object-factory.h:91:16: 附注:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::ObjectFactory&’
> ./ns3/nstime.h:665:15: 附注: std::ostream& ns3::operator<<(std::ostream&, const ns3::Time&)
> ./ns3/nstime.h:665:15: 附注:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Time&’
> ./ns3/int64x64.h:82:15: 附注: std::ostream& ns3::operator<<(std::ostream&, const ns3::int64x64_t&)
> ./ns3/int64x64.h:82:15: 附注:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::int64x64_t&’
> ./ns3/type-id.h:362:16: 附注: std::ostream& ns3::operator<<(std::ostream&, ns3::TypeId)
> ./ns3/type-id.h:362:16: 附注:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘ns3::TypeId’
> ./ns3/boolean.h:64:16: 附注: std::ostream& ns3::operator<<(std::ostream&, const ns3::BooleanValue&)
> ./ns3/boolean.h:64:16: 附注:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::BooleanValue&’
> ./ns3/ptr.h:292:15: 附注: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::Ptr<T>&)
> Waf: Leaving directory `/home/yourong/clone/ns-dev/ns-3/build'
> Build failed
>  -> task in 'rocketfuel-maps-cch-to-annotaded' failed (exit status 1): 
> 	{task 27095696: cxx rocketfuel-maps-cch-to-annotaded.cc -> rocketfuel-maps-cch-to-annotaded.cc.1.o}
> ['/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/rocketfuel-maps-cch-to-annotaded.cc', '-c', '-o', 'src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc.1.o']
> 
> My environment is ubuntu-12.10, is any steps should i missed? Any guys can help me to fix it? Thanks!
> 
> 
>  
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140414/04ea562e/attachment.html>


More information about the ndnSIM mailing list