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


The information contained in or attached to this email may be subject to the Export Administration Regulations (EAR), administered by the U.S. Department of Commerce, or the International Traffic in Arms Regulations (ITAR), administered by the U.S. Department of State, and may require an export license from the Commerce or State Department prior to its export. An export can include a release or disclosure to a foreign national inside or outside the United States. Include this notice with any reproduced portion of this information.