
I was hoping to avoid upgrading, but in case anyone else ever looks at this,
here is what I did to get it working.
My original code was for the serialization library included with boost
1.36.0 (I think). It continued working in Windows with a few minor tweaks
(through several boost upgrades) until I tried to build in linux. As it
turns out, somewhere along the line the call to serialize a base object from
a derived object changed from this:
template<class Archive>
void serialize(Archive & ar, const unsigned int version)
{
ar & base_object
I would recommend you look at the1.42 documentation. This resolves a lot of the confusion about the usage of serialization in DLLS (aka shared libraries). The real problem is that when I made the library I didn't really consider all the implications of spreading the code accross DLLS and when I did, some many issues came up it took a while to get it right. I think it's correct now. One more iteration and it will be more bullet proof.
Robert Ramey
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- View this message in context: http://old.nabble.com/undefined-reference-to-base_object-tp28417529p28436304... Sent from the Boost - Users mailing list archive at Nabble.com.