[Nfd-dev] repo-ng compilation problem

Eric Newberry enewberry at email.arizona.edu
Wed Oct 18 11:50:07 PDT 2017


Hi Peter,

Have you attempted compiling it against release 0.6.0? It looks like
repo-ng is using version 2 of the security API, which I believe was
released with 0.6.0.

Eric

On Oct 18, 2017 11:42 AM, "Gusev, Peter" <peter at remap.ucla.edu> wrote:

> 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 <peter at remap.ucla.edu> +1 213 5872748
> <(213)%20587-2748> *
>
> *Research Scholar @ **REMAP UCLA* <http://remap.ucla.edu/>
> * Video streaming/ICN networks/Creative Development*
>
>
> _______________________________________________
> Nfd-dev mailing list
> Nfd-dev at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20171018/5a05990d/attachment.html>


More information about the Nfd-dev mailing list