<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><br>Problem solved<br><div><br>Thank you Alex.</div><div> </div><div><a rel="nofollow" target="_blank" href="http://www.etri.re.kr/eng/main/index.etri">Muhammad Bilal<br></a><a rel="nofollow" target="_blank" href="http://www.etri.re.kr/eng/main/index.etri">Ph.D. Scholar at University of Science and technology (UST)</a><a rel="nofollow" target="_blank" href="http://www.etri.re.kr/eng/main/index.etri"><br></a><a rel="nofollow" target="_blank" href="http://www.etri.re.kr/eng/main/index.etri">Standard Research Center (SRC)<br>Electronics and Telecommunications Research Institute (ETRI)<br>218 Gajeong-no, Yuseong-gu, Daejeon, 305-700, KOREA</a><br><br></div><div style="display: block;" class="yahoo_quoted"> <br> <br> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial,
 Lucida Grande, sans-serif; font-size: 10pt;"> <div style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> On Thursday, January 23, 2014 4:40 PM, Alex Afanasyev <alexander.afanasyev@ucla.edu> wrote:<br> </font> </div>  <div class="y_msg_container"><div id="yiv3690437643"><div>Hi Muhammad,<div><br clear="none"></div><div>You need to remove -Werror flag (treating warnings as errors) from CXXFLAGS (which NS-3 adds by default).  For example you can do the following for the debug mode:</div><div><br clear="none"></div><div>CXXFLAGS="-O0 -g" ./waf configure</div><div>./waf</div><div><br clear="none"></div><div>---</div><div>Alex</div><div><br clear="none"><div><div class="yiv3690437643yqt3407544026" id="yiv3690437643yqt65480"><div>On Jan 22, 2014, at 11:37 PM, Muhammad Bilal <<a rel="nofollow" shape="rect"
 ymailto="mailto:engr.mbilal@yahoo.com" target="_blank" href="mailto:engr.mbilal@yahoo.com">engr.mbilal@yahoo.com</a>> wrote:</div><br class="yiv3690437643Apple-interchange-newline" clear="none"><blockquote type="cite"><div><div style="background-color:rgb(255, 255, 255);font-family:HelveticaNeue, 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;font-size:10pt;"><div><br clear="none"></div><div class="yiv3690437643edit-comment-hide">
            <div class="yiv3690437643js-comment-body yiv3690437643comment-body yiv3690437643markdown-body yiv3690437643markdown-format">
                <div>Hello Alex and everyone,<br clear="none">
Hope you are in best of your health.<br clear="none">
I am stuck with ndnSim installation. I followed the step given at <a rel="nofollow" shape="rect" target="_blank" href="http://ndnsim.net/getting-started.html">http://ndnsim.net/getting-started.html</a>
 . Configuration also went fine and showing ndnSim is enabled but in 
final step to build NS3 with ndnSIM (./waf) I receive following failure:</div><div><br clear="none"></div>

<div>../src/ndnSIM/helper/<a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>: In static member 
function ‘static void 
ns3::ndn::GlobalRoutingHelper::CalculateRoutes(bool)’:<br clear="none">
../src/ndnSIM/helper/<a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>:248:68: error: typedef
 ‘vertex_descriptor’ locally defined but not used 
[-Werror=unused-local-typedefs]<br clear="none">
   typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;<br clear="none">
                                                                    ^<br clear="none">
../src/ndnSIM/helper/<a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>: In static member 
function ‘static void 
ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes(bool)’:<br clear="none">
../src/ndnSIM/helper/<a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>:341:68: error: typedef
 ‘vertex_descriptor’ locally defined but not used 
[-Werror=unused-local-typedefs]<br clear="none">
   typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;<br clear="none">
                                                                    ^<br clear="none">
cc1plus: all warnings being treated as errors<br clear="none">
Waf: Leaving directory `/home/mbilal/ndnSIM/ns-3/build'<br clear="none">
Build failed<br clear="none">
 -> task in 'ns3-ndnSIM' failed (exit status 1): <br clear="none">
    {task 44914384: cxx <a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a> -> <a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>.1.o}<br clear="none">
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', 
'-Wno-error=deprecated-declarations', '-fstrict-aliasing', 
'-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', 
'-I/usr/local/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/helper/<a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>', 
'-c', '-o', 'src/ndnSIM/helper/<a rel="nofollow" shape="rect" target="_blank" href="http://ndn-global-routing-helper.cc/">ndn-global-routing-helper.cc</a>.1.o']</div><div><br clear="none"></div>

<div>Please let me know how to fix this problem. I also tried to configure ndnSIM with NS3.17 but I faced same problem. <br clear="none">
Best Regards,<br clear="none">
Muhammad Bilal</div>
            </div>
          </div><div> <br clear="none"></div></div></div>_______________________________________________<br clear="none">ndnSIM mailing list<br clear="none"><a rel="nofollow" shape="rect" ymailto="mailto:ndnSIM@lists.cs.ucla.edu" target="_blank" href="mailto:ndnSIM@lists.cs.ucla.edu">ndnSIM@lists.cs.ucla.edu</a><br clear="none">http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim<br clear="none"></blockquote></div></div><br clear="none"></div></div></div><br><br></div>  </div> </div>  </div> </div></body></html>