Bug#653287: flann: undefined reference to boost::mpi::communicator::operator ompi_communicator_t*() const
Mathieu Malaterre
mathieu.malaterre at gmail.com
Mon Dec 26 13:13:08 UTC 2011
Package: flann
Version: 1.7.0-3
Severity: important
flann fails to build on armel:
cd /build/buildd-flann_1.7.0-3-armel-ckKCVm/flann-1.7.0/obj-arm-linux-gnueabi/src/cpp && /usr/bin/cmake -E cmake_link_script CMakeFiles/flann_mpi_server.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -O2 -g -Wl,-z,relro CMakeFiles/flann_mpi_server.dir/flann/mpi/flann_mpi_server.cpp.o -o ../../bin/flann_mpi_server -rdynamic ../../lib/libflann_cpp.so.1.7.0 -lhdf5 /usr/lib/openmpi/lib/libmpi_cxx.so /usr/lib/openmpi/lib/libmpi.so /usr/lib/openmpi/lib/libopen-rte.so /usr/lib/openmpi/lib/libopen-pal.so -ldl -lnsl -lutil -lm -ldl -lboost_mpi-mt -lboost_serialization-mt -lboost_system-mt -lboost_thread-mt -lpthread -Wl,-whole-archive ../../lib/libflann_cpp_s.a -Wl,-no-whole-archive -lnsl -lutil -lm -lboost_mpi-mt -lboost_serialization-mt -lboost_system-mt -lboost_thread-mt -lpthread -Wl,-rpath,/build/buildd-flann_1.7.0-3-armel-ckKCVm/flann-1.7.0/obj-arm-linux-gnueabi/lib:/usr/lib/openmpi/lib:
CMakeFiles/flann_mpi_server.dir/flann/mpi/flann_mpi_server.cpp.o: In function `void boost::mpi::detail::broadcast_impl<flann::Request<float> >(boost::mpi::communicator const&, flann::Request<float>*, int, int, mpl_::bool_<false>)':
/usr/include/boost/mpi/collectives/broadcast.hpp:117: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
/usr/include/boost/mpi/collectives/broadcast.hpp:112: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
CMakeFiles/flann_mpi_server.dir/flann/mpi/flann_mpi_server.cpp.o: In function `void boost::mpi::detail::tree_reduce_impl<flann::mpi::SearchResults<float>, flann::mpi::ResultsMerger<float> >(boost::mpi::communicator const&, flann::mpi::SearchResults<float> const*, int, flann::mpi::SearchResults<float>*, flann::mpi::ResultsMerger<float>, int, mpl_::bool_<true>)':
/usr/include/boost/mpi/collectives/reduce.hpp:133: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
/usr/include/boost/mpi/collectives/reduce.hpp:134: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
/usr/include/boost/mpi/collectives/reduce.hpp:134: undefined reference to `boost::mpi::detail::packed_archive_recv(ompi_communicator_t*, int, int, boost::mpi::packed_iarchive&, ompi_status_public_t&)'
/usr/include/boost/mpi/collectives/reduce.hpp:145: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
/usr/include/boost/mpi/collectives/reduce.hpp:148: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
/usr/include/boost/mpi/collectives/reduce.hpp:148: undefined reference to `boost::mpi::detail::packed_archive_send(ompi_communicator_t*, int, int, boost::mpi::packed_oarchive const&)'
CMakeFiles/flann_mpi_server.dir/flann/mpi/flann_mpi_server.cpp.o: In function `all_gather_impl<int>':
/usr/include/boost/mpi/collectives/all_gather.hpp:31: undefined reference to `boost::mpi::communicator::operator ompi_communicator_t*() const'
collect2: ld returned 1 exit status
make[3]: *** [bin/flann_mpi_server] Error 1
make[3]: Leaving directory `/build/buildd-flann_1.7.0-3-armel-ckKCVm/flann-1.7.0/obj-arm-linux-gnueabi'
make[2]: *** [src/cpp/CMakeFiles/flann_mpi_server.dir/all] Error 2
make[1]: *** [all] Error 2
dh_auto_build: make -j1 returned exit code 2
-- 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 debian-science-maintainers
mailing list