Problem compiling QuantLib 0.9.6 on Solaris 10 on Sun Studio 12 compiler

Posted by adisabat on
URL: http://quantlib.414.s1.nabble.com/Problem-compiling-QuantLib-0-9-6-on-Solaris-10-on-Sun-Studio-12-compiler-tp6659.html


Dear everybody,

I'm working on Solaris 10 using SunStudio 12 compiler, I have just set up the following variables:

CXX=/opt/SUNWspro/bin/CC
CC=/opt/SUNWspro/bin/cc

I typed "make" and I got the following errors:
/**********************************************/

make[4]: Entering directory `/software/reuters/ksp/ql/QuantLib-0.9.6/ql/experimental/credit'
source='cdsoption.cpp' object='cdsoption.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/usr/local/include/boost-1_36  -g -O2 -Wall -c -o cdsoption.lo cdsoption.cpp
 /opt/SUNWspro/bin/CC -DHAVE_CONFIG_H -I. -I. -I../../../ql -I../../.. -I../../.. -I/usr/local/include/boost-1_36 -g -O2 -Wall -c cdsoption.cpp  -KPIC -DPIC -o .libs/cdsoption.o
CC: Warning: Option -Wall passed to ld, if ld is invoked, ignored otherwise
"../../../ql/default.hpp", line 32: Error: Identifier expected instead of "1".
"../../../ql/default.hpp", line 42: Error: AnySeniority is not defined.
"../../../ql/issuer.hpp", line 57: Error: AnySeniority is not defined.
3 Error(s) detected.
make[4]: *** [cdsoption.lo] Error 1
make[4]: Leaving directory `/software/reuters/ksp/ql/QuantLib-0.9.6/ql/experimental/credit'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/software/reuters/ksp/ql/QuantLib-0.9.6/ql/experimental'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/software/reuters/ksp/ql/QuantLib-0.9.6/ql'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/software/reuters/ksp/ql/QuantLib-0.9.6/ql'
make: *** [all-recursive] Error 1


Kindly could you help me to solve this issue?

thanks in advance
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-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users