> You hit the nail the on the head. I had to edit the
Makefile in the
> test-suite directory. I changed
> LDFLAGS = -L
/usr/local/lib
> to
> LDFLAGs = -L/usr/local/lib
>
> And
now it builds. Thanks alot!
Hello,
I have followed this thread
with great interest because I have the same problem
Igor had.
I am
compiling QuantLib-0.3.7 with gcc-3.3.3 on CygWin.
Configure is ok.
Make
fails at the test-suite stage.
Before compilation I have done :
export
CPPFLAGS="-I/usr/local/include/boost-1_31"
export
LDFLAGS="-L/usr/local/lib"
My QuantLib test-suite Makefile has: LDFLAGs =
-L/usr/local/lib
I am unable to compile Boost's test-suite.
You
can find below, the error I receive after doing make on QuantLib.
Thank you
very much for your help.
Javier
(Error message:
begin)
Making all in test-suite
make[1]: Entering directory
`/home/Administrator/jrr/c++/quantlib_project/ql/Qua
ntLib-0.3.7/test-suite'
/bin/bash
../libtool --mode=link g++ -g -O2 -L/usr/local/lib -o
quantlib-test-
suite.exe -lboost_unit_test_framework-gcc quantlibtestsuite.o
americanoption.o a
sianoptions.o barrieroption.o basketoption.o calendars.o
capfloor.o cliquetoptio
n.o compoundforward.o covariance.o dates.o
daycounters.o digitaloption.o distrib
utions.o dividendeuropeanoption.o
europeanoption.o factorial.o forwardoption.o i
nstruments.o integrals.o
interpolations.o jumpdiffusion.o lowdiscrepancysequence
s.o matrices.o
mersennetwister.o operators.o piecewiseflatforward.o quantooption
.o quotes.o
riskstats.o rounding.o solvers.o stats.o swap.o swaption.o termstruc
tures.o
old_pricers.o utilities.o ../ql/libQuantLib.la
../functions/ql/Functions
/libQuantLibFunctions.la
g++ -g -O2 -o
quantlib-test-suite.exe quantlibtestsuite.o americanoption.o asian
options.o
barrieroption.o basketoption.o calendars.o capfloor.o
cliquetoption.o
compoundforward.o covariance.o dates.o daycounters.o
digitaloption.o distributio
ns.o dividendeuropeanoption.o europeanoption.o
factorial.o forwardoption.o instr
uments.o integrals.o interpolations.o
jumpdiffusion.o lowdiscrepancysequences.o
matrices.o mersennetwister.o
operators.o piecewiseflatforward.o quantooption.o q
uotes.o riskstats.o
rounding.o solvers.o stats.o swap.o swaption.o termstructure
s.o
old_pricers.o utilities.o -L/usr/local/lib
-lboost_unit_test_framework-gcc
../ql/.libs/libQuantLib.a
../functions/ql/Functions/.libs/libQuantLibFunctions.a
quantlibtestsuite.o(.text+0xb99):
In function
`_ZNSs12_S_constructIPcEES0_T_S1_R
KSaIcESt20forward_iterator_tag':
/usr/include/c++/3.3.3/bits/basic_string.h:325:
undefined reference to `RiskStat
isticsTest::suite()'
collect2: ld
returned 1 exit status
make[1]: *** [quantlib-test-suite.exe] Error
1
make[1]: Leaving directory
`/home/Administrator/jrr/c++/quantlib_project/ql/Quan
tLib-0.3.7/test-suite'
make:
*** [all-recursive] Error 1
(Error message:
end)
-------------------------------------------------------
SF.Net
email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic
DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on
Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Quantlib-users
mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users
| Free forum by Nabble | Edit this page |