Regarding Quantlib build on HP-UNIX

Posted by Rohit Rai on
URL: http://quantlib.414.s1.nabble.com/Regarding-Quantlib-build-on-HP-UNIX-tp7469.html


Hi All,


I have taken a 64 bit Quantlib build for Quantlib 0.9.7 release , but when i try to link with any wrapper ,it gives the following error.

$ vi test.cpp
"test.cpp" [New file]
#include <iostream>
using namespace std;
int main()
{

cout<<"Test********************************\n";
}

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
"test.cpp" [New file] 8 lines, 106 characters
$ aCC test.cpp

when i compile the test.cpp linking the quantlib library the following warning is shown.
ld: (Warning) Unsatisfied symbol "type info of QuantLib::ForwardOptionArguments<QuantLib::Option::arguments>" in file /home/revbuild/Quantlib-0.9.7/ql/.libs/libQuantLib-0.9.7.so
1 warnings.

when i execute the file, the following error message is displayed.
$ ./a.out
/usr/lib/hpux64/dld.so: Unsatisfied data symbol '_ZTIN8QuantLib22ForwardOptionArgumentsINS_6Option9argumentsEEE' in load module '/home/revbuild/Quantlib-0.9.7/ql/.libs/libQuantLib-0.9.7.so'.
/usr/lib/hpux64/dld.so: Unsatisfied data symbol '_ZTIN8QuantLib22ForwardOptionArgumentsINS_6Option9argumentsEEE' in load module '/home/revbuild/Quantlib-0.9.7/ql/.libs/libQuantLib-0.9.7.so'.
Killed
$ cd /home/revbuild/Quantlib-0.9.7/ql/.libs
$ ls
currency.o            errors.o              index.o               libQuantLib-0.9.7.so  libQuantLib.lai       position.o            stochasticprocess.o
default.o             exchangerate.o        interestrate.o        libQuantLib.a         libQuantLib.so        prices.o              termstructure.o
discretizedasset.o    exercise.o            issuer.o              libQuantLib.la        money.o               settings.o            timegrid.o
$ nm libQuantLib-0.9.7.so| grep UNDEF|grep Quant
[16259]  |                     0|       0|OBJT |GLOB |0|   UNDEF|_ZTIN8QuantLib22ForwardOptionArgumentsINS_6Option9argumentsEEE
$

Please help me in this regard



Thanks & Regards
Shailesh



------------------------------------------------------------------------------
This SF Dev2Dev email is sponsored by:

WikiLeaks The End of the Free Internet
http://p.sf.net/sfu/therealnews-com
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users