[Boost-bugs] [Boost C++ Libraries] #6326: epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in this scope

Subject: [Boost-bugs] [Boost C++ Libraries] #6326: epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in this scope
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-28 10:38:45


#6326: epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in this
scope
-----------------------------------------+----------------------------------
 Reporter: mathieu.malaterre@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.48.0
 Severity: Problem | Keywords:
-----------------------------------------+----------------------------------
 I cannot build flann on debian/alpha it fails with:

 [ 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 && /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,
                  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:
 /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[3]: ***
 [src/cpp/CMakeFiles/flann_mpi_client.dir/flann/mpi/flann_mpi_client.cpp.o]
 Error 1

 See full logs at:
 http://buildd.debian-
 ports.org/status/fetch.php?pkg=flann&arch=alpha&ver=1.7.0-4&stamp=1324918794

 Thanks

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6326>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC