Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] xlC 6.0 building math lib - Errors
From: John Maddock (john_at_[hidden])
Date: 2010-02-01 08:30:11


I've changed the subject line on this one, as this is really a problem with
Boost.Fusion rather than the Math lib as such, Joel?

John.

> I am trying to compile boost math library using xlC version 6 on Aix 5.3.
>
> I get the following error:
> "./boost/fusion/sequence/intrinsic/begin.hpp", line 54.88: 1540-0408
> (S) The base class "apply<const
> boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>
>>" is declared but not defined.
> "./boost/fusion/container/vector/detail/vector_n.hpp", line 65.41:
> 1540-0700 (I) The previous message was produced while processing
> "struct boost::fusion::result_of::begin<const
> boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>
>>".
> "./boost/fusion/sequence/intrinsic/at.hpp", line 58.26: 1540-0408 (S)
> The base class "apply<const
> boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,mpl_::int_<0>
>>" is declared but not defined.
> "./boost/fusion/sequence/intrinsic/at.hpp", line 63.15: 1540-0700 (I)
> The previous message was produced while processing "struct
> boost::fusion::result_of::at<const
> boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,mpl_::int_<0>
>>".
> "./boost/fusion/sequence/intrinsic/at.hpp", line 62.16: 1540-0700 (I)
> The previous message was produced while processing "struct
> boost::fusion::result_of::at_c<const
> boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,0>".
> "./boost/math/tools/roots.hpp", line 41.13: 1540-0700 (I) The previous
> message was produced while processing
> "boost::math::tools::detail::unpack_0<boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,double>(const
> tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>
> &, double &)".
> "./boost/math/tools/roots.hpp", line 45.6: 1540-0700 (I) The previous
> message was produced while processing
> "boost::math::tools::detail::handle_zero_derivative<boost::math::detail::cbrt_functor<double>,double>(cbrt_functor<double>,
> double &, const double &, double &, double &, double &, const double
> &, const double &)".
> "./boost/math/tools/roots.hpp", line 274.3: 1540-0700 (I) The previous
> message was produced while processing
> "boost::math::tools::halley_iterate<boost::math::detail::cbrt_functor<double>,double>(cbrt_functor<double>,
> double, double, double, int, uintmax_t &)".
> "./boost/math/tools/roots.hpp", line 418.10: 1540-0700 (I) The
> previous message was produced while processing
> "boost::math::tools::halley_iterate<boost::math::detail::cbrt_functor<double>,double>(cbrt_functor<double>,
> double, double, double, int)".
> "./boost/math/special_functions/cbrt.hpp", line 52.18: 1540-0700 (I)
> The previous message was produced while processing
> "boost::math::detail::cbrt_imp<double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::polici...".
> "./boost/math/special_functions/cbrt.hpp", line 61.11: 1540-0700 (I)
> The previous message was produced while processing
> "boost::math::cbrt<double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_...".
> "libs/math/build/../src/tr1/c_policy.hpp", line 129.1: 1540-0700 (I)
> The previous message was produced while processing
> "c_policies::cbrt<double>(double)".
> "libs/math/build/../src/tr1/cbrt.cpp", line 16.11: 1540-0700 (I) The
> previous message was produced while processing "cbrt(double)".
> "./boost/math/tools/roots.hpp", line 42.9: 1540-0218 (S) The call does
> not match any parameter list for "std::tr1::get<0>".
> "./boost/fusion/tuple/tuple.hpp", line 82.5: 1540-1283 (I) "template
> <int N, class Tuple> boost::fusion::get(const Tuple &)" is not a
> viable candidate.
> "./boost/fusion/tuple/tuple.hpp", line 75.5: 1540-1283 (I) "template
> <int N, class Tuple> boost::fusion::get(Tuple &)" is not a viable
> candidate.
> "./boost/math/tools/roots.hpp", line 41.13: 1540-0700 (I) The previous
> message was produced while processing
> "boost::math::tools::detail::unpack_0<boost::fusion::tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>,double>(const
> tuple<double,double,double,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_,boost::fusion::void_>
> &, double &)".
> "./boost/math/tools/roots.hpp", line 45.6: 1540-0700 (I) The previous
> message was produced while processing
> "boost::math::tools::detail::handle_zero_derivative<boost::math::detail::cbrt_functor<double>,double>(cbrt_functor<double>,
> double &, const double &, double &, double &, double &, const double
> &, const double &)".
> "./boost/math/tools/roots.hpp", line 274.3: 1540-0700 (I) The previous
> message was produced while processing
> "boost::math::tools::halley_iterate<boost::math::detail::cbrt_functor<double>,double>(cbrt_functor<double>,
> double, double, double, int, uintmax_t &)".
> "./boost/math/tools/roots.hpp", line 418.10: 1540-0700 (I) The
> previous message was produced while processing
> "boost::math::tools::halley_iterate<boost::math::detail::cbrt_functor<double>,double>(cbrt_functor<double>,
> double, double, double, int)".
> "./boost/math/special_functions/cbrt.hpp", line 52.18: 1540-0700 (I)
> The previous message was produced while processing
> "boost::math::detail::cbrt_imp<double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::polici...".
> "./boost/math/special_functions/cbrt.hpp", line 61.11: 1540-0700 (I)
> The previous message was produced while processing
> "boost::math::cbrt<double,boost::math::policies::policy<boost::math::policies::domain_error<1>,boost::math::policies::pole_error<1>,boost::math::policies::overflow_error<1>,boost::math::policies::evaluation_error<1>,boost::math::policies::rounding_error<1>,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_policy,boost::math::policies::default_...".
> "libs/math/build/../src/tr1/c_policy.hpp", line 129.1: 1540-0700 (I)
> The previous message was produced while processing
> "c_policies::cbrt<double>(double)".
> "libs/math/build/../src/tr1/cbrt.cpp", line 16.11: 1540-0700 (I) The
> previous message was produced while processing "cbrt(double)".
>
> Is there any patch i need to apply?
>
> Any help would be much appreciated!
>
> All my search on this error didn't get me anywhere; if there is prior
> post on same topic and solution please let me know!
>
> Thanks,
> Radha
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

--------------------------------------------------------------------------------

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.432 / Virus Database: 271.1.1/2661 - Release Date: 02/01/10
07:35:00


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