libtool: link: ERROR: object name conflicts

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

libtool: link: ERROR: object name conflicts

peter pashkov
I am getting this error when making quantLib using cygwin:
make[4]: Entering directory
`/cygdrive/c/back_testing/quantLib/QuantLib-0.8.1/ql/indexes'
/bin/sh ../../libtool --tag=CXX --mode=link g++  -g -O2 -Wall  
-L/usr/local/lib -o libIndexes.la   iborindex.lo indexman
ager.lo interestrateindex.lo swapindex.lo ibor/libIborIndexes.la
swap/libSwapIndexes.la
rm -fr  .libs/libIndexes.lax
rm -fr .libs/libIndexes.lax
mkdir .libs/libIndexes.lax
rm -fr .libs/libIndexes.lax/libIborIndexes.a
mkdir .libs/libIndexes.lax/libIborIndexes.a
(cd .libs/libIndexes.lax/libIborIndexes.a && ar x
/cygdrive/c/back_testing/quantLib/QuantLib-0.8.1/ql/indexes/ibor/.libs
/libIborIndexes.a)
libtool: link: ERROR: object name conflicts:
.libs/libIndexes.lax/libIborIndexes.a//cygdrive/c/back_testing/quantLib/Qua
ntLib-0.8.1/ql/indexes/ibor/.libs/libIborIndexes.a
make[4]: *** [libIndexes.la] Error 1
make[4]: Leaving directory
`/cygdrive/c/back_testing/quantLib/QuantLib-0.8.1/ql/indexes'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/cygdrive/c/back_testing/quantLib/QuantLib-0.8.1/ql/indexes'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/cygdrive/c/back_testing/quantLib/QuantLib-0.8.1/ql'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/cygdrive/c/back_testing/quantLib/QuantLib-0.8.1/ql'
make: *** [all-recursive] Error 1

Configure seamed to work. This was the line to configure:
./configure --with-boost-include=/usr/local/boost_1_34_1
--with-boost-lib=/usr/local/lib --with-gnu-ld



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
QuantLib-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-users