<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Ravi,</div><div><br></div>The error message indicates that you're still using the system's version of boost libraries (if you're on Ubuntu 12.04, it can be 1.46, 1.48, or both... which make things even more confusing).<div><br></div><div>Did you use "<span style="font-size: 16px; line-height: 19px; text-align: left; ">--boost-includes</span><span class="o" style="font-size: 16px; line-height: 19px; text-align: left; color: rgb(102, 102, 102); ">=</span><span style="font-size: 16px; line-height: 19px; text-align: left; ">/usr/local/include --boost-libs</span><span class="o" style="font-size: 16px; line-height: 19px; text-align: left; color: rgb(102, 102, 102); ">=</span><span style="font-size: 16px; line-height: 19px; text-align: left; ">/usr/local/lib</span>" configure options?</div><div><br></div><div>In any case, I can recommend you to get the latest version of ndnSIM (master branch, it is almost ready to be 0.5-rc2), as well as latest version of custom NS-3.</div><div><br></div><div>---</div><div>Alex</div><div><br></div><div><div><div>On Aug 9, 2013, at 5:51 PM, Ravi Ravindran <<a href="mailto:ravi.ravindran@gmail.com">ravi.ravindran@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi Alex,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
I've problem compiling ndnSIM, see below for the errors. Seems to be issue with libboost installation, I tried the "apt-get" and also manual installation of  1.52 package, but the problem remains. Current environment has a 1.48 libboost version, the ndnSIM is the latest version 0.2.8, also attached is the config.log.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Any suggestions ?</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">

<div>[1247/1925] cxx: build/src/flow-monitor/bindings/ns3module.cc -> build/src/flow-monitor/bindings/ns3module.cc.7.o</div><div>[1248/1925] cxx: src/internet/model/ipv6.cc -> build/src/internet/model/ipv6.cc.1.o</div>

<div>In file included from /usr/local/include/boost/unordered/detail/equivalent.hpp:14:0,</div><div>                 from /usr/local/include/boost/unordered/unordered_set.hpp:17,</div><div>                 from /usr/local/include/boost/unordered_set.hpp:16,</div>

<div>                 from /usr/local/include/boost/graph/adjacency_list.hpp:21,</div><div>                 from ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.h:32,</div><div>                 from ../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc:24:</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:173:46: error: wrong number of template arguments (2, should be 1)</div><div>/usr/local/include/boost/unordered/detail/buckets.hpp:40:37: error: provided for ‘template<class Node> struct boost::unordered::iterator_detail::iterator’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:175:68: error: wrong number of template arguments (3, should be 2)</div><div>/usr/local/include/boost/unordered/detail/buckets.hpp:41:64: error: provided for ‘template<class Node, class ConstNodePointer> struct boost::unordered::iterator_detail::c_iterator’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:177:56: error: wrong number of template arguments (3, should be 2)</div><div>/usr/local/include/boost/unordered/detail/buckets.hpp:42:54: error: provided for ‘template<class Node, class Policy> struct boost::unordered::iterator_detail::l_iterator’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:179:77: error: wrong number of template arguments (4, should be 3)</div><div>/usr/local/include/boost/unordered/detail/buckets.hpp:44:16: error: provided for ‘template<class Node, class ConstNodePointer, class Policy> struct boost::unordered::iterator_detail::cl_iterator’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp: In member function ‘std::size_t boost::unordered::detail::table<Types>::bucket_size(std::size_t) const’:</div><div>/usr/local/include/boost/unordered/detail/table.hpp:263:21: error: request for member ‘node_’ in ‘it’, which is of non-class type ‘boost::unordered::detail::table<Types>::iterator {aka int}’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:266:22: error: request for member ‘node_’ in ‘it’, which is of non-class type ‘boost::unordered::detail::table<Types>::iterator {aka int}’</div><div>/usr/local/include/boost/unordered/detail/table.hpp:267:43: error: request for member ‘node_’ in ‘it’, which is of non-class type ‘boost::unordered::detail::table<Types>::iterator {aka int}’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp: In member function ‘void boost::unordered::detail::table<Types>::delete_node(boost::unordered::detail::table<Types>::c_iterator)’:</div><div>/usr/local/include/boost/unordered/detail/table.hpp:506:19: error: request for member ‘node_’ in ‘n’, which is of non-class type ‘boost::unordered::detail::table<Types>::c_iterator {aka int}’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:508:41: error: request for member ‘node_’ in ‘n’, which is of non-class type ‘boost::unordered::detail::table<Types>::c_iterator {aka int}’</div><div>/usr/local/include/boost/unordered/detail/table.hpp:509:63: error: request for member ‘node_’ in ‘n’, which is of non-class type ‘boost::unordered::detail::table<Types>::c_iterator {aka int}’</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp: In member function ‘boost::unordered::detail::table<Types>::iterator boost::unordered::detail::table<Types>::find_matching_node(boost::unordered::detail::table<Types>::iterator) const’:</div>

<div>/usr/local/include/boost/unordered/detail/table.hpp:839:39: error: invalid type argument of unary ‘*’ (have ‘boost::unordered::detail::table<Types>::iterator {aka int}’)</div><div>Waf: Leaving directory `/home/ravi/Documents/code/ndnSIM/ns-3/build'</div>

<div>Build failed</div><div> -> task in 'ns3-ndnSIM' failed (exit status 1): </div><div><span style="white-space:pre-wrap">  </span>{task 28558352: cxx rocketfuel-map-reader.cc -> rocketfuel-map-reader.cc.1.o}</div>

<div>['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-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_IF_TUN_H=1', '../src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc', '-c', '-o', 'src/ndnSIM/plugins/topology/rocketfuel-map-reader.cc.1.o']</div>

</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Regards,</div><div style="font-family:arial,sans-serif;font-size:13px">

Ravi</div></div>
</div><br></div>
<span><config.log></span>_______________________________________________<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>