Error compiling QualtLIb 0.9.6 on BrentMinimize called

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error compiling QualtLIb 0.9.6 on BrentMinimize called

adisabat

Hi,

QuantLib 0.9.6
Solaris 10
Sun Studio 12

have a look at this error please:


source='spherecylinder.cpp' object='spherecylinder.lo' libtool=yes \
        DEPDIR=.deps depmode=none /bin/bash ../../../config/depcomp \
        /bin/bash ../../../libtool --tag=CXX --mode=compile /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I. -I../../../ql  -I../../.. -I../../.. -I/boost/boost_1_36_0  -G -g  -qoption ld -i  -DOPTIMISED -DSUN -DINCLUDE_STD -D_CLIENT_RELEASE +w2 -xlibmil -xarch=v8plusa -xO4 -xlibmopt -fsimple=2 -library=stlport4  -c -o spherecylinder.lo spherecylinder.cpp
 /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I. -I../../../ql -I../../.. -I../../.. -I/boost/boost_1_36_0 -G -g -qoption ld -i -DOPTIMISED -DSUN -DINCLUDE_STD -D_CLIENT_RELEASE +w2 -xlibmil -xarch=v8plusa -xO4 -xlibmopt -fsimple=2 -library=stlport4 -c spherecylinder.cpp  -KPIC -DPIC -o .libs/spherecylinder.o
CC: Warning: -xarch=v8plusa is deprecated, use -m32 -xarch=sparcvis instead "spherecylinder.cpp", line 151: Error: Could not find a match for::BrentMinimize<::T,::Value>(double, double, double, double, unsigned, const QuantLib::SphereCylinderOptimizer) needed in QuantLib::SphereCylinderOptimizer::findClosest(unsigned, double, double&, double&, double&) const.
1 Error(s) detected.
make[4]: *** [spherecylinder.lo] Error 1
make[4]: Leaving directory `/ql/QuantLib-0.9.6/ql/math/optimization'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/ql/QuantLib-0.9.6/ql/math'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/ql/QuantLib-0.9.6/ql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/ql/QuantLib-0.9.6/ql'


I have it in  spherecylinder.cpp file, it seems bad call interface for BrentMinimize() function.

do you have some idea please?

welcome
Rgds
Antonio









-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev
Reply | Threaded
Open this post in threaded view
|

Re: Error compiling QualtLIb 0.9.6 on BrentMinimize called

Luigi Ballabio
On Thu, 2008-10-23 at 17:19 +0200, a_disabatino wrote:
> QuantLib 0.9.6
> Solaris 10
> Sun Studio 12
>
> have a look at this error please:
> [...]

> do you have some idea please?

Hard to diagnose without a Solaris box... may you try replacing
spherecylinder.cpp with the one I'm attaching and see if it works?

Luigi




--

Weiler's Law:
Nothing is impossible for the man who doesn't have to
do it himself.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev

spherecylinder.cpp (7K) Download Attachment