I am using the boost serialization library version 1.3.4.
This compiles fine. However, when I link it into my code, I am getting the
following link errors:
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so:
undefined reference to
`boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive,
_Dinkum_std::basic_ostream<char, _Dinkum_std::char_traits<char> >
>::~basic_binary_oprimitive()'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so:
undefined reference to
`boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive,
_Dinkum_std::basic_ostream<char, _Dinkum_std::char_traits<char> >
>::basic_binary_oprimitive(_Dinkum_std::basic_ostream<char,
_Dinkum_std::char_traits<char> >&, bool)'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so:
undefined reference to
`boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive,
_Dinkum_std::basic_istream<char, _Dinkum_std::char_traits<char> >
>::load(_Dinkum_std::basic_string<char,
_Dinkum_std::char_traits<char>, _Dinkum_std::allocator<char>
>&)'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so:
undefined reference to
`boost::archive::basic_binary_oprimitive<boost::archive::binary_oarchive,
_Dinkum_std::basic_ostream<char, _Dinkum_std::char_traits<char> >
>::save(_Dinkum_std::basic_string<char,
_Dinkum_std::char_traits<char>, _Dinkum_std::allocator<char> >
const&)'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so:
undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive,
_Dinkum_std::basic_istream<char, _Dinkum_std::char_traits<char> >
>::~basic_binary_iprimitive()'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so:
undefined reference to `boost::archive::basic_binary_iprimitive<boost::archive::binary_iarchive,
_Dinkum_std::basic_istream<char, _Dinkum_std::char_traits<char> >
>::basic_binary_iprimitive(_Dinkum_std::basic_istream<char,
_Dinkum_std::char_traits<char> >&, bool)'
I am not seeing these using previous versions of the
compiler.
Ed