Login  Register

Problem with Solaris 10 / Sun Studio 12 / QL 0.9.6

Posted by moloko on Sep 23, 2008; 9:34am
URL: http://quantlib.414.s1.nabble.com/Problem-with-Solaris-10-Sun-Studio-12-QL-0-9-6-tp6625.html

patch 124863-07 2008/08/22 is installed. I use CC to compile.
With Boost ( compiled for a sun platform ) 1.36.0 and 1.34.1

Is first had the error described in a mail below, after "make". I've corrected the hpp file as suggested in luigi's response :
<http://sourceforge.net/mailarchive/message.php?msg_id=5a0513100808290157x24781e72w4fd5851ee651086f%40mail.gmail.com>.

Then I've got this error :

"/fimatrix/dev/boost_1_36_0/boost/array.hpp", line 75: Error: Too few arguments
for template std::reverse_iterator<boost::T*>.
"/fimatrix/dev/boost_1_36_0/boost/array.hpp", line 289:     Where: While special
izing "boost::array<boost::T, boost::N>".
"/fimatrix/dev/boost_1_36_0/boost/array.hpp", line 289:     Where: Specialized i
n non-template code.
"/fimatrix/dev/boost_1_36_0/boost/array.hpp", line 76: Error: Too few arguments
for template std::reverse_iterator<const boost::T*>.
"/fimatrix/dev/boost_1_36_0/boost/array.hpp", line 289:     Where: While special
izing "boost::array<boost::T, boost::N>".
"/fimatrix/dev/boost_1_36_0/boost/array.hpp", line 289:     Where: Specialized i
n non-template code.
2 Error(s) and 4 Warning(s) detected.
*** Error code 1
make: Fatal error: Command failed for target `sabrvolsurface.lo'
Current working directory /fimatrix/dev/QuantLib-0.9.6/ql/experimental/volatilit
y

Maybe I could have to bjam instruction used by someone who has completed the QL compilation ?