Boost C++ Libraries: Ticket #11559: Boost.Log 1.59 does not compile with Android NDK https://svn.boost.org/trac10/ticket/11559 <p> Seems like include/boost/log/detail/event.hpp will always result in BOOST_LOG_EVENT_USE_FUTEX being defined on newer linux, including Android, but Android does not support the sys_futex sys call: </p> <pre class="wiki">libs/log/src/event.cpp:93:27: error: 'SYS_futex' was not declared in this scope if (::syscall(SYS_futex, &amp;m_state.storage(), BOOST_LOG_FUTEX_WAIT, 0, NULL, NULL, 0) == 0) ^ In file included from ./boost/config.hpp:39:0, from ./boost/log/detail/config.hpp:27, from libs/log/src/event.cpp:16: libs/log/src/event.cpp: In member function 'void boost::log::v2s_mt_posix::aux::futex_based_event::set_signalled()': libs/log/src/event.cpp:121:38: error: 'SYS_futex' was not declared in this scope if (BOOST_UNLIKELY(::syscall(SYS_futex, &amp;m_state.storage(), BOOST_LOG_FUTEX_WAKE, 1, NULL, NULL, 0) &lt; 0)) </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11559 Trac 1.4.3 Andrey Semashev Sun, 23 Aug 2015 11:07:26 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/11559#comment:1 https://svn.boost.org/trac10/ticket/11559#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> Fixed in <a class="ext-link" href="https://github.com/boostorg/log/commit/e8c6688fcd61a38b3943298411e500f1e3edd1db"><span class="icon">​</span>https://github.com/boostorg/log/commit/e8c6688fcd61a38b3943298411e500f1e3edd1db</a>. </p> Ticket