[Nfd-dev] repo-ng compilation problem

Nick Gordon nmgordon at memphis.edu
Wed Oct 18 14:00:20 PDT 2017


Peter,

It looks like the last commit that has only v1 security code is 42290b2b12b06ccbb028f04367f016f924f213e3, but I haven't done any work with 
it under v1. Probably that commit will work with any pre-v2 version of NFD and ndn-cxx, but I can't be sure.

-Nick


On 10/18/17 15:38, Gusev, Peter wrote:
> Thanks for the replies.
>
> Is there a commit I can rollback to, in order to use 0.5.1 version of the library and NFD?
> I’d rather don’t mess with our existing setup by updating to the latest version, as it may cause troubles with other software using it.
>
> 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/
>
>> On Oct 18, 2017, at 12:06 PM, Nick Gordon <nmgordon at memphis.edu <mailto:nmgordon at memphis.edu>> wrote:
>>
>> Peter,
>>
>> I agree with Eric, I think that's the problem. I was recently doing some work on repo-ng, and I had to compile against newer versions of 
>> ndn-cxx. In order to clear everything out, I removed all the includes that ndn-cxx installs (for me they were in 
>> /usr/local/include/ndn-cxx) and then compiled ndn-cxx again. I've had issues of the old headers still conflicting in some ways if you 
>> don't delete all the headers from the v1 refs of ndn-cxx.
>>
>> -Nick
>>
>>
>> On 10/18/17 13:50, Eric Newberry wrote:
>>> 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 <mailto: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 <mailto:peter at remap.ucla.edu>
>>>     +1 213 5872748 <tel:%28213%29%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 <mailto:Nfd-dev at lists.cs.ucla.edu>
>>>     http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev <http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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/e81e9e1e/attachment-0001.html>


More information about the Nfd-dev mailing list