Boost logo

Boost Users :

Subject: Re: [Boost-users] [fusion] xlC 6.0 building math lib - Errors
From: Jerry Jeremiah (Jerry.Jeremiah_at_[hidden])
Date: 2010-02-01 22:35:30


On 1 Feb 2010, Radha wrote:
>
> Hi Team,
>
> 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.
> ...
> "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

On 2/1/2010 9:30 PM, John Maddock wrote:
>
> 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.
>

On 02 Feb 2010, Joel de Guzman wrote:
>
> Alas, I don't have access to the platform/compiler :-( I'll need someone
> to help me with this. The errors don't make much sense as it seems.
>
> Regards,
>
> Joel de Guzman
>

I have access to this platform. When I tried to compile the boost libraries with xlC 6 I got lots of template related errors in the math library (the first library bjam tries to build) but I didn't see his fusion errors. xlC 6 is not very standards compliant - upgrading to xlC 10 would really help if that is an option. But like I said, I can't get that far even - my attempt at compiling the trunk dies with a similar error to his "declared but not defined" error:

vacpp.compile.c++ bin.v2/libs/math/build/vacpp/release/threading-multi/assoc_legendre.o
"./boost/math/special_functions/gamma.hpp", line 1084.16: 1540-0130 (S) "L::g" is not declared.
...
"libs/math/build/../src/tr1/assoc_legendre.cpp", line 16.28: 1540-0700 (I) The previous message was produced while processing "assoc_legendre(unsigned int, unsigned int, double)".
"./boost/math/special_functions/gamma.hpp", line 176.17: 1540-0130 (S) "L::lanczos_sum" is not declared.
...
"libs/math/build/../src/tr1/assoc_legendre.cpp", line 16.28: 1540-0700 (I) The previous message was produced while processing "assoc_legendre(unsigned int, unsigned int, double)".


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