Boost logo

Boost Users :

Subject: Re: [Boost-users] boost serialisation 1.44 /linux /gcc 4.2.1 compilation problems
From: Bryce Lelbach aka wash (admin_at_[hidden])
Date: 2010-09-20 07:19:03


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/20/2010 06:05 AM, avibahra wrote:
> Having problems with boost 1.44 and serialisation on Linux, gcc 4.2.1
> I am migrating from boost 1.43 to boost 1.44
> and get compiler errors of the form:
>
> In file included from ACore/src/TimeSeries.hpp:13,
> from ACore/test/TestTimeSeries.cpp:16:
> /var/tmp/ma0/boost/boost_1_44_0/boost/date_time/posix_time/time_serialize.hpp:
> In function ‘void boost::serialization::save(Archive&, const
> boost::posix_time::time_duration&, unsigned int)’:
> /var/tmp/ma0/boost/boost_1_44_0/boost/date_time/posix_time/time_serialize.hpp:42:
> error: there are no arguments to ‘make_nvp’ that depend on a template
> parameter, so a declaration of ‘make_nvp’ must be available
>
> This is surprising as boost 1.44 release notes makes no mention of any
> changes to boost serialisation ?
>
> Can anyone help ?
>

Looks like a problem with date_time, not serialization. I know 1.44 builds on
GNU/Linux GCC 4.2.1 for me.

Can you make sure you have a file at
/var/tmp/ma0/boost/boost_1_44_0/boost/serialization/nvp.hpp? If you do have it,
could you show us?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyXQycACgkQO/fqqIuE2t6nWQCfeV8r4mfkEjLtyDe2tJFf6Lvu
zcIAoO26biJoic96xc9x2z7fNdH7aQNc
=1u5r
-----END PGP SIGNATURE-----


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net