[Serialization] Getting link errors in gcc 4.1.2 with boost serialization library 1.3.4
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
::~basic_binary_oprimitive()'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so: undefined reference to
`boost::archive::basic_binary_oprimitive
::basic_binary_oprimitive(_Dinkum_std::basic_ostream
&, bool)'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so: undefined reference to
`boost::archive::basic_binary_iprimitive
::load(_Dinkum_std::basic_string
&)'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so: undefined reference to
`boost::archive::basic_binary_oprimitive
::save(_Dinkum_std::basic_string
const&)'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so: undefined reference to
`boost::archive::basic_binary_iprimitive
::~basic_binary_iprimitive()'
/home1/ken/main_gcc41/bld/sdpm/linobj/libsdpm.so: undefined reference to
`boost::archive::basic_binary_iprimitive
::basic_binary_iprimitive(_Dinkum_std::basic_istream
&, 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.
participants (1)
-
Reusser, Edward