[ndnSIM] error while configuring the ndnSIM

Samar Alduayji samarduayji at gmail.com
Thu Feb 21 06:28:28 PST 2019


Dear all,

Due to some issues with old boost library, I decided to use newer Ubuntu
18.10 version with new boost library installed.

I was running the steps in the getting start page and when I get to the
./waf command I got the following error

In file included from ../src/ndnSIM/ndn-cxx/src/interest.cpp:22:
../src/ndnSIM/ndn-cxx/src/interest.hpp:277:3: note: declared here
   hasSelectors() const
   ^~~~~~~~~~~~
../src/ndnSIM/ndn-cxx/src/interest.cpp:88:19: warning: ‘bool
ndn::Interest::hasSelectors() const’ is deprecated:
[-Wdeprecated-declarations]
   if (hasSelectors()) {
       ~~~~~~~~~~~~^~
In file included from ../src/ndnSIM/ndn-cxx/src/interest.cpp:22:
../src/ndnSIM/ndn-cxx/src/interest.hpp:277:3: note: declared here
   hasSelectors() const
   ^~~~~~~~~~~~
../src/ndnSIM/ndn-cxx/src/interest.cpp:89:32: warning: ‘const
ndn::Selectors& ndn::Interest::getSelectors() const’ is deprecated:
[-Wdeprecated-declarations]
     totalLength += getSelectors().wireEncode(encoder);
                    ~~~~~~~~~~~~^~
In file included from ../src/ndnSIM/ndn-cxx/src/interest.cpp:22:
../src/ndnSIM/ndn-cxx/src/interest.hpp:284:3: note: declared here
   getSelectors() const
   ^~~~~~~~~~~~
../src/ndnSIM/ndn-cxx/src/interest.cpp:89:32: warning: ‘const
ndn::Selectors& ndn::Interest::getSelectors() const’ is deprecated:
[-Wdeprecated-declarations]
     totalLength += getSelectors().wireEncode(encoder);
                    ~~~~~~~~~~~~^~
In file included from ../src/ndnSIM/ndn-cxx/src/interest.cpp:22:
../src/ndnSIM/ndn-cxx/src/interest.hpp:284:3: note: declared here
   getSelectors() const
   ^~~~~~~~~~~~

Waf: Leaving directory `/home/samar/ndnSIM/ns-3/build'
Build failed
 -> task in 'ns3-ndnSIM' failed with exit status 1:
    {task 140417174659272: cxx interest.cpp -> interest.cpp.3.o}
['/usr/bin/g++', '-std=c++14', '-O3', '-g', '-Wall',
'-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-march=native', '-fstrict-overflow',
'-Wstrict-overflow=2', '-std=c++14', '-fPIC', '-pthread', '-I.', '-I..',
'-Ins3/ndnSIM/NFD', '-I../ns3/ndnSIM/NFD', '-Isrc/ndnSIM/NFD/core',
'-I../src/ndnSIM/NFD/core', '-Isrc/ndnSIM/NFD/daemon',
'-I../src/ndnSIM/NFD/daemon', '-Isrc/ndnSIM/NFD/rib',
'-I../src/ndnSIM/NFD/rib', '-Ins3/ndnSIM', '-I../ns3/ndnSIM',
'-Ins3/ndnSIM/ndn-cxx', '-I../ns3/ndnSIM/ndn-cxx', '-I.', '-I..',
'-I/usr/include', '-DNS3_BUILD_PROFILE_OPTIMIZED', '-DHAVE_SYS_IOCTL_H=1',
'-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1',
'-DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1',
'-DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1',
'-DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1', '-DHAVE_STD_TO_STRING=1',
'-DHAVE_VECTOR_INSERT_ERASE_CONST_ITERATOR=1', '-DHAVE_PTHREAD=1',
'-DHAVE_SQLITE3=1', '-DHAVE_OPENSSL=1', '-DHAVE_IF_TUN_H=1',
'../src/ndnSIM/ndn-cxx/src/interest.cpp', '-c',
'-o/home/samar/ndnSIM/ns-3/build/src/ndnSIM/ndn-cxx/src/interest.cpp.3.o']


any suggestions how to pass it is really appreciated .

Regards,
Samar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20190221/9bd31d27/attachment.html>


More information about the ndnSIM mailing list