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 |
On Wed, 2010-12-08 at 23:26 +0530, Rohit Rai wrote:
> 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. > > [...] > ~ > "test.cpp" [New file] 8 lines, 106 characters > $ aCC test.cpp What compiler is aCC? Also, do you have the same behavior with the latest release of QuantLib? (That would be 1.0.1) Luigi -- Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -- Brian W. Kernighan ------------------------------------------------------------------------------ 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 |
Free forum by Nabble | Edit this page |