Project

General

Profile

Actions

Bug #3470

closed

In execution of ndnSIM-ddos-interest-flooding project.

Added by Rohit Agnihotri over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
build
Target version:
-
Start date:
02/24/2016
Due date:
02/26/2016
% Done:

0%

Estimated time:

Description

After successfully running ./waf configure when i type ./waf i get error in it how can i fix it.

please help to run the project.


Files

Screenshot from 2016-02-24 18_33_07.png (220 KB) Screenshot from 2016-02-24 18_33_07.png Rohit Agnihotri, 02/24/2016 05:52 AM
config.log (56 KB) config.log Rohit Agnihotri, 02/29/2016 02:09 AM
Actions #1

Updated by Rohit Agnihotri over 8 years ago

following error comes

Build failed
 -> task in 'extensions' failed (exit status 1):
    {task 140558924801872: cxx satisfaction-based-interest-acceptance.cc ->
satisfaction-based-interest-acceptance.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-std=c++11', '-pthread', '-pthread',
'-pthread', '-pthread', '-pthread', '-pthread', '-pthread',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/build/extensions',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/extensions',
'-I/usr/include', '-I/usr/local/include/ns3-dev',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM', '-I/usr/include/gtk-2.0',
'-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0',
'-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0',
'-I/usr/include/freetype2', '-I/usr/include/glib-2.0',
'-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1',
'-I/usr/include/libpng12', '-I/usr/include/harfbuzz',
'-I/usr/include/libxml2', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_CORE=1',
'-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1',
'-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TOPOLOGY_READ=1',
'-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1',
'-DHAVE_NS3_VISUALIZER=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'../extensions/strategies/satisfaction-based-interest-acceptance.cc', '-c',
'-o', 'extensions/strategies/satisfaction-based-interest-acceptance.cc.1.o']

