[ndnSIM] Build Error

Anil Kumar Maguluri anilmaguluri at gmail.com
Mon Jun 10 23:00:25 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130611/e2753338/attachment.html>


More information about the ndnSIM mailing list