[ndnSIM] error while configuring the ndnSIM

Alex Afanasyev aa at cs.fiu.edu
Thu Feb 21 06:31:36 PST 2019


What you included are not error, just warnings.  I suspect the error is caused by something else (look for "error:" in the output).

> On Feb 21, 2019, at 9:28 AM, Samar Alduayji via ndnSIM <ndnsim at lists.cs.ucla.edu <mailto:ndnsim at lists.cs.ucla.edu>> wrote:
> 
> 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
> _______________________________________________
> ndnSIM mailing list
> ndnSIM at lists.cs.ucla.edu <mailto:ndnSIM at lists.cs.ucla.edu>
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

______________
Alex Afanasyev
Assistant Professor, SCIS, Florida International University
11200 SW 8th Street, PG6 Room 140D, Miami, FL 33199
phone: +1.305.348.4960 (office); email: aa at cs.fiu.edu <mailto:aa at cs.fiu.edu>
web: https://users.cs.fiu.edu/~afanasyev/ <https://users.cs.fiu.edu/~afanasyev/>


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


More information about the ndnSIM mailing list