-> task in 'extensions' failed (exit status 1):
    {task 140558924801616: cxx stats.cc -> stats.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-std=c++11', '-pthread', '-pthread',
'-pthread', '-pthread', '-pthread', '-pthread', '-pthread',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/build/extensions',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/extensions',
'-I/usr/include', '-I/usr/local/include/ns3-dev',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM', '-I/usr/include/gtk-2.0',
'-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0',
'-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0',
'-I/usr/include/freetype2', '-I/usr/include/glib-2.0',
'-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1',
'-I/usr/include/libpng12', '-I/usr/include/harfbuzz',
'-I/usr/include/libxml2', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_CORE=1',
'-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1',
'-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TOPOLOGY_READ=1',
'-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1',
'-DHAVE_NS3_VISUALIZER=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'../extensions/stats.cc', '-c', '-o', 'extensions/stats.cc.1.o']

 -> task in 'extensions' failed (exit status 1):
    {task 140558924801488: cxx load-stats-node.cc -> load-stats-node.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-std=c++11', '-pthread', '-pthread',
'-pthread', '-pthread', '-pthread', '-pthread', '-pthread',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/build/extensions',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/extensions',
'-I/usr/include', '-I/usr/local/include/ns3-dev',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM', '-I/usr/include/gtk-2.0',
'-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0',
'-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0',
'-I/usr/include/freetype2', '-I/usr/include/glib-2.0',
'-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1',
'-I/usr/include/libpng12', '-I/usr/include/harfbuzz',
'-I/usr/include/libxml2', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_CORE=1',
'-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1',
'-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TOPOLOGY_READ=1',
'-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1',
'-DHAVE_NS3_VISUALIZER=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'../extensions/stats/load-stats-node.cc', '-c', '-o',
'extensions/stats/load-stats-node.cc.1.o']

 -> task in 'extensions' failed (exit status 1):
    {task 140558924801104: cxx ddos-app.cc -> ddos-app.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-std=c++11', '-pthread', '-pthread',
'-pthread', '-pthread', '-pthread', '-pthread', '-pthread',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/build/extensions',
'-I/home/vinay/ndnSIM/ns-3/ndnSIM-ddos-interest-flooding/extensions',
'-I/usr/include', '-I/usr/local/include/ns3-dev',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM/NFD',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/core',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/daemon',
'-I/home/vinay/ndnSIM/ns-3/build/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/src/ndnSIM/NFD/rib',
'-I/home/vinay/ndnSIM/ns-3/build/ns3/ndnSIM',
'-I/home/vinay/ndnSIM/ns-3/ns3/ndnSIM', '-I/usr/include/gtk-2.0',
'-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0',
'-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0',
'-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0',
'-I/usr/include/freetype2', '-I/usr/include/glib-2.0',
'-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1',
'-I/usr/include/libpng12', '-I/usr/include/harfbuzz',
'-I/usr/include/libxml2', '-DHAVE_NS3_NDNSIM=1', '-DHAVE_NS3_CORE=1',
'-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1',
'-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TOPOLOGY_READ=1',
'-DHAVE_NS3_APPLICATIONS=1', '-DHAVE_NS3_MOBILITY=1',
'-DHAVE_NS3_VISUALIZER=1', '-DNS3_LOG_ENABLE=1', '-DNS3_ASSERT_ENABLE=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'-DHAVE_SQLITE3=1', '-DHAVE_GSL=1', '-DHAVE_GSL=1', '-DHAVE_SQLITE3=1',
'-DHAVE_GSL=1', '-DHAVE_SQLITE3=1', '-DHAVE_GTK2=1', '-DHAVE_LIBXML2=1',
'../extensions/ddos-app.cc', '-c', '-o', 'extensions/ddos-app.cc.1.o']

please help how can i resolve it am a beginner.

thanks in advance sir

Actions #3

Updated by Alex Afanasyev over 8 years ago

  • Description updated (diff)
Actions #4

Updated by Alex Afanasyev over 8 years ago

You should follow the README file in scenario repository. It requires the specific version of ndnSIM and, unfortunately, not compatible with the latest release of ndnSIM.

Actions #5

Updated by Rohit Agnihotri over 8 years ago

sir i tried installing older version also this error comes and it says build error / failed.

               from /usr/local/include/boost/intrusive/detail/hashtable_node.hpp:24,
                 from /usr/local/include/boost/intrusive/hashtable.hpp:31,
                 from /usr/local/include/boost/intrusive/unordered_set.hpp:22,
                 from ../src/ndnSIM/model/pit/../../utils/trie/trie.h:26,
                 from ../src/ndnSIM/model/pit/../../utils/trie/trie-with-policy.h:24,
                 from ../src/ndnSIM/model/pit/ndn-pit-impl.h:29,
                 from ../src/ndnSIM/model/pit/ndn-pit-impl.cc:21:
/usr/local/include/boost/intrusive/detail/size_holder.hpp:30:13: note: SizeType boost::intrusive::detail::size_holder<ConstantSize, SizeType, Tag>::get_size() const [with bool ConstantSize = true; SizeType = long unsigned int; Tag = void]
    SizeType get_size() const
             ^
/usr/local/include/boost/intrusive/detail/size_holder.hpp:30:13: note:   candidate expects 0 arguments, 1 provided
Waf: Leaving directory `/home/vinay/ns-dev/ns-3/build'

Build failed
 -> task in 'ns3-ndnSIM' failed (exit status 1): 
    {task 139829470063760: cxx ndn-pit-impl.cc -> ndn-pit-impl.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-I/usr/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/model/pit/ndn-pit-impl.cc', '-c', '-o', 'src/ndnSIM/model/pit/ndn-pit-impl.cc.1.o']

root@vinay:/home/vinay/ns-dev/ns-3# 
Actions #6

Updated by Spyros Mastorakis over 8 years ago

  • Status changed from New to Rejected
  • Assignee deleted (Alex Afanasyev)
  • Priority changed from Urgent to Low
Actions #7

Updated by Rohit Agnihotri over 8 years ago

Its not resolved yet sir and you still rejected the issue i dont know why .! any way !

Actions #8

Updated by Alex Afanasyev over 8 years ago

  • Status changed from Rejected to New

Rohit, you should give us more information than just an error. What specific version of OS you're using, which version of boost libraries, which specific commit of NS-3, ndnSIM, scenario repo?

Also, attach build/config.log file that will give us additional information.

Actions #9

Updated by Rohit Agnihotri over 8 years ago

Hello Alex sir

Thanks for reopening the issue. I am presently using ubuntu 14.04 LTS verion 64 bit, with boost libraries as 1_54 and ns version as specified in ndnSIM-ddos-interest-flooding README.md file . config.log is attached please see the attachments as well.

             from ../src/ndnSIM/model/pit/../../utils/trie/trie-with-policy.h:24,
             from ../src/ndnSIM/model/pit/ndn-pit-impl.h:29,
             from ../src/ndnSIM/model/pit/ndn-pit-impl.cc:21:

/usr/local/include/boost/intrusive/detail/size_holder.hpp:30:13: note: SizeType boost::intrusive::detail::size_holder::get_size() const [with bool ConstantSize = true; SizeType = long unsigned int; Tag = void]
SizeType get_size() const
^
/usr/local/include/boost/intrusive/detail/size_holder.hpp:30:13: note: candidate expects 0 arguments, 1 provided
Waf: Leaving directory `/home/vinay/ns-dev/ns-3/build'

Build failed
-> task in 'ns3-ndnSIM' failed (exit status 1):
{task 140343837447184: cxx ndn-pit-impl.cc -> ndn-pit-impl.cc.1.o}
['/usr/bin/g++', '-O3', '-g', '-Wall', '-march=native', '-fstrict-overflow', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-I.', '-I..', '-I/usr/include', '-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/model/pit/ndn-pit-impl.cc', '-c', '-o', 'src/ndnSIM/model/pit/ndn-pit-impl.cc.1.o']

Thank you so much in advance.

Actions #10

Updated by Spyros Mastorakis about 7 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF