Project

General

Profile

Actions

Bug #4639

closed

NFD fails to compile against latest ndn-cxx on Xcode 8 and earlier

Added by Eric Newberry over 6 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Management
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Tags:

Description

NFD fails to compile against the latest Git HEAD version of ndn-cxx when using Xcode 8 and earlier, producing the following error message:

Undefined symbols for architecture x86_64:
  "ndn::nfd::CommandOptions::~CommandOptions()", referenced from:
      nfd::rib::FibUpdater::sendAddNextHopUpdate(nfd::rib::FibUpdate const&, std::__1::function<void (std::__1::list<nfd::rib::RibUpdate, std::__1::allocator<nfd::rib::RibUpdate> >)> const&, std::__1::function<void (unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&, unsigned int) in fib-updater.cpp.4.o
      nfd::rib::FibUpdater::sendRemoveNextHopUpdate(nfd::rib::FibUpdate const&, std::__1::function<void (std::__1::list<nfd::rib::RibUpdate, std::__1::allocator<nfd::rib::RibUpdate> >)> const&, std::__1::function<void (unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&, unsigned int) in fib-updater.cpp.4.o
ld: symbol(s) not found for architecture x86_64

It was discovered that this can be fixed by reverting a recent change to ndn-cxx that changed the default value of an argument in a constructor from CommandOptions() to {}.

This issue is marked urgent because it is preventing any NFD patchsets from compiling on Jenkins.

Actions

Also available in: Atom PDF