<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Sorry for sending again <div><br></div><div>I read that this might be a result of having two boost versions </div><div>so I run the following command </div><div><br></div><div><div><b>locate libboost_system</b></div><div><b><br></b></div><div>/usr/lib/i386-linux-gnu/libboost_system.a</div><div>/usr/lib/i386-linux-gnu/libboost_system.so</div><div>/usr/lib/i386-linux-gnu/libboost_system.so.1.58.0</div><div>/usr/local/lib/libboost_system.a</div><div>/usr/local/lib/libboost_system.so</div><div>/usr/local/lib/libboost_system.so.1.62.0</div></div><div><br></div><div>B.S. when I  run the ./waf command, I run it as following </div><div><b>./waf configure --boost-includes=/usr/local/include --boost-libs=/usr/local/lib --enable-examples -d optimized</b><br></div><div><br></div><div>I really appreciate your help and reply</div><div><br></div><div>Regards, </div><div>Samar</div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 16, 2019 at 11:56 AM Samar Alduayji <<a href="mailto:samarduayji@gmail.com">samarduayji@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Dear Developers, <div><br></div><div><br></div><div>I was following the example in this tutorial </div><div><a href="https://named-data.net/wp-content/uploads/2016/10/6-ndnSIM.pdf" target="_blank">https://named-data.net/wp-content/uploads/2016/10/6-ndnSIM.pdf</a></div><div>to write a simulation scenario using a separate directory ( scenarios)</div><div><br></div><div>when I run the command ./waf --run mycode.cpp</div><div>I got the following error </div><div><b>[2/2] Linking build/mycode</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::Queue::Dequeue()'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::CallbackBase::Demangle(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::Queue::GetTypeId()'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::LogComponent::LogComponent(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, ns3::LogLevel)'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::Queue::Enqueue(ns3::Ptr<ns3::Packet>)'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::TypeId::AddAttribute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, ns3::AttributeValue const&, ns3::Ptr<ns3::AttributeAccessor const>, ns3::Ptr<ns3::AttributeChecker const>)'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `ns3::PcapHelper::CreateFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::_Ios_Openmode, unsigned int, unsigned int, int)'</b></div><div><b>/usr/local/lib/libns3-dev-emu-optimized.so: undefined reference to `typeinfo for ns3::Queue'</b></div><div><b>collect2: error: ld returned 1 exit statu</b>s</div><div><br></div><div>I run the configuration as in the last section of the Getting started page. Can you please help me correcting the error.</div><div>Thanks in advance.</div><div><br></div><div>Kind Regards, </div><div>Samar  <br></div></div></div></div>
</blockquote></div></div>