
Thanks Daniel, you were spot on: I did have a compiled copy of boost 1.29 in there. Now to the bad news: demo.cpp compiles but does not link with what looks like a thousand symbols missing (archives and serialization stuff). Seems like i'm missing a library, but which one? and is it supposed to come with the debian package? (I do have all the include files.) I looked but couldn't find a dedicated package for just the serialization library. There're three mentions of "libboost_serialization" in the archive of this mailing list but not a single word in the current documentation (website or local). Is there some chunk of documentation I'm thoroughly missing? Thanks again, alex Date: Sun, 17 Apr 2005 09:47:36 +0100 From: Daniel James <daniel@calamity.org.uk> Subject: [Boost-users] Re: simple example with boost/serialization? To: boost-users@lists.boost.org Message-ID: <d3t7k2$dbn$1@sea.gmane.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Alex Makarenko wrote:
I am trying to use the boost serialization library but can't compile even the simplest demo. [snip] In file included from /usr/local/include/boost/config.hpp:35, from /usr/include/boost/serialization/utility.hpp:21, from demo.cpp:16: /usr/local/include/boost/config/compiler/gcc.hpp:57:7: warning: #warning "Unknown compiler version - please run the configure tests and report the results"
This looks wrong, boost 1.32 should know about gcc-3.3. Also, boost/config.hpp is in /usr/local/include, but boost/serialization/utility.hpp is in /usr/include. My guess is that you've got an old version of boost in /usr/local/include, and the pre-built debian packages in /usr/include There's a bug in the debian packages which causes some files to be lost during an upgrade to the new version, it looks like that has happened here. If I'm right then you should remove the boost packages, remove the old version from /usr/local and reinstall the boost packages (the bug only affects upgrades, not installs). Daniel