<div dir="ltr"><div><div><div><div>Hi All,<br><br></div>I am facing the below build error while doing .waf @ ns-3 dir under ndnSIM dir in UBUNTU.<br></div>I am able to install the boot libraries successfully. I have followed the steps mentioned in <a href="http://ndnsim.net/faq.html#boost-libraries">http://ndnsim.net/faq.html#boost-libraries</a> to install the boost libraries.<br>
<br>================================<br>[1020/2115] cxx: src/network/model/application.cc -> build/src/network/model/application.cc.1.o<br>[1021/2115] cxx: src/network/model/address.cc -> build/src/network/model/address.cc.1.o<br>
[1022/2115] cxx: src/netanim/examples/wireless-animation.cc -> build/src/netanim/examples/wireless-animation.cc.4.o<br>[1023/2115] cxx: src/ndnSIM/examples/ndn-simple-with-pit-count-stats.cc -> build/src/ndnSIM/examples/ndn-simple-with-pit-count-stats.cc.21.o<br>
[1024/2115] cxx: src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc -> build/src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.18.o<br>[1025/2115] cxx: src/ndnSIM/examples/ndn-simple-with-different-sizes-content-store.cc -> build/src/ndnSIM/examples/ndn-simple-with-different-sizes-content-store.cc.17.o<br>
In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,<br>                 from ./ns3/ndn-pit-entry.h:40,<br>                 from ./ns3/ndnSIM-module.h:32,<br>                 from ../src/ndnSIM/examples/ndn-simple-with-pit-count-stats.cc:24:<br>
/usr/local/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void* boost::shared_ptr<T>::_internal_get_untyped_deleter() const’:<br>/usr/local/include/boost/smart_ptr/shared_ptr.hpp:707:19: error: ‘const class boost::detail::shared_count’ has no member named ‘get_untyped_deleter’<br>
In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,<br>                 from ./ns3/ndn-pit-entry.h:40,<br>                 from ./ns3/ndnSIM-module.h:32,<br>                 from ../src/ndnSIM/examples/ndn-simple-with-different-sizes-content-store.cc:24:<br>
/usr/local/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void* boost::shared_ptr<T>::_internal_get_untyped_deleter() const’:<br>/usr/local/include/boost/smart_ptr/shared_ptr.hpp:707:19: error: ‘const class boost::detail::shared_count’ has no member named ‘get_untyped_deleter’<br>
In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,<br>                 from ./ns3/ndn-pit-entry.h:40,<br>                 from ./ns3/ndnSIM-module.h:32,<br>                 from ../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc:24:<br>
/usr/local/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void* boost::shared_ptr<T>::_internal_get_untyped_deleter() const’:<br>/usr/local/include/boost/smart_ptr/shared_ptr.hpp:707:19: error: ‘const class boost::detail::shared_count’ has no member named ‘get_untyped_deleter’<br>
Waf: Leaving directory `/home/user/ndnSIM/ns-3/build'<br>Build failed<br> -> task in 'ndn-simple-with-pit-count-stats' failed (exit status 1): <br>    {task 167673996: cxx ndn-simple-with-pit-count-stats.cc -> ndn-simple-with-pit-count-stats.cc.21.o}<br>
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/include/atk-1.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/gtk-2.0', '-I/usr/lib/gtk-2.0/include', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pixman-1', '-I/usr/include/libxml2', '-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_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNDEBUG', '../src/ndnSIM/examples/ndn-simple-with-pit-count-stats.cc', '-c', '-o', 'src/ndnSIM/examples/ndn-simple-with-pit-count-stats.cc.21.o']<br>
 -> task in 'ndn-simple-with-different-sizes-content-store' failed (exit status 1): <br>    {task 167317196: cxx ndn-simple-with-different-sizes-content-store.cc -> ndn-simple-with-different-sizes-content-store.cc.17.o}<br>
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/include/atk-1.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/gtk-2.0', '-I/usr/lib/gtk-2.0/include', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pixman-1', '-I/usr/include/libxml2', '-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_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNDEBUG', '../src/ndnSIM/examples/ndn-simple-with-different-sizes-content-store.cc', '-c', '-o', 'src/ndnSIM/examples/ndn-simple-with-different-sizes-content-store.cc.17.o']<br>
 -> task in 'ndn-simple-with-cs-lfu' failed (exit status 1): <br>    {task 167334732: cxx ndn-simple-with-cs-lfu.cc -> ndn-simple-with-cs-lfu.cc.18.o}<br>['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fno-strict-aliasing', '-I.', '-I..', '-I/usr/include/atk-1.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/gtk-2.0', '-I/usr/lib/gtk-2.0/include', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pixman-1', '-I/usr/include/libxml2', '-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_PACKET_H=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNDEBUG', '../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc', '-c', '-o', 'src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.18.o']<br>
user@anilmaguluri-ubuntu:~/ndnSIM/ns-3$ <br><br><br>================================<br><br><br>Please let me know how to resolve this. Thanks for your support.<br><br></div>Thanks & Regards,<br></div>Anil Kumar Maguluri</div>