<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Dear all,</p>
<p><br>
</p>
<p>I am having some trouble configuring ndnSIM on my machine. I have managed to run the './waf configure' command (although I have had to add the --disable-python flag). The problem appears when I try to run './waf'.
<br>
</p>
<p>The problem appears in this task:<span><br>
</span></p>
<p><span>[1333/3029] Compiling src/ndnSIM/ndn-cxx/src/security/tpm/back-end-file.cpp</span></p>
<p><br>
</p>
<p>Do you know how to fix this issue? <br>
</p>
<p>System info:<br>
</p>
<p>OS: Linux Mint 17.1 Cinnamon 64-bit<br>
</p>
<p>Linux Kernel: 3.13.0-37-generic<br>
</p>
<p><br>
</p>
<p>Please let me know if you need any additional information. Thank you in advance.<br>
</p>
<p>Below is the error stack trace.</p>
<p><br>
</p>
<p>Kind regards,</p>
<p>Robert Niemiec<br>
</p>
<p></p>
<div><br>
</div>
<div>In file included from ../src/network/utils/drop-tail-queue.h:22:0,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
./ns3/queue.h: In instantiation of ‘bool ns3::Queue<Item>::DoEnqueue(ns3::Queue<Item>::ConstIterator, ns3::Ptr<T>) [with Item = ns3::Packet; ns3::Queue<Item>::ConstIterator = std::_List_const_iterator<ns3::Ptr<ns3::Packet> >]’:<br>
../src/network/utils/drop-tail-queue.h:102:34:   required from ‘bool ns3::DropTailQueue<Item>::Enqueue(ns3::Ptr<T>) [with Item = ns3::Packet]’<br>
../src/network/utils/drop-tail-queue.cc:25:1:   required from here<br>
./ns3/queue.h:488:3: error: no matching function for call to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet> > >::insert(ns3::Queue<ns3::Packet>::ConstIterator&, ns3::Ptr<ns3::Packet>&)’<br>
   m_packets.insert (pos, item);<br>
   ^<br>
./ns3/queue.h:488:3: note: candidates are:<br>
In file included from /usr/include/c++/4.8/list:64:0,<br>
                 from ./ns3/object-base.h:26,<br>
                 from ./ns3/chunk.h:24,<br>
                 from ./ns3/header.h:24,<br>
                 from ./ns3/packet.h:25,<br>
                 from ./ns3/queue.h:26,<br>
                 from ../src/network/utils/drop-tail-queue.h:22,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
/usr/include/c++/4.8/bits/list.tcc:98:5: note: std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::insert(std::list<_Tp, _Alloc>::iterator, const value_type&) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet> >; std::list<_Tp,
 _Alloc>::iterator = std::_List_iterator<ns3::Ptr<ns3::Packet> >; std::list<_Tp, _Alloc>::value_type = ns3::Ptr<ns3::Packet>]<br>
     list<_Tp, _Alloc>::<br>
     ^<br>
/usr/include/c++/4.8/bits/list.tcc:98:5: note:   no known conversion for argument 1 from ‘ns3::Queue<ns3::Packet>::ConstIterator {aka std::_List_const_iterator<ns3::Ptr<ns3::Packet> >}’ to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet>
 > >::iterator {aka std::_List_iterator<ns3::Ptr<ns3::Packet> >}’<br>
In file included from /usr/include/c++/4.8/list:63:0,<br>
                 from ./ns3/object-base.h:26,<br>
                 from ./ns3/chunk.h:24,<br>
                 from ./ns3/header.h:24,<br>
                 from ./ns3/packet.h:25,<br>
                 from ./ns3/queue.h:26,<br>
                 from ../src/network/utils/drop-tail-queue.h:22,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
/usr/include/c++/4.8/bits/stl_list.h:1089:7: note: std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::insert(std::list<_Tp, _Alloc>::iterator, std::list<_Tp, _Alloc>::value_type&&) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet>
 >; std::list<_Tp, _Alloc>::iterator = std::_List_iterator<ns3::Ptr<ns3::Packet> >; std::list<_Tp, _Alloc>::value_type = ns3::Ptr<ns3::Packet>]<br>
       insert(iterator __position, value_type&& __x)<br>
       ^<br>
/usr/include/c++/4.8/bits/stl_list.h:1089:7: note:   no known conversion for argument 1 from ‘ns3::Queue<ns3::Packet>::ConstIterator {aka std::_List_const_iterator<ns3::Ptr<ns3::Packet> >}’ to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet>
 > >::iterator {aka std::_List_iterator<ns3::Ptr<ns3::Packet> >}’<br>
/usr/include/c++/4.8/bits/stl_list.h:1106:7: note: void std::list<_Tp, _Alloc>::insert(std::list<_Tp, _Alloc>::iterator, std::initializer_list<_Tp>) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet> >; std::list<_Tp, _Alloc>::iterator
 = std::_List_iterator<ns3::Ptr<ns3::Packet> >]<br>
       insert(iterator __p, initializer_list<value_type> __l)<br>
       ^<br>
/usr/include/c++/4.8/bits/stl_list.h:1106:7: note:   no known conversion for argument 1 from ‘ns3::Queue<ns3::Packet>::ConstIterator {aka std::_List_const_iterator<ns3::Ptr<ns3::Packet> >}’ to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet>
 > >::iterator {aka std::_List_iterator<ns3::Ptr<ns3::Packet> >}’<br>
/usr/include/c++/4.8/bits/stl_list.h:1123:7: note: void std::list<_Tp, _Alloc>::insert(std::list<_Tp, _Alloc>::iterator, std::list<_Tp, _Alloc>::size_type, const value_type&) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet> >;
 std::list<_Tp, _Alloc>::iterator = std::_List_iterator<ns3::Ptr<ns3::Packet> >; std::list<_Tp, _Alloc>::size_type = long unsigned int; std::list<_Tp, _Alloc>::value_type = ns3::Ptr<ns3::Packet>]<br>
       insert(iterator __position, size_type __n, const value_type& __x)<br>
       ^<br>
/usr/include/c++/4.8/bits/stl_list.h:1123:7: note:   candidate expects 3 arguments, 2 provided<br>
/usr/include/c++/4.8/bits/stl_list.h:1149:9: note: template<class _InputIterator, class> void std::list<_Tp, _Alloc>::insert(std::list<_Tp, _Alloc>::iterator, _InputIterator, _InputIterator) [with _InputIterator = _InputIterator; <template-parameter-2-2> =
 <template-parameter-1-2>; _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet> >]<br>
         insert(iterator __position, _InputIterator __first,<br>
         ^<br>
/usr/include/c++/4.8/bits/stl_list.h:1149:9: note:   template argument deduction/substitution failed:<br>
In file included from ../src/network/utils/drop-tail-queue.h:22:0,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
./ns3/queue.h:488:3: note:   cannot convert ‘pos’ (type ‘ns3::Queue<ns3::Packet>::ConstIterator {aka std::_List_const_iterator<ns3::Ptr<ns3::Packet> >}’) to type ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet> > >::iterator {aka std::_List_iterator<ns3::Ptr<ns3::Packet>
 >}’<br>
   m_packets.insert (pos, item);<br>
   ^<br>
./ns3/queue.h: In instantiation of ‘ns3::Ptr<T> ns3::Queue<Item>::DoDequeue(ns3::Queue<Item>::ConstIterator) [with Item = ns3::Packet; ns3::Queue<Item>::ConstIterator = std::_List_const_iterator<ns3::Ptr<ns3::Packet> >]’:<br>
../src/network/utils/drop-tail-queue.h:111:38:   required from ‘ns3::Ptr<T> ns3::DropTailQueue<Item>::Dequeue() [with Item = ns3::Packet]’<br>
../src/network/utils/drop-tail-queue.cc:25:1:   required from here<br>
./ns3/queue.h:516:3: error: no matching function for call to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet> > >::erase(ns3::Queue<ns3::Packet>::ConstIterator&)’<br>
   m_packets.erase (pos);<br>
   ^<br>
./ns3/queue.h:516:3: note: candidates are:<br>
In file included from /usr/include/c++/4.8/list:64:0,<br>
                 from ./ns3/object-base.h:26,<br>
                 from ./ns3/chunk.h:24,<br>
                 from ./ns3/header.h:24,<br>
                 from ./ns3/packet.h:25,<br>
                 from ./ns3/queue.h:26,<br>
                 from ../src/network/utils/drop-tail-queue.h:22,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
/usr/include/c++/4.8/bits/list.tcc:108:5: note: std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::list<_Tp, _Alloc>::iterator) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet> >; std::list<_Tp, _Alloc>::iterator
 = std::_List_iterator<ns3::Ptr<ns3::Packet> >]<br>
     list<_Tp, _Alloc>::<br>
     ^<br>
/usr/include/c++/4.8/bits/list.tcc:108:5: note:   no known conversion for argument 1 from ‘ns3::Queue<ns3::Packet>::ConstIterator {aka std::_List_const_iterator<ns3::Ptr<ns3::Packet> >}’ to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet>
 > >::iterator {aka std::_List_iterator<ns3::Ptr<ns3::Packet> >}’<br>
In file included from /usr/include/c++/4.8/list:63:0,<br>
                 from ./ns3/object-base.h:26,<br>
                 from ./ns3/chunk.h:24,<br>
                 from ./ns3/header.h:24,<br>
                 from ./ns3/packet.h:25,<br>
                 from ./ns3/queue.h:26,<br>
                 from ../src/network/utils/drop-tail-queue.h:22,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
/usr/include/c++/4.8/bits/stl_list.h:1193:7: note: std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::list<_Tp, _Alloc>::iterator, std::list<_Tp, _Alloc>::iterator) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet>
 >; std::list<_Tp, _Alloc>::iterator = std::_List_iterator<ns3::Ptr<ns3::Packet> >]<br>
       erase(iterator __first, iterator __last)<br>
       ^<br>
/usr/include/c++/4.8/bits/stl_list.h:1193:7: note:   candidate expects 2 arguments, 1 provided<br>
In file included from ../src/network/utils/drop-tail-queue.h:22:0,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
./ns3/queue.h: In instantiation of ‘ns3::Ptr<T> ns3::Queue<Item>::DoRemove(ns3::Queue<Item>::ConstIterator) [with Item = ns3::Packet; ns3::Queue<Item>::ConstIterator = std::_List_const_iterator<ns3::Ptr<ns3::Packet> >]’:<br>
../src/network/utils/drop-tail-queue.h:124:37:   required from ‘ns3::Ptr<T> ns3::DropTailQueue<Item>::Remove() [with Item = ns3::Packet]’<br>
../src/network/utils/drop-tail-queue.cc:25:1:   required from here<br>
./ns3/queue.h:545:3: error: no matching function for call to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet> > >::erase(ns3::Queue<ns3::Packet>::ConstIterator&)’<br>
   m_packets.erase (pos);<br>
   ^<br>
./ns3/queue.h:545:3: note: candidates are:<br>
In file included from /usr/include/c++/4.8/list:64:0,<br>
                 from ./ns3/object-base.h:26,<br>
                 from ./ns3/chunk.h:24,<br>
                 from ./ns3/header.h:24,<br>
                 from ./ns3/packet.h:25,<br>
                 from ./ns3/queue.h:26,<br>
                 from ../src/network/utils/drop-tail-queue.h:22,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
/usr/include/c++/4.8/bits/list.tcc:108:5: note: std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::list<_Tp, _Alloc>::iterator) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet> >; std::list<_Tp, _Alloc>::iterator
 = std::_List_iterator<ns3::Ptr<ns3::Packet> >]<br>
     list<_Tp, _Alloc>::<br>
     ^<br>
/usr/include/c++/4.8/bits/list.tcc:108:5: note:   no known conversion for argument 1 from ‘ns3::Queue<ns3::Packet>::ConstIterator {aka std::_List_const_iterator<ns3::Ptr<ns3::Packet> >}’ to ‘std::list<ns3::Ptr<ns3::Packet>, std::allocator<ns3::Ptr<ns3::Packet>
 > >::iterator {aka std::_List_iterator<ns3::Ptr<ns3::Packet> >}’<br>
In file included from /usr/include/c++/4.8/list:63:0,<br>
                 from ./ns3/object-base.h:26,<br>
                 from ./ns3/chunk.h:24,<br>
                 from ./ns3/header.h:24,<br>
                 from ./ns3/packet.h:25,<br>
                 from ./ns3/queue.h:26,<br>
                 from ../src/network/utils/drop-tail-queue.h:22,<br>
                 from ../src/network/utils/drop-tail-queue.cc:19:<br>
/usr/include/c++/4.8/bits/stl_list.h:1193:7: note: std::list<_Tp, _Alloc>::iterator std::list<_Tp, _Alloc>::erase(std::list<_Tp, _Alloc>::iterator, std::list<_Tp, _Alloc>::iterator) [with _Tp = ns3::Ptr<ns3::Packet>; _Alloc = std::allocator<ns3::Ptr<ns3::Packet>
 >; std::list<_Tp, _Alloc>::iterator = std::_List_iterator<ns3::Ptr<ns3::Packet> >]<br>
       erase(iterator __first, iterator __last)<br>
       ^<br>
/usr/include/c++/4.8/bits/stl_list.h:1193:7: note:   candidate expects 2 arguments, 1 provided<br>
<br>
Waf: Leaving directory `/home/robertn/ndnSIM/ns-3/build'<br>
Build failed<br>
 -> task in 'ns3-network' failed (exit status 1): <br>
    {task 139989506150992: cxx drop-tail-queue.cc -> drop-tail-queue.cc.1.o}<br>
['/usr/bin/g++', '-std=c++0x', '-std=c++11', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-std=c++11', '-fPIC', '-pthread', '-I.', '-I..', '-DNS3_BUILD_PROFILE_DEBUG', '-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_IS_DEFAULT_CONSTRUCTIBLE=1', '-DHAVE_IS_NOTHROW_MOVE_CONSTRUCTIBLE=1', '-DHAVE_IS_NOTHROW_MOVE_ASSIGNABLE=1', '-DHAVE_STD_TO_STRING=1',
 '-DHAVE_PTHREAD=1', '-DHAVE_SQLITE3=1', '-DHAVE_OPENSSL=1', '-DHAVE_IF_TUN_H=1', '-DHAVE_SQLITE3=1', '../src/network/utils/drop-tail-queue.cc', '-c', '-o', '/home/robertn/ndnSIM/ns-3/build/src/network/utils/drop-tail-queue.cc.1.o']<br>
<br>
</div>
<br>
<p></p>
</div>
</body>
</html>