Boost C++ Libraries: Ticket #6326: epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in this scope https://svn.boost.org/trac10/ticket/6326 <p> I cannot build flann on debian/alpha it fails with: </p> <p> [ 55%] Building CXX object src/cpp/CMakeFiles/flann_mpi_client.dir/flann/mpi/flann_mpi_client.cpp.o cd /build/buildd-flann_1.7.0-4-alpha-gzklli/flann-1.7.0/obj-alpha-linux-gnu/src/cpp &amp;&amp; /usr/bin/c++ -D_FLANN_VERSION=1.7.0 -DHAVE_MPI -g -O2 -Wformat -Wformat-security -Werror=format-security -O2 -g -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/build/buildd-flann_1.7.0-4-alpha-gzklli/flann-1.7.0/src/cpp -Wall -o CMakeFiles/flann_mpi_client.dir/flann/mpi/flann_mpi_client.cpp.o -c /build/buildd-flann_1.7.0-4-alpha-gzklli/flann-1.7.0/src/cpp/flann/mpi/flann_mpi_client.cpp In file included from /usr/include/boost/asio/detail/epoll_reactor.hpp:242:0, </p> <blockquote> <p> from /usr/include/boost/asio/detail/reactor.hpp:21, from /usr/include/boost/asio/detail/impl/task_io_service.ipp:24, from /usr/include/boost/asio/detail/task_io_service.hpp:199, from /usr/include/boost/asio/impl/io_service.hpp:71, from /usr/include/boost/asio/io_service.hpp:767, from /usr/include/boost/asio/basic_io_object.hpp:19, from /usr/include/boost/asio/basic_socket.hpp:19, from /usr/include/boost/asio/basic_datagram_socket.hpp:20, from /usr/include/boost/asio.hpp:20, from /build/buildd-flann_1.7.0-4-alpha-gzklli/flann-1.7.0/src/cpp/flann/mpi/client.h:34, from /build/buildd-flann_1.7.0-4-alpha-gzklli/flann-1.7.0/src/cpp/flann/mpi/flann_mpi_client.cpp:8: </p> </blockquote> <p> /usr/include/boost/asio/detail/impl/epoll_reactor.ipp: In static member function 'static int boost::asio::detail::epoll_reactor::do_epoll_create()': /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in this scope make<a class="changeset" href="https://svn.boost.org/trac10/changeset/3" title="Tweak disclaimer text">[3]</a>: <strong>* [src/cpp/CMakeFiles/flann_mpi_client.dir/flann/mpi/flann_mpi_client.cpp.o] Error 1 </strong></p> <p> See full logs at: <a class="ext-link" href="http://buildd.debian-ports.org/status/fetch.php?pkg=flann&amp;arch=alpha&amp;ver=1.7.0-4&amp;stamp=1324918794"><span class="icon">​</span>http://buildd.debian-ports.org/status/fetch.php?pkg=flann&amp;arch=alpha&amp;ver=1.7.0-4&amp;stamp=1324918794</a> </p> <p> Thanks </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6326 Trac 1.4.3 smr@… Thu, 05 Jan 2012 00:13:42 GMT component changed; cc, owner set https://svn.boost.org/trac10/ticket/6326#comment:1 https://svn.boost.org/trac10/ticket/6326#comment:1 <ul> <li><strong>cc</strong> <span class="trac-author">smr@…</span> added </li> <li><strong>owner</strong> set to <span class="trac-author">chris_kohlhoff</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">asio</span> </li> </ul> Ticket smr@… Thu, 05 Jan 2012 06:38:20 GMT <link>https://svn.boost.org/trac10/ticket/6326#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6326#comment:2</guid> <description> <p> This looks like a bug in Alpha's sys/epoll.h header; see <a class="ext-link" href="http://bugs.debian.org/653441"><span class="icon">​</span>http://bugs.debian.org/653441</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Wed, 11 Jan 2012 23:00:57 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6326#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6326#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/76419" title="Detail: Disable container forward declarations for recent versions of ...">[76419]</a>) Detail: Disable container forward declarations for recent versions of libstdc++, refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6326" title="#6326: Bugs: epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in ... (closed: invalid)">#6326</a>. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Daniel James</dc:creator> <pubDate>Wed, 11 Jan 2012 23:02:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6326#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6326#comment:4</guid> <description> <p> Sorry! I got the ticket number wrong. Please ignore that changeset. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 12 Jan 2012 14:42:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6326#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6326#comment:5</guid> <description> <p> Not an issue in boost, but in glibc: </p> <p> <a class="ext-link" href="http://www.cygwin.com/ml/libc-ports/2011-09/msg00017.html"><span class="icon">​</span>http://www.cygwin.com/ml/libc-ports/2011-09/msg00017.html</a> </p> <p> Someone can close this. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>chris_kohlhoff</dc:creator> <pubDate>Tue, 29 May 2012 01:25:38 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6326#comment:6 https://svn.boost.org/trac10/ticket/6326#comment:6 <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">invalid</span> </li> </ul> Ticket