<div dir="ltr"><div>Hi,</div><div><br></div><div>I'm trying to use RandomLoadBalancer strategy in an example; however, apparently, there is a linking error. The example is located in the "<i style="font-weight:bold">examples</i>"<i style="font-weight:bold"> </i>directory. Do I need to add the name of this example to any make/waf file? </div><div><br></div><div>BTW, in continue, you can find the error after trying to run ./waf command.</div><div><br></div><div><font size="1"><br></font></div><div><font size="1">[3165/3179] Linking build/src/ndnSIM/examples/ns3-dev-icdn-simple-debug</font></div><div><font size="1"><br></font></div><div><font size="1">src/ndnSIM/examples/icdn-simple.cpp.1.o: In function `void ns3::ndn::StrategyChoiceHelper::Install<nfd::fw::RandomLoadBalancerStrategy>(ns3::Ptr<ns3::Node>, ndn::Name const&)':</font></div><div><font size="1">/home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:119: <b>undefined reference to `nfd::fw::RandomLoadBalancerStrategy::getStrategyName()</b>'</font></div><div><font size="1">/home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:120: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'</font></div><div><font size="1">/home/vagrant/ndnSIM/ns-3/build/./ns3/ndnSIM/helper/ndn-strategy-choice-helper.hpp:123: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::getStrategyName()'</font></div><div><font size="1">src/ndnSIM/examples/icdn-simple.cpp.1.o: In function `std::unique_ptr<nfd::fw::RandomLoadBalancerStrategy, std::default_delete<nfd::fw::RandomLoadBalancerStrategy> > ndn::make_unique<nfd::fw::RandomLoadBalancerStrategy, nfd::Forwarder&, ndn::Name const&>(nfd::Forwarder&, ndn::Name const&)':</font></div><div><font size="1">/home/vagrant/ndnSIM/ns-3/build/ns3/ndnSIM/ndn-cxx/util/backports.hpp:75: undefined reference to `nfd::fw::RandomLoadBalancerStrategy::RandomLoadBalancerStrategy(nfd::Forwarder&, ndn::Name const&)'</font></div><div><font size="1">collect2: error: ld returned 1 exit status</font></div><div><br></div><div>Thanks,</div><div>- <i>Chavoosh</i></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr" style="color:rgb(34,34,34)"><font color="#888888"><span style="color:rgb(0,0,153);font-family:georgia,serif"><i style="color:rgb(0,0,0)"><b>Chavoosh Ghasemi</b></i><br><span style="color:rgb(153,153,0)"><br><span style="color:rgb(153,0,0)">Ph.D. Student in Computer Networking</span></span></span></font><span style="color:rgb(153,0,0)"><span style="font-family:georgia,serif"> </span><span style="font-family:georgia,serif"><br>University of Arizona - Computer Science Department</span><font size="1"><b><i><br></i></b></font></span></div><div style="color:rgb(34,34,34)"><span style="color:rgb(204,0,0)"><font size="1"><b><i>Address: Gould-Simpson 721B, </i></b></font><font size="1"><b><i>1040 E. 4th Street,<br></i></b></font></span></div><div dir="ltr" style="color:rgb(34,34,34)"><span style="color:rgb(153,0,0)"><font size="1"><b><i><span style="color:rgb(204,0,0)">                 Tucson, AZ 85721</span><br><br>"The <i>quieter</i> you become, the <i>more you can hear"</i></i></b></font></span></div></div></div></div></div> </font></span>
</div></div></div></div>
</div>