QuantLib-0.3.11 Compile Error on Linux Fedora 4.0

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

QuantLib-0.3.11 Compile Error on Linux Fedora 4.0

TARKESHWAR SINGH
Hello,

I tried to compile the QuantLib-0.3.11 on Fedora Core 4.0. This is the resulting
error message. Has anyone experienced this? What is the work around solution? Thank you
very much in advance.

-Sincerely,
Singh T. Junior

g++ -DHAVE_CONFIG_H -I. -I. -I../../ql -I../.. -I../.. -g -O2 -Wall -MT ratehelpers.lo -MD -MP -MF .deps/ratehelpers.Tpo -c ratehelpers.cpp  -fPIC -DPIC -o .libs/ratehelpers.o
../../ql/quote.hpp: In member function 'QuantLib::Real QuantLib::DerivedQuote<UnaryFunction>::value() const':
../../ql/quote.hpp:139: error: there are no arguments to 'QL_REQUIRE' that depend on a template parameter, so a declaration of 'QL_REQUIRE' must be available
../../ql/quote.hpp:139: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../ql/quote.hpp: In member function 'QuantLib::Real QuantLib::CompositeQuote<BinaryFunction>::value() const':
../../ql/quote.hpp:164: error: there are no arguments to 'QL_REQUIRE' that depend on a template parameter, so a declaration of 'QL_REQUIRE' must be available
make[3]: *** [ratehelpers.lo] Error 1
make[3]: Leaving directory `/home/tsingh/QuantLib-0.3.11/ql/TermStructures'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/tsingh/QuantLib-0.3.11/ql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/tsingh/QuantLib-0.3.11/ql'
make: *** [all-recursive] Error 1

Reply | Threaded
Open this post in threaded view
|

Re: QuantLib-0.3.11 Compile Error on Linux Fedora 4.0

eric ehlers
Hi Singh,

Please see this message in the mailing list

    http://sourceforge.net/mailarchive/message.php?msg_id=13893593

and also this fix which has been applied in CVS

    http://cvs.sourceforge.net/viewcvs.py/quantlib/QuantLib/ql/quote.hpp?r1=1.7&r2=1.8

Regards,
Eric

On 12/25/05, TARKESHWAR SINGH <[hidden email]> wrote:

> Hello,
>
>  I tried to compile the QuantLib-0.3.11 on Fedora Core 4.0. This is the
> resulting
>  error message. Has anyone experienced this? What is the work around
> solution? Thank you
>  very much in advance.
>
>  -Sincerely,
>  Singh T. Junior