<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>Hi Davide,</div>
<div><br>
</div>
<div>I installed Xcode 8.2.1. (Now, waf configure says “Checking C++ compiler version: 8.0.0”.)  I get the following error building NFD. It’s confusing to me that the linker can’t find MIN_MTU because it is defined as “static constexpr”. It should be compiled
 in, right? Why does the linker need to find it?</div>
<div><br>
</div>
<div>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">160/160] Linking </span>
<span style="font-variant-ligatures: no-common-ligatures; color: #afad24">build/bin/nfd</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">Undefined symbols for architecture x86_64:</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">  "nfd::face::Transport::MIN_MTU", referenced from:</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">      nfd::face::UdpFactory::createFace(nfd::face::ProtocolFactory::CreateFaceRequest const&, std::__1::function<void (std::__1::shared_ptr<nfd::face::Face> const&)> const&, std::__1::function<void (unsigned
 int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) in udp-factory.cpp.3.o</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">      nfd::face::EthernetFactory::createFace(nfd::face::ProtocolFactory::CreateFaceRequest const&, std::__1::function<void (std::__1::shared_ptr<nfd::face::Face> const&)> const&, std::__1::function<void
 (unsigned int, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)> const&) in ethernet-factory.cpp.3.o</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">ld: symbol(s) not found for architecture x86_64</span></p>
<p style="margin: 0px; font-size: 12px; line-height: normal; font-family: Menlo;">
<span style="font-variant-ligatures: no-common-ligatures">clang: error: linker command failed with exit code 1 (use -v to see invocation)</span></p>
</div>
<div><span style="font-variant-ligatures: no-common-ligatures"><br>
</span></div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Davide Pesavento <<a href="mailto:davidepesa@gmail.com">davidepesa@gmail.com</a>><br>
<span style="font-weight:bold">Date: </span>Friday, September 7, 2018 at 8:37:00<br>
<span style="font-weight:bold">To: </span>Jeff Thompson <<a href="mailto:jefft0@remap.ucla.edu">jefft0@remap.ucla.edu</a>><br>
<span style="font-weight:bold">Cc: </span>nfd-dev <<a href="mailto:nfd-dev@lists.cs.ucla.edu">nfd-dev@lists.cs.ucla.edu</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [Nfd-dev] Error building on macOS 10.11<br>
</div>
<div><br>
</div>
<div>
<div>Yes, macOS 10.11.5 can run Xcode up to version 8.2.1
<div><br>
</div>
<div>Davide<br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Fri, Sep 7, 2018, 11:05 AM Thompson, Jeff <<a href="mailto:jefft0@remap.ucla.edu">jefft0@remap.ucla.edu</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi Davide,<br>
<br>
Version 7.2. Should version 7.3 be available for macOS 10.11?<br>
<br>
- Jeff T<br>
<br>
On 2018/9/7, 7:15:47, "Davide Pesavento" <<a href="mailto:davidepesa@gmail.com" target="_blank">davidepesa@gmail.com</a>> wrote:<br>
<br>
>Hi Jeff,<br>
><br>
>What version of Xcode are you using? 7.3 and 8 both work fine for me<br>
>on macOS 10.11. I don't think we support anything below 7.3, and we<br>
>will probably be raising the minimum to 8 once Xcode 10 is released.<br>
><br>
>Davide<br>
><br>
>On Fri, Sep 7, 2018 at 9:07 AM Thompson, Jeff <<a href="mailto:jefft0@remap.ucla.edu" target="_blank">jefft0@remap.ucla.edu</a>><br>
>wrote:<br>
>><br>
>> Š and if I check out ndn-cxx-0.6.2 and NFD-0.6.2, those build OK.<br>
>><br>
>> From: Jeff Thompson <<a href="mailto:jefft0@remap.ucla.edu" target="_blank">jefft0@remap.ucla.edu</a>><br>
>> Date: Friday, September 7, 2018 at 6:05:00<br>
>> To: nfd-dev <<a href="mailto:nfd-dev@lists.cs.ucla.edu" target="_blank">nfd-dev@lists.cs.ucla.edu</a>><br>
>> Subject: Error building on macOS 10.11<br>
>><br>
>> Hi NFD devs,<br>
>><br>
>> I can build the latest ndn-cxx and NFD on macOS 10.12 and 10.13. But<br>
>>when I build on macOS 10.11 I get the following linker error when<br>
>>building NFD. Any ideas? (In all cases, I¹m using the latest homebrew<br>
>>Boost 1.67.)<br>
>><br>
>> Thanks,<br>
>> - Jeff T<br>
>><br>
>> [156/159] Linking build/bin/nfd<br>
>> Undefined symbols for architecture x86_64:<br>
>>   "ndn::util::scheduler::EventId::EventId(ndn::util::scheduler::EventId<br>
>>const&)", referenced from:<br>
>>       <br>
>>nfd::face::TcpChannel::connect(boost::asio::ip::basic_endpoint<boost::asi<br>
>>o::ip::tcp> const&, nfd::face::FaceParams const&,<br>
>>std::__1::function<void (std::__1::shared_ptr<nfd::face::Face> const&)><br>
>>const&, std::__1::function<void (unsigned int,<br>
>>std::__1::basic_string<char, std::__1::char_traits<char>,<br>
>>std::__1::allocator<char> > const&)> const&,<br>
>>boost::chrono::duration<long long, boost::ratio<1l, 1000000000l> >) in<br>
>>tcp-channel.cpp.3.o<br>
>>   "nfd::face::FaceParams::FaceParams(nfd::face::FaceParams const&)",<br>
>>referenced from:<br>
>>       <br>
>>nfd::face::TcpChannel::connect(boost::asio::ip::basic_endpoint<boost::asi<br>
>>o::ip::tcp> const&, nfd::face::FaceParams const&,<br>
>>std::__1::function<void (std::__1::shared_ptr<nfd::face::Face> const&)><br>
>>const&, std::__1::function<void (unsigned int,<br>
>>std::__1::basic_string<char, std::__1::char_traits<char>,<br>
>>std::__1::allocator<char> > const&)> const&,<br>
>>boost::chrono::duration<long long, boost::ratio<1l, 1000000000l> >) in<br>
>>tcp-channel.cpp.3.o<br>
>>       <br>
>>boost::asio::detail::binder1<nfd::face::TcpChannel::connect(boost::asio::<br>
>>ip::basic_endpoint<boost::asio::ip::tcp> const&, nfd::face::FaceParams<br>
>>const&, std::__1::function<void (std::__1::shared_ptr<nfd::face::Face><br>
>>const&)> const&, std::__1::function<void (unsigned int,<br>
>>std::__1::basic_string<char, std::__1::char_traits<char>,<br>
>>std::__1::allocator<char> > const&)> const&,<br>
>>boost::chrono::duration<long long, boost::ratio<1l, 1000000000l><br>
>>>)::$_3, <br>
>>>boost::system::error_code>::binder1(boost::asio::detail::binder1<nfd::fa<br>
>>>ce::TcpChannel::connect(boost::asio::ip::basic_endpoint<boost::asio::ip:<br>
>>>:tcp> const&, nfd::face::FaceParams const&, std::__1::function<void<br>
>>>(std::__1::shared_ptr<nfd::face::Face> const&)> const&,<br>
>>>std::__1::function<void (unsigned int, std::__1::basic_string<char,<br>
>>>std::__1::char_traits<char>, std::__1::allocator<char> > const&)><br>
>>>const&, boost::chrono::duration<long long, boost::ratio<1l,<br>
>>>1000000000l> >)::$_3, boost::system::error_code>&&) in<br>
>>>tcp-channel.cpp.3.o<br>
>>       <br>
>>boost::asio::detail::reactive_socket_connect_op<nfd::face::TcpChannel::co<br>
>>nnect(boost::asio::ip::basic_endpoint<boost::asio::ip::tcp> const&,<br>
>>nfd::face::FaceParams const&, std::__1::function<void<br>
>>(std::__1::shared_ptr<nfd::face::Face> const&)> const&,<br>
>>std::__1::function<void (unsigned int, std::__1::basic_string<char,<br>
>>std::__1::char_traits<char>, std::__1::allocator<char> > const&)><br>
>>const&, boost::chrono::duration<long long, boost::ratio<1l, 1000000000l><br>
>>>)::$_3>::do_complete(void*, boost::asio::detail::scheduler_operation*,<br>
>>>boost::system::error_code const&, unsigned long) in tcp-channel.cpp.3.o<br>
>> ld: symbol(s) not found for architecture x86_64<br>
>> clang: error: linker command failed with exit code 1 (use -v to see<br>
>>invocation)<br>
>><br>
>> _______________________________________________<br>
>> Nfd-dev mailing list<br>
>> <a href="mailto:Nfd-dev@lists.cs.ucla.edu" target="_blank">Nfd-dev@lists.cs.ucla.edu</a><br>
>> <a href="http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev" rel="noreferrer" target="_blank">
http://www.lists.cs.ucla.edu/mailman/listinfo/nfd-dev</a><br>
<br>
</blockquote>
</div>
</div>
</div>
</div>
</span>
</body>
</html>