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-02 04:29:49


>
> 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)".
>

That makes no sense to me whatsoever - L::g is a member of one of the
template parameters - it would help if an instantiation back-trace was
actually produced! Is there any way that you know of to force the compiler
to output the actual template parameters passed to
tgamma_delta_ratio_imp_lanczos when it gets instantiated?

What about the other source files - are any building? Any giving different
error messages to the above?

Thanks, John.


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