|
Hi,
I have just compiled Quantlib 0.3.10 and get the following error when
I try to compile Quantlib-Python 0.3.10 (on Linux):
$ python setup.py build
running build
running build_py
running build_ext
building 'QuantLib._QuantLib' extension
g++ -fno-strict-aliasing -DNDEBUG -fPIC -I/usr/local/include
-I/usr/include/python2.3 -c QuantLib/quantlib_wrap.cpp -o
build/temp.linux-i686-2.3/QuantLib/quantlib_wrap.o -Wno-unused
In file included from /usr/local/include/ql/PricingEngines/Barrier/all.hpp:24,
from /usr/local/include/ql/PricingEngines/all.hpp:31,
from /usr/local/include/ql/quantlib.hpp:41,
from QuantLib/quantlib_wrap.cpp:1136:
/usr/local/include/ql/PricingEngines/Barrier/analyticbarrierengine.hpp:56:
error: declaration
does not declare anything
/usr/local/include/ql/PricingEngines/Barrier/analyticbarrierengine.hpp:56:
error: syntax
error before `__asm__'
error: command 'g++' failed with exit status 1
I checked, on line 56 in that file it says:
Real barrier() const;
That looks ok to me... I also couldn't find __asm__ anywhere.
What's going on?
Thanks for your help.
Brad
gcc 3.3.6, python 2.3.5
|