<div dir="auto"><div dir="auto">Hi Rayhan</div><div dir="auto"><br></div><div dir="auto">This is most likely a breaking change in Boost libraries that previous version of ndn-cxx cannot handle.</div><div dir="auto">Given it's fixed in newer version of ndn-cxx, you should use the newer version.</div><div dir="auto"><br></div><div dir="auto">For Raspberry Pi OS, you can use prebuilt ndn-cxx published on <a href="https://nfd-nightly.ndn.today">https://nfd-nightly.ndn.today</a> , and don't have to build yourself.</div><div dir="auto"><br></div><div dir="auto">Yours, Junxiao</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jul 28, 2022, 07:34 Gias, Rayhan <<a href="mailto:rayhan.gias@hs-emden-leer.de">rayhan.gias@hs-emden-leer.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><p style="text-align:center"><font color="red"><strong>External Email</strong><br></font></p>
<div id="m_-1676706459271067472divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hello all,<br>
<br>
I am trying to build <span style="font-family:Calibri,Helvetica,sans-serif,Helvetica,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols;font-size:16px">
ndn-cxx-0.7.1 </span>from the source but facing issues. Current ndn-cxx-0.8.0 has no building issues. <br>
<br>
Here are the ./waf configure output on macOS 12.4:<br>
<br>
<span style="font-family:Consolas,Courier,monospace">$ ./waf configure --with-openssl=/usr/local/include/openssl@1.1/<br>
</span><br>
</p>
<div><span style="font-family:Consolas,Courier,monospace">Setting top to : /Users/tanimrayhan/Desktop/untitled folder/ndn-cxx-ndn-cxx-0.7.1</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Setting out to : /Users/tanimrayhan/Desktop/untitled folder/ndn-cxx-ndn-cxx-0.7.1/build</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Building static library : no</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Building shared library : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for 'clang++' (C++ compiler) : /usr/bin/clang++</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking C++ compiler version : 12.0.5</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking supported CXXFLAGS : -std=c++14 -isystem /usr/local/include -isystem /opt/local/include</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for std::to_string : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for program 'doxygen' : /usr/local/bin/doxygen</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for program 'tar' : /usr/bin/tar</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for program 'sphinx-build' : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for program 'sh' : /bin/sh</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for library atomic : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for library pthread : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for library rt : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for function getpass : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for netlink : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for framework CoreFoundation : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for framework Security : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for framework SystemConfiguration : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for framework Foundation : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for framework CoreWLAN : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for program 'pkg-config' : /usr/local/bin/pkg-config</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for 'sqlite3' : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for OpenSSL version : "OpenSSL 1.1.1q 5 Jul 2022"</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking if OpenSSL library works : yes</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for program 'dpkg-architecture' : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking boost includes : 1.79.0</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking boost libs : lib stacktrace_backtrace not found in /usr/local/lib</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking boost libs : boost_stacktrace_basic-mt</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for boost linkage : ok</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking boost libs : boost_system-mt boost_program_options-mt boost_chrono-mt boost_date_time-mt boost_filesystem-mt boost_thread-mt boost_log-mt boost_stacktrace_basic-mt</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking the flags needed to use pthreads : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking for boost linkage : ok</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking supported CXXFLAGS : -O2 -g -pedantic -Wall -Wextra -Wextra-semi -Wnon-virtual-dtor -Wno-unused-parameter -fcolor-diagnostics -Wundefined-func-template -Wno-unused-local-typedef</span></div>
<div><span style="font-family:Consolas,Courier,monospace">Checking supported LINKFLAGS : not found</span></div>
<div><span style="font-family:Consolas,Courier,monospace">'configure' finished successfully (10.973s)<br>
<br>
<br>
<span style="font-family:Arial,Helvetica,sans-serif">When trying to build it using "./waf", it throws the following error:<br>
</span><br>
<span style="font-family:Consolas,Courier,monospace">
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:25:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<1>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_1)>::type > { enum _vt { value = 1 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:100:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(1)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:26:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<2>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_2)>::type > { enum _vt { value = 2 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:101:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(2)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:27:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<3>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_3)>::type > { enum _vt { value = 3 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:102:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(3)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:28:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<4>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_4)>::type > { enum _vt { value = 4 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:103:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(4)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:29:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<5>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_5)>::type > { enum _vt { value = 5 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:104:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(5)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:30:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<6>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_6)>::type > { enum _vt { value = 6 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:105:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(6)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:31:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<7>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_7)>::type > { enum _vt { value = 7 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:106:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(7)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:32:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<8>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_8)>::type > { enum _vt { value = 8 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:107:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(8)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>In file included from <built-in>:1:</div>
<div>In file included from ./../ndn-cxx/impl/common-pch.hpp:44:</div>
<div>In file included from /usr/local/include/boost/bind/bind.hpp:31:</div>
<div>/usr/local/include/boost/bind/std_placeholders.hpp:33:19: error: redefinition of 'is_placeholder<std::__1::placeholders::__ph<9>>'</div>
<div>template<> struct is_placeholder< typename std::decay<decltype(std::placeholders::_9)>::type > { enum _vt { value = 9 }; };</div>
<div> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</div>
<div>../ndn-cxx/detail/common.hpp:108:1: note: previous definition is here</div>
<div>NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER(9)</div>
<div>^</div>
<div>../ndn-cxx/detail/common.hpp:94:10: note: expanded from macro 'NDN_CXX_SPECIALIZE_BOOST_IS_PLACEHOLDER_FOR_STD_PLACEHOLDER'</div>
<div> struct is_placeholder<std::remove_const_t<decltype(_##N)>> \</div>
<div> ^</div>
<div>9 errors generated.</div>
<div><br>
</div>
<div>Waf: Leaving directory `/Users/tanimrayhan/Desktop/untitled folder/ndn-cxx-ndn-cxx-0.7.1/build'</div>
<div>Build failed</div>
<div> -> task in 'ndn-cxx' failed with exit status 1 (run with -v to display more information)</div>
</span><br>
<br>
Can anyone please guide me to solve this issue? I also tried to build on the Raspberry Pi OS and got the same error.<br>
<br>
Regards,<br>
T M Rayhan Gias<br>
<br>
<br>
</span></div>
<br>
<p></p>
</div>
</div>
_______________________________________________<br>
Ndn-interest mailing list<br>
<a href="mailto:Ndn-interest@lists.cs.ucla.edu" target="_blank" rel="noreferrer">Ndn-interest@lists.cs.ucla.edu</a><br>
<a href="https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest" rel="noreferrer noreferrer" target="_blank">https://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest</a><br>
</blockquote></div>