[Nfd-dev] repo-ng compilation problem

Gusev, Peter peter at remap.ucla.edu
Wed Oct 18 11:41:34 PDT 2017


hi there,

trying to build repo-ng, have NFD 0.5.1 and ndn-cxx 0.5.1 installed:

../src/repo.cpp: In constructor ‘repo::Repo::Repo(boost::asio::io_service&, const repo::RepoConfig&)’:
../src/repo.cpp:126:53: error: no matching function for call to ‘repo::WriteHandle::WriteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::Scheduler&, ndn::security::ValidatorConfig&)’
   , m_tcpBulkInsertHandle(ioService, m_storageHandle)
                                                     ^
In file included from ../src/repo.hpp:28:0,
                 from ../src/repo.cpp:20:
../src/handles/write-handle.hpp:70:3: note: candidate: repo::WriteHandle::WriteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::Scheduler&, ndn::security::v2::Validator&)
   WriteHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,
   ^
../src/handles/write-handle.hpp:70:3: note:   no known conversion for argument 5 from ‘ndn::security::ValidatorConfig’ to ‘ndn::security::v2::Validator&’
../src/repo.cpp:126:53: error: no matching function for call to ‘repo::WatchHandle::WatchHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::Scheduler&, ndn::security::ValidatorConfig&)’
   , m_tcpBulkInsertHandle(ioService, m_storageHandle)
                                                     ^
In file included from ../src/repo.hpp:29:0,
                 from ../src/repo.cpp:20:
../src/handles/watch-handle.hpp:57:3: note: candidate: repo::WatchHandle::WatchHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::Scheduler&, ndn::security::v2::Validator&)
   WatchHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,
   ^
../src/handles/watch-handle.hpp:57:3: note:   no known conversion for argument 5 from ‘ndn::security::ValidatorConfig’ to ‘ndn::security::v2::Validator&’
../src/repo.cpp:126:53: error: no matching function for call to ‘repo::DeleteHandle::DeleteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::Scheduler&, ndn::security::ValidatorConfig&)’
   , m_tcpBulkInsertHandle(ioService, m_storageHandle)
                                                     ^
In file included from ../src/repo.hpp:30:0,
                 from ../src/repo.cpp:20:
../src/handles/delete-handle.hpp:42:3: note: candidate: repo::DeleteHandle::DeleteHandle(ndn::Face&, repo::RepoStorage&, ndn::security::v2::KeyChain&, ndn::util::scheduler::Scheduler&, ndn::security::v2::Validator&)
   DeleteHandle(Face& face, RepoStorage& storageHandle, KeyChain& keyChain,
   ^
../src/handles/delete-handle.hpp:42:3: note:   no known conversion for argument 5 from ‘ndn::security::ValidatorConfig’ to ‘ndn::security::v2::Validator&’

Waf: Leaving directory `/home/peter/repo-ng/build'
Build failed
 -> task in 'ndn-repo-objects' failed (exit status 1):
{task 140519176988496: cxx repo.cpp -> repo.cpp.1.o}
['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wnon-virtual-dtor', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-pthread', '-pthread', '-I/home/peter/repo-ng/build/src', '-I/home/peter/repo-ng/src', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_NDN_CXX=1', '-DHAVE_SQLITE3=1', '../src/repo.cpp', '-c', '-o', '/home/peter/repo-ng/build/src/repo.cpp.1.o']

Do I need to use older versions of the library/NFD?

Thanks,

--
Peter Gusev

peter at remap.ucla.edu<mailto:peter at remap.ucla.edu>
+1 213 5872748

Research Scholar @ REMAP UCLA<http://remap.ucla.edu/>
Video streaming/ICN networks/Creative Development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171018/79a0d43f/attachment-0001.html>


More information about the Nfd-dev mailing list