Opened 11 years ago

Closed 10 years ago

#6326 closed Bugs (invalid)

epoll_reactor.ipp:468:39: error: 'epoll_create1' was not declared in this scope

Reported by: mathieu.malaterre@… Owned by: chris_kohlhoff
Milestone: To Be Determined Component: asio
Version: Boost 1.48.0 Severity: Problem
Keywords: Cc: smr@…

Description

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

Change History (6)

comment:1 by smr@…, 11 years ago

Cc: smr@… added
Component: Noneasio
Owner: set to chris_kohlhoff

comment:2 by smr@…, 11 years ago

This looks like a bug in Alpha's sys/epoll.h header; see http://bugs.debian.org/653441

comment:3 by Daniel James, 11 years ago

(In [76419]) Detail: Disable container forward declarations for recent versions of libstdc++, refs #6326.

comment:4 by Daniel James, 11 years ago

Sorry! I got the ticket number wrong. Please ignore that changeset.

comment:5 by anonymous, 11 years ago

Not an issue in boost, but in glibc:

http://www.cygwin.com/ml/libc-ports/2011-09/msg00017.html

Someone can close this.

comment:6 by chris_kohlhoff, 10 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.