[pkg-boost-devel] Bug#653441: error: 'epoll_create1' was not declared in this scope
Mathieu Malaterre
mathieu.malaterre at gmail.com
Wed Dec 28 10:35:53 UTC 2011
Package: libboost1.48-dev
Version: 1.48.0-2
Severity: normal
hi,
flann fails to build 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
It would be nice if header file /usr/include/boost/asio/detail/impl/epoll_reactor.ipp was fixed
Thanks
-- System Information:
Debian Release: 6.0.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
More information about the pkg-boost-devel
mailing list