<div dir="ltr">Hi Peter,</div><div dir="ltr"><br></div><div dir="ltr">Probably a version mismatch between headers and library. Make sure you completely remove all traces of an older (or newer) version of ndn-cxx.</div><span>
</span><p dir="ltr">Davide<br>
</p><span>
</span><br><div class="gmail_quote"><div dir="ltr">On Thu, Oct 19, 2017, 5:31 PM Gusev, Peter <<a href="mailto:peter@remap.ucla.edu">peter@remap.ucla.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
Hi,
<div><br>
</div>
<div>trying to build previous version of NFD 0.5.1, but it gives me linking errors:</div>
<div><br>
</div>
<div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(175,173,36);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures;color:#000000">[145/148] Linking
</span><span style="font-variant-ligatures:no-common-ligatures">build/bin/nfd-autoreg</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(175,173,36);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures;color:#000000">[146/148] Linking
</span><span style="font-variant-ligatures:no-common-ligatures">build/bin/ndn-autoconfig</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">tools/nfd-autoreg.cpp.2.o: In function `ndn::nfd::FaceStatus::FaceStatus(ndn::nfd::FaceStatus const&)':</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">/usr/local/include/ndn-cxx/mgmt/nfd/face-status.hpp:37: undefined reference to `vtable for ndn::nfd::FaceStatus'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">tools/nfd-autoreg.cpp.2.o: In function `ndn::nfd::FaceEventNotification::~FaceEventNotification()':</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">/usr/local/include/ndn-cxx/mgmt/nfd/face-event-notification.hpp:46: undefined reference to `vtable for ndn::nfd::FaceEventNotification'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">/usr/local/include/ndn-cxx/mgmt/nfd/face-event-notification.hpp:46: undefined reference to `vtable for ndn::nfd::FaceEventNotification'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">collect2: error: ld returned 1 exit status</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8);min-height:14px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">tools/ndn-autoconfig/base.cpp.3.o: In function `ndn::tools::autoconfig::Base::connectToHub(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)':</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">/home/peter/NFD/build/../tools/ndn-autoconfig/base.cpp:48: undefined reference to `ndn::util::FaceUri::canonize(std::function<void (ndn::util::FaceUri const&)> const&, std::function<void (std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&)> const&, boost::asio::io_service&, boost::chrono::duration<long, boost::ratio<1l, 1000000000l> > const&) const'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">tools/ndn-autoconfig/multicast-discovery.cpp.3.o: In function `ndn::nfd::FaceStatus::FaceStatus(ndn::nfd::FaceStatus const&)':</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">/usr/local/include/ndn-cxx/mgmt/nfd/face-status.hpp:37: undefined reference to `vtable for ndn::nfd::FaceStatus'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">collect2: error: ld returned 1 exit status</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;background-color:rgba(255,255,255,0.8);min-height:14px">
<span style="font-variant-ligatures:no-common-ligatures"></span><br>
</div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(52,188,38);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures">Waf: Leaving directory `/home/peter/NFD/build'</span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>Build failed</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b> -> task in '../bin/nfd-autoreg' failed (exit status 1): </b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b><span class="m_-7822107077218426100Apple-tab-span" style="white-space:pre-wrap"></span>{task 139924923470352: cxxprogram nfd-autoreg.cpp.2.o,city-hash.cpp.2.o,config-file.cpp.2.o,global-io.cpp.2.o,manager-base.cpp.2.o,network-interface-predicate.cpp.2.o,network-interface.cpp.2.o,network.cpp.2.o,privilege-helper.cpp.2.o,random.cpp.2.o,scheduler.cpp.2.o,logger-factory.cpp.2.o,logger.cpp.2.o
 -> nfd-autoreg}</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>['/usr/bin/g++', '-pthread', '-pthread', '-pthread', 'tools/nfd-autoreg.cpp.2.o', 'core/city-hash.cpp.2.o', 'core/config-file.cpp.2.o', 'core/global-io.cpp.2.o', 'core/manager-base.cpp.2.o',
 'core/network-interface-predicate.cpp.2.o', 'core/network-interface.cpp.2.o', 'core/network.cpp.2.o', 'core/privilege-helper.cpp.2.o', 'core/random.cpp.2.o', 'core/scheduler.cpp.2.o', 'core/logger-factory.cpp.2.o', 'core/logger.cpp.2.o', '-o', '/home/peter/NFD/build/bin/nfd-autoreg',
 '-Wl,-Bstatic', '-L/usr/lib/x86_64-linux-gnu', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/lib/x86_64-linux-gnu', '-lndn-cxx', '-lboost_system', '-lboost_filesystem', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono',
 '-lboost_thread', '-lboost_log', '-lboost_log_setup', '-lcryptopp', '-lssl', '-lcrypto', '-lsqlite3', '-lrt', '-lpthread', '-lboost_system', '-lboost_chrono', '-lboost_program_options', '-lboost_thread', '-lboost_log', '-lboost_log_setup', '-lrt', '-lresolv']</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b> -> task in '../bin/ndn-autoconfig' failed (exit status 1): </b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b><span class="m_-7822107077218426100Apple-tab-span" style="white-space:pre-wrap"></span>{task 139924923471440: cxxprogram main.cpp.4.o,base-dns.cpp.3.o,base.cpp.3.o,guess-from-identity-name.cpp.3.o,guess-from-search-domains.cpp.3.o,multicast-discovery.cpp.3.o,ndn-fch-discovery.cpp.3.o,city-hash.cpp.2.o,config-file.cpp.2.o,global-io.cpp.2.o,manager-base.cpp.2.o,network-interface-predicate.cpp.2.o,network-interface.cpp.2.o,network.cpp.2.o,privilege-helper.cpp.2.o,random.cpp.2.o,scheduler.cpp.2.o,logger-factory.cpp.2.o,logger.cpp.2.o
 -> ndn-autoconfig}</b></span></div>
<div style="margin:0px;line-height:normal;font-family:Menlo;color:rgb(195,55,32);background-color:rgba(255,255,255,0.8)">
<span style="font-variant-ligatures:no-common-ligatures"><b>['/usr/bin/g++', '-pthread', '-pthread', '-pthread', 'tools/ndn-autoconfig/main.cpp.4.o', 'tools/ndn-autoconfig/base-dns.cpp.3.o', 'tools/ndn-autoconfig/base.cpp.3.o', 'tools/ndn-autoconfig/guess-from-identity-name.cpp.3.o',
 'tools/ndn-autoconfig/guess-from-search-domains.cpp.3.o', 'tools/ndn-autoconfig/multicast-discovery.cpp.3.o', 'tools/ndn-autoconfig/ndn-fch-discovery.cpp.3.o', 'core/city-hash.cpp.2.o', 'core/config-file.cpp.2.o', 'core/global-io.cpp.2.o', 'core/manager-base.cpp.2.o',
 'core/network-interface-predicate.cpp.2.o', 'core/network-interface.cpp.2.o', 'core/network.cpp.2.o', 'core/privilege-helper.cpp.2.o', 'core/random.cpp.2.o', 'core/scheduler.cpp.2.o', 'core/logger-factory.cpp.2.o', 'core/logger.cpp.2.o', '-o', '/home/peter/NFD/build/bin/ndn-autoconfig',
 '-Wl,-Bstatic', '-L/usr/lib/x86_64-linux-gnu', '-Wl,-Bdynamic', '-L/usr/local/lib', '-L/usr/lib/x86_64-linux-gnu', '-lndn-cxx', '-lboost_system', '-lboost_filesystem', '-lboost_date_time', '-lboost_iostreams', '-lboost_regex', '-lboost_program_options', '-lboost_chrono',
 '-lboost_thread', '-lboost_log', '-lboost_log_setup', '-lcryptopp', '-lssl', '-lcrypto', '-lsqlite3', '-lrt', '-lpthread', '-lboost_system', '-lboost_chrono', '-lboost_program_options', '-lboost_thread', '-lboost_log', '-lboost_log_setup', '-lrt', '-lresolv']</b></span></div>
<div><span style="font-variant-ligatures:no-common-ligatures"><b><br>
</b></span></div>
<div>Must be something easy that I can’t spot quickly here…</div>
<div>(ndn-cxx 0.5.1 installed)</div>
<div><br>
<div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
Thanks, </div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
-- <br>
Peter Gusev</div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
<i><a href="mailto:peter@remap.ucla.edu" target="_blank">peter@remap.ucla.edu</a><br>
+1 213 5872748<br>
</i></div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<br>
</div>
<div style="font-variant-ligatures:normal;font-variant-caps:normal;font-variant-east-asian:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<i><font color="#929292">Research Scholar @ </font></i><a href="http://remap.ucla.edu/" target="_blank"><i>REMAP UCLA</i></a><i><font color="#929292"><br>
Video streaming/ICN networks/Creative Development</font></i></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
</div>
</div>
</div>

_______________________________________________<br>
Nfd-dev mailing list<br>
<a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
<a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
</blockquote></div>