Compilation Issues with 1.34.1 on gcc 4.3.1 / OpenSUSE 11

Hi there, I recently posted a problem with the compilation of Boost 1.35 with gcc 4.3.1, on an OpenSUSE 11 box - the serialization library did not compile. I understand Robert's comments in a way that these problems will go away in 1.36 . I have thus in the meantime tried to use the current 1.36 trunk version, which fails in some other respects (which is fine, it is beta). OpenSUSE 11 comes with Boost 1.34.1 libraries installed, but does apparently not include the boost_system headers/library files. I have thus tried to revert to 1.34 by compiling my own Boost 1.34.1, but get the result: ...failed updating 180 targets... ...skipped 72 targets... ...updated 1263 targets... Not all Boost libraries built properly. Apart from a problem with bjam in OpenSUSE 10.3, which could be fixed thanks to comments on this list, Boost 1.34.1 compiled like a charm in the past. Now, with OpenSUSE 11 there does not seem to be any version of Boost that I can use. I have heard of similar issues with Gentoo, which also uses gcc 4.3.1, so I assume these are compiler-related problems. Apart from my own post on comp.lib.boost.user, however, there was no other reports on problems here. What am I missing ? Has anyone successfully compiled 1.34.1 (or 1.35, including serialization) on an OpenSUSE 11 box (64 bit) ? Thanks and Best Regards, Ruediger

Hi again, just a short note to say that the patch at http://svn.boost.org/trac/boost/attachment/ticket/1715/serialization_gcc43.p... seems to fix the compilation issues of the serialization library in Boost 1.35 with gcc 4.3.1 / OpenSUSE 11 . Now it is the date_time library that shows problems: /opt/boost/include/boost-1_35/boost/date_time/tz_db_base.hpp:161: error: declaration of ‘typedef class boost::date_time::dst_adjustment_offsets<typename time_zone_type::time_duration_type> boost::date_time::tz_db_base<time_zone_type, rule_type>::dst_adjustment_offsets’ /opt/boost/include/boost-1_35/boost/date_time/time_zone_base.hpp:76: error: changes meaning of ‘dst_adjustment_offsets’ from ‘class boost::date_time::dst_adjustment_offsets<typename time_zone_type::time_duration_type>’ So I cannot comment whether the serialization library works as expected. But at least it is now there ;-) Will let you know if I find a solution for my date_time problem. Best, Ruediger Ruediger Berlich wrote:
Hi there,
I recently posted a problem with the compilation of Boost 1.35 with gcc 4.3.1, on an OpenSUSE 11 box - the serialization library did not compile. I understand Robert's comments in a way that these problems will go away in 1.36 .
I have thus in the meantime tried to use the current 1.36 trunk version, which fails in some other respects (which is fine, it is beta).
OpenSUSE 11 comes with Boost 1.34.1 libraries installed, but does apparently not include the boost_system headers/library files.
I have thus tried to revert to 1.34 by compiling my own Boost 1.34.1, but get the result:
...failed updating 180 targets... ...skipped 72 targets... ...updated 1263 targets... Not all Boost libraries built properly.
Apart from a problem with bjam in OpenSUSE 10.3, which could be fixed thanks to comments on this list, Boost 1.34.1 compiled like a charm in the past.
Now, with OpenSUSE 11 there does not seem to be any version of Boost that I can use.
I have heard of similar issues with Gentoo, which also uses gcc 4.3.1, so I assume these are compiler-related problems. Apart from my own post on comp.lib.boost.user, however, there was no other reports on problems here.
What am I missing ? Has anyone successfully compiled 1.34.1 (or 1.35, including serialization) on an OpenSUSE 11 box (64 bit) ?
Thanks and Best Regards, Ruediger
participants (1)
-
Ruediger Berlich