[ndnSIM] Build Error

Alex Afanasyev alexander.afanasyev at ucla.edu
Tue Jun 11 09:56:13 PDT 2013


Hi Anil,

Unfortunately, I was not able to reproduce the problem.  Which version of Ubuntu you're using?

If it is at least 12.04.2, then you can simply install boost libraries from packages (apt-get install libboost-all-dev) and NS-3 and  ndnSIM should compile without problem (with boost 1.46)

---
Alex


On Jun 10, 2013, at 11:00 PM, Anil Kumar Maguluri <anilmaguluri at gmail.com> wrote:

> Hi All,
> 
> I am facing the below build error while doing .waf @ ns-3 dir under ndnSIM dir in UBUNTU.
> I am able to install the boot libraries successfully. I have followed the steps mentioned in http://ndnsim.net/faq.html#boost-libraries to install the boost libraries.
> 
> ================================
> [1020/2115] cxx: src/network/model/application.cc -> build/src/network/model/application.cc.1.o
> [1021/2115] cxx: src/network/model/address.cc -> build/src/network/model/address.cc.1.o
> [1022/2115] cxx: src/netanim/examples/wireless-animation.cc -> build/src/netanim/examples/wireless-animation.cc.4.o
> [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
> [1024/2115] cxx: src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc -> build/src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.18.o
> [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
> In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,
>                  from ./ns3/ndn-pit-entry.h:40,
>                  from ./ns3/ndnSIM-module.h:32,
>                  from ../src/ndnSIM/examples/ndn-simple-with-pit-count-stats.cc:24:
> /usr/local/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void* boost::shared_ptr<T>::_internal_get_untyped_deleter() const’:
> /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’
> In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,
>                  from ./ns3/ndn-pit-entry.h:40,
>                  from ./ns3/ndnSIM-module.h:32,
>                  from ../src/ndnSIM/examples/ndn-simple-with-different-sizes-content-store.cc:24:
> /usr/local/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void* boost::shared_ptr<T>::_internal_get_untyped_deleter() const’:
> /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’
> In file included from /usr/local/include/boost/shared_ptr.hpp:17:0,
>                  from ./ns3/ndn-pit-entry.h:40,
>                  from ./ns3/ndnSIM-module.h:32,
>                  from ../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc:24:
> /usr/local/include/boost/smart_ptr/shared_ptr.hpp: In member function ‘void* boost::shared_ptr<T>::_internal_get_untyped_deleter() const’:
> /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’
> Waf: Leaving directory `/home/user/ndnSIM/ns-3/build'
> Build failed
>  -> task in 'ndn-simple-with-pit-count-stats' failed (exit status 1): 
>     {task 167673996: cxx ndn-simple-with-pit-count-stats.cc -> ndn-simple-with-pit-count-stats.cc.21.o}
> ['/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']
>  -> task in 'ndn-simple-with-different-sizes-content-store' failed (exit status 1): 
>     {task 167317196: cxx ndn-simple-with-different-sizes-content-store.cc -> ndn-simple-with-different-sizes-content-store.cc.17.o}
> ['/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']
>  -> task in 'ndn-simple-with-cs-lfu' failed (exit status 1): 
>     {task 167334732: cxx ndn-simple-with-cs-lfu.cc -> ndn-simple-with-cs-lfu.cc.18.o}
> ['/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']
> user at anilmaguluri-ubuntu:~/ndnSIM/ns-3$ 
> 
> 
> ================================
> 
> 
> Please let me know how to resolve this. Thanks for your support.
> 
> Thanks & Regards,
> Anil Kumar Maguluri
> _______________________________________________
> 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/20130611/0dd4391b/attachment.html>


More information about the ndnSIM mailing list