|
From: a_disabatino <a_d...@li...> - 2008-10-23 15:20:15
|
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
|