[ndnSIM] Build failed

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Nov 17 12:10:24 PST 2013


Hi Teng,

Try to download the latest version of ndnSIM and base NS-3.  Your error indicates that you're using an older version of ndnSIM with newer version of the base NS-3 code.

---
Alex

On Nov 16, 2013, at 11:56 PM, Teng <tengmingnianzbb at 163.com> wrote:

> Hi All,
> I am a new for ndnSIM, I tried to install ndnSIM in my ubuntu, after I run the compilation with command ./waf,it turned out a error:
> mmandLine’ to ‘ns3::TypeId’
> ./ns3/boolean.h:64:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::BooleanValue&)
> ./ns3/boolean.h:64:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::BooleanValue&’
> ./ns3/ptr.h:292:15: note: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::Ptr<T>&)
> ../src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc:82:15: error: no match for ‘operator<<’ in ‘std::cerr << cmd’
> ../src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc:82:15: note: candidates are:
> /usr/include/c++/4.6/ostream:110:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:110:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}’
> /usr/include/c++/4.6/ostream:119:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>, std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
> /usr/include/c++/4.6/ostream:119:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’
> /usr/include/c++/4.6/ostream:129:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:129:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::ios_base& (*)(std::ios_base&)’
> /usr/include/c++/4.6/ostream:167:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:167:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long int’
> /usr/include/c++/4.6/ostream:171:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:171:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long unsigned int’
> /usr/include/c++/4.6/ostream:175:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:175:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘bool’
> /usr/include/c++/4.6/bits/ostream.tcc:93:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>]
> /usr/include/c++/4.6/bits/ostream.tcc:93:5: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘short int’
> /usr/include/c++/4.6/ostream:182:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:182:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘short unsigned int’
> /usr/include/c++/4.6/bits/ostream.tcc:107:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>]
> /usr/include/c++/4.6/bits/ostream.tcc:107:5: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘int’
> /usr/include/c++/4.6/ostream:193:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:193:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘unsigned int’
> /usr/include/c++/4.6/ostream:202:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:202:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long long int’
> /usr/include/c++/4.6/ostream:206:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:206:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long long unsigned int’
> /usr/include/c++/4.6/ostream:211:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:211:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘double’
> /usr/include/c++/4.6/ostream:215:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:215:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘float’
> /usr/include/c++/4.6/ostream:223:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:223:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long double’
> /usr/include/c++/4.6/ostream:227:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:227:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘const void*’
> /usr/include/c++/4.6/bits/ostream.tcc:121:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
> /usr/include/c++/4.6/bits/ostream.tcc:121:5: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
> /usr/include/c++/4.6/bits/basic_string.h:2693:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
> /usr/include/c++/4.6/ostream:451:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
> /usr/include/c++/4.6/ostream:456:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
> /usr/include/c++/4.6/ostream:462:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
> /usr/include/c++/4.6/ostream:468:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
> /usr/include/c++/4.6/ostream:473:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
> /usr/include/c++/4.6/ostream:493:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
> /usr/include/c++/4.6/bits/ostream.tcc:323:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
> /usr/include/c++/4.6/ostream:510:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
> /usr/include/c++/4.6/ostream:523:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
> /usr/include/c++/4.6/ostream:528:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
> /usr/include/c++/4.6/bitset:1514:5: note: template<class _CharT, class _Traits, unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bitset<_Nb>&)
> /usr/include/c++/4.6/complex:521:5: note: template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)
> /usr/local/include/boost/graph/detail/edge.hpp:114:3: note: template<class Char, class Traits, class D, class V> std::basic_ostream<Char, Traits>& std::operator<<(std::basic_ostream<Char, Traits>&, const boost::detail::edge_desc_impl<D, V>&)
> ./ns3/mac48-address.h:164:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Mac48Address&)
> ./ns3/mac48-address.h:164:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Mac48Address&’
> ./ns3/data-rate.h:113:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::DataRate&)
> ./ns3/data-rate.h:113:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::DataRate&’
> ./ns3/sequence-number.h:277:1: note: template<class NUMERIC_TYPE, class SIGNED_TYPE> std::ostream& ns3::operator<<(std::ostream&, const ns3::SequenceNumber<NUMERIC_TYPE, SIGNED_TYPE>&)
> ./ns3/l2-tracer.h:79:1: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::L2Tracer&)
> ./ns3/l2-tracer.h:79:1: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::L2Tracer&’
> ./ns3/packet.h:609:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Packet&)
> ./ns3/packet.h:609:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Packet&’
> ./ns3/trailer.h:96:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Trailer&)
> ./ns3/trailer.h:96:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Trailer&’
> ./ns3/header.h:94:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Header&)
> ./ns3/header.h:94:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Header&’
> ./ns3/ipv6-address.h:481:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv6Prefix&)
> ./ns3/ipv6-address.h:481:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv6Prefix&’
> ./ns3/ipv6-address.h:480:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv6Address&)
> ./ns3/ipv6-address.h:480:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv6Address&’
> ./ns3/ipv4-address.h:293:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv4Mask&)
> ./ns3/ipv4-address.h:293:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv4Mask&’
> ./ns3/ipv4-address.h:292:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv4Address&)
> ./ns3/ipv4-address.h:292:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv4Address&’
> ./ns3/address.h:232:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Address&)
> ./ns3/address.h:232:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Address&’
> ./ns3/vector.h:149:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Vector2D&)
> ./ns3/vector.h:149:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Vector2D&’
> ./ns3/vector.h:147:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Vector3D&)
> ./ns3/vector.h:147:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Vector3D&’
> ./ns3/traced-value.h:471:16: note: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const U&, const ns3::TracedValue<T>&)
> ./ns3/traced-value.h:466:16: note: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const U&)
> ./ns3/traced-value.h:461:16: note: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const ns3::TracedValue<U>&)
> ./ns3/traced-value.h:136:15: note: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::TracedValue<T>&)
> ./ns3/random-variable.h:741:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::RandomVariable&)
> ./ns3/random-variable.h:741:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::RandomVariable&’
> ./ns3/object-factory.h:91:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::ObjectFactory&)
> ./ns3/object-factory.h:91:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::ObjectFactory&’
> ./ns3/nstime.h:665:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Time&)
> ./ns3/nstime.h:665:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Time&’
> ./ns3/int64x64.h:82:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::int64x64_t&)
> ./ns3/int64x64.h:82:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::int64x64_t&’
> ./ns3/type-id.h:362:16: note: std::ostream& ns3::operator<<(std::ostream&, ns3::TypeId)
> ./ns3/type-id.h:362:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘ns3::TypeId’
> ./ns3/boolean.h:64:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::BooleanValue&)
> ./ns3/boolean.h:64:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::BooleanValue&’
> ./ns3/ptr.h:292:15: note: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::Ptr<T>&)
> ../src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc:91:15: error: no match for ‘operator<<’ in ‘std::cerr << cmd’
> ../src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc:91:15: note: candidates are:
> /usr/include/c++/4.6/ostream:110:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:110:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&) {aka std::basic_ostream<char>& (*)(std::basic_ostream<char>&)}’
> /usr/include/c++/4.6/ostream:119:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>, std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]
> /usr/include/c++/4.6/ostream:119:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&) {aka std::basic_ios<char>& (*)(std::basic_ios<char>&)}’
> /usr/include/c++/4.6/ostream:129:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:129:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::ios_base& (*)(std::ios_base&)’
> /usr/include/c++/4.6/ostream:167:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:167:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long int’
> /usr/include/c++/4.6/ostream:171:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:171:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long unsigned int’
> /usr/include/c++/4.6/ostream:175:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:175:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘bool’
> /usr/include/c++/4.6/bits/ostream.tcc:93:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char, _Traits = std::char_traits<char>]
> /usr/include/c++/4.6/bits/ostream.tcc:93:5: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘short int’
> /usr/include/c++/4.6/ostream:182:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:182:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘short unsigned int’
> /usr/include/c++/4.6/bits/ostream.tcc:107:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char, _Traits = std::char_traits<char>]
> /usr/include/c++/4.6/bits/ostream.tcc:107:5: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘int’
> /usr/include/c++/4.6/ostream:193:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:193:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘unsigned int’
> /usr/include/c++/4.6/ostream:202:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:202:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long long int’
> /usr/include/c++/4.6/ostream:206:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:206:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long long unsigned int’
> /usr/include/c++/4.6/ostream:211:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:211:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘double’
> /usr/include/c++/4.6/ostream:215:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:215:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘float’
> /usr/include/c++/4.6/ostream:223:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:223:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘long double’
> /usr/include/c++/4.6/ostream:227:7: note: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]
> /usr/include/c++/4.6/ostream:227:7: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘const void*’
> /usr/include/c++/4.6/bits/ostream.tcc:121:5: note: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char, _Traits = std::char_traits<char>, std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf<char>]
> /usr/include/c++/4.6/bits/ostream.tcc:121:5: note:   no known conversion for argument 1 from ‘ns3::CommandLine’ to ‘std::basic_ostream<char>::__streambuf_type* {aka std::basic_streambuf<char>*}’
> /usr/include/c++/4.6/bits/basic_string.h:2693:5: note: template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::basic_string<_CharT, _Traits, _Alloc>&)
> /usr/include/c++/4.6/ostream:451:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, _CharT)
> /usr/include/c++/4.6/ostream:456:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, char)
> /usr/include/c++/4.6/ostream:462:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, char)
> /usr/include/c++/4.6/ostream:468:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, signed char)
> /usr/include/c++/4.6/ostream:473:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, unsigned char)
> /usr/include/c++/4.6/ostream:493:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const _CharT*)
> /usr/include/c++/4.6/bits/ostream.tcc:323:5: note: template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const char*)
> /usr/include/c++/4.6/ostream:510:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const char*)
> /usr/include/c++/4.6/ostream:523:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const signed char*)
> /usr/include/c++/4.6/ostream:528:5: note: template<class _Traits> std::basic_ostream<char, _Traits>& std::operator<<(std::basic_ostream<char, _Traits>&, const unsigned char*)
> /usr/include/c++/4.6/bitset:1514:5: note: template<class _CharT, class _Traits, unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bitset<_Nb>&)
> /usr/include/c++/4.6/complex:521:5: note: template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::complex<_Tp>&)
> /usr/local/include/boost/graph/detail/edge.hpp:114:3: note: template<class Char, class Traits, class D, class V> std::basic_ostream<Char, Traits>& std::operator<<(std::basic_ostream<Char, Traits>&, const boost::detail::edge_desc_impl<D, V>&)
> ./ns3/mac48-address.h:164:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Mac48Address&)
> ./ns3/mac48-address.h:164:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Mac48Address&’
> ./ns3/data-rate.h:113:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::DataRate&)
> ./ns3/data-rate.h:113:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::DataRate&’
> ./ns3/sequence-number.h:277:1: note: template<class NUMERIC_TYPE, class SIGNED_TYPE> std::ostream& ns3::operator<<(std::ostream&, const ns3::SequenceNumber<NUMERIC_TYPE, SIGNED_TYPE>&)
> ./ns3/l2-tracer.h:79:1: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::L2Tracer&)
> ./ns3/l2-tracer.h:79:1: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::L2Tracer&’
> ./ns3/packet.h:609:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Packet&)
> ./ns3/packet.h:609:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Packet&’
> ./ns3/trailer.h:96:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Trailer&)
> ./ns3/trailer.h:96:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Trailer&’
> ./ns3/header.h:94:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Header&)
> ./ns3/header.h:94:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Header&’
> ./ns3/ipv6-address.h:481:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv6Prefix&)
> ./ns3/ipv6-address.h:481:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv6Prefix&’
> ./ns3/ipv6-address.h:480:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv6Address&)
> ./ns3/ipv6-address.h:480:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv6Address&’
> ./ns3/ipv4-address.h:293:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv4Mask&)
> ./ns3/ipv4-address.h:293:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv4Mask&’
> ./ns3/ipv4-address.h:292:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Ipv4Address&)
> ./ns3/ipv4-address.h:292:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Ipv4Address&’
> ./ns3/address.h:232:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Address&)
> ./ns3/address.h:232:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Address&’
> ./ns3/vector.h:149:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Vector2D&)
> ./ns3/vector.h:149:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Vector2D&’
> ./ns3/vector.h:147:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Vector3D&)
> ./ns3/vector.h:147:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Vector3D&’
> ./ns3/traced-value.h:471:16: note: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const U&, const ns3::TracedValue<T>&)
> ./ns3/traced-value.h:466:16: note: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const U&)
> ./ns3/traced-value.h:461:16: note: template<class T, class U> ns3::TracedValue<T> ns3::operator<<(const ns3::TracedValue<T>&, const ns3::TracedValue<U>&)
> ./ns3/traced-value.h:136:15: note: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::TracedValue<T>&)
> ./ns3/random-variable.h:741:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::RandomVariable&)
> ./ns3/random-variable.h:741:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::RandomVariable&’
> ./ns3/object-factory.h:91:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::ObjectFactory&)
> ./ns3/object-factory.h:91:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::ObjectFactory&’
> ./ns3/nstime.h:665:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::Time&)
> ./ns3/nstime.h:665:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::Time&’
> ./ns3/int64x64.h:82:15: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::int64x64_t&)
> ./ns3/int64x64.h:82:15: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::int64x64_t&’
> ./ns3/type-id.h:362:16: note: std::ostream& ns3::operator<<(std::ostream&, ns3::TypeId)
> ./ns3/type-id.h:362:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘ns3::TypeId’
> ./ns3/boolean.h:64:16: note: std::ostream& ns3::operator<<(std::ostream&, const ns3::BooleanValue&)
> ./ns3/boolean.h:64:16: note:   no known conversion for argument 2 from ‘ns3::CommandLine’ to ‘const ns3::BooleanValue&’
> ./ns3/ptr.h:292:15: note: template<class T> std::ostream& ns3::operator<<(std::ostream&, const ns3::Ptr<T>&)
> Waf: Leaving directory `/home/tmn/ndnSIM/ns-3/build'
> Build failed
>  -> task in 'rocketfuel-maps-cch-to-annotaded' failed (exit status 1): 
>  {task 167240748: 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', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/local/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_IF_TUN_H=1', '-DNDEBUG', '../src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc', '-c', '-o', 'src/ndnSIM/tools/rocketfuel-maps-cch-to-annotaded.cc.1.o']
>  
> How can I solve the problem, would you please give me some hints.
> Thank you!
> 
> 
> _______________________________________________
> 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/20131117/9a0e446f/attachment.html>


More information about the ndnSIM mailing list