<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">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>