[pkg-boost-devel] Bug#739908: Acknowledgement (libboost-iostreams1.54-dev: Missing symbol boost::iostreams::file_descriptor::seek(long long, std::_Ios_Seekdir))

Roger Leigh rleigh at codelibre.net
Sun Feb 23 19:54:41 UTC 2014


Minimal test case, taken from the schroot 1.6.4 autoconf checks:

-----------------------------------------------------------------------
#include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/stream.hpp>

int
main ()
{
  boost::iostreams::stream<boost::iostreams::file_descriptor> fdstream;
  return 0;
}
-----------------------------------------------------------------------

% g++ -o /tmp/test /tmp/test.cc -lboost_iostreams 
/tmp/ccYATZ4B.o: In function `std::fpos<__mbstate_t> boost::iostreams::detail::seek_device_impl<boost::iostreams::any_tag>::seek<boost::iostreams::file_descriptor>(boost::iostreams::file_descriptor&, long long, std::_Ios_Seekdir, std::_Ios_Openmode)':
test.cc:(.text._ZN5boost9iostreams6detail16seek_device_implINS0_7any_tagEE4seekINS0_15file_descriptorEEESt4fposI11__mbstate_tERT_xSt12_Ios_SeekdirSt13_Ios_Openmode[_ZN5boost9iostreams6detail16seek_device_implINS0_7any_tagEE4seekINS0_15file_descriptorEEESt4fposI11__mbstate_tERT_xSt12_Ios_SeekdirSt13_Ios_Openmode]+0x28): undefined reference to `boost::iostreams::file_descriptor::seek(long long, std::_Ios_Seekdir)'
collect2: error: ld returned 1 exit status


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800



More information about the pkg-boost-devel mailing list