From: John Maddock (john_at_[hidden])
Date: 2007-10-31 14:35:06
Sohail Somani wrote:
> Hi Math Toolkit developers.
> (Sending to this list as library is still in development?)
We're busy fixing compiler and platform specific issues, in preparation for
a 1.35 release. BTW that means that the version in SVN Trunk has *slightly*
more fixes in it than the sandbox version - which will be used for ongoing
> If I try and run the tests on SunCC using the following command:
> /opt/SunStudio12/SUNWspro/bin/CC -o \
> build/debug/vendor/boost/libs/math/test/log1p_expm1_test \
> -library=stlport4,Crun \
> build/debug/vendor/boost/libs/math/test/log1p_expm1_test.o \
> -Lbuild/debug/vendor/boost -Lvendor/boost -lboost_regex
> I get this linker error:
> Undefined first referenced
> symbol in file
> int boost::math::tools::digits<boost::math::concepts::real_concept>()
> build/debug/vendor/boost/libs/math/test/log1p_expm1_test.o ld: fatal:
> Symbol referencing errors. No output written to
> Has anyone seen this before? What can I do to fix this?
I don't know, it works OK with Sun 5.9 on Linux (the only version of the sun
compiler I have access to), and the definition for that function is
certainly present in the header.
It's not helped by the Sun regression tests being stalled for the last
couple of weeks either :-(
The function is defined like this:
return tools::digits<long double>();
Does this ring any bells as something that's problematic on that compiler?
How about if the inline specifier is removed?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk