Project

General

Profile

Bug #4639

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

Added by Eric Newberry over 2 years ago. Updated 9 months 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.

#1

Updated by Eric Newberry over 2 years ago

  • Tracker changed from Task to Bug
#2

Updated by Eric Newberry over 2 years ago

  • Status changed from Code review to Closed
#3

Updated by Davide Pesavento 9 months ago

  • Tags set to macOS

Also available in: Atom PDF