[ndnSIM] ndnSim build failed

Muhammad Bilal engr.mbilal at yahoo.com
Wed Jan 22 23:37:28 PST 2014



Hello Alex and everyone,
Hope you are in best of your health.
I am stuck with ndnSim installation. I followed the step given at http://ndnsim.net/getting-started.html . Configuration also went fine and showing ndnSim is enabled but in 
final step to build NS3 with ndnSIM (./waf) I receive following failure:

../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member 
function ‘static void 
ns3::ndn::GlobalRoutingHelper::CalculateRoutes(bool)’:
../src/ndnSIM/helper/ndn-global-routing-helper.cc:248:68: error: typedef
 ‘vertex_descriptor’ locally defined but not used 
[-Werror=unused-local-typedefs]
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
^
../src/ndnSIM/helper/ndn-global-routing-helper.cc: In static member 
function ‘static void 
ns3::ndn::GlobalRoutingHelper::CalculateAllPossibleRoutes(bool)’:
../src/ndnSIM/helper/ndn-global-routing-helper.cc:341:68: error: typedef
 ‘vertex_descriptor’ locally defined but not used 
[-Werror=unused-local-typedefs]
typedef graph_traits < NdnGlobalRouterGraph >::vertex_descriptor vertex_descriptor;
^
cc1plus: all warnings being treated as errors
Waf: Leaving directory `/home/mbilal/ndnSIM/ns-3/build'
Build failed
-> task in 'ns3-ndnSIM' failed (exit status 1): 
{task 44914384: cxx ndn-global-routing-helper.cc -> ndn-global-routing-helper.cc.1.o}
['/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/ndn-global-routing-helper.cc', 
'-c', '-o', 'src/ndnSIM/helper/ndn-global-routing-helper.cc.1.o']

Please let me know how to fix this problem. I also tried to configure ndnSIM with NS3.17 but I faced same problem. 
Best Regards,
Muhammad Bilal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20140122/03042c95/attachment.html>


More information about the ndnSIM mailing list