Hello Group,
I am new to the group. After downloading the Quantlib-source file tarball I tried to proceed as prescribed in the installation advices. However make generated an error and I was not able to proceed. following a printout of "./configure" and "make": (any hints???) tia Jórg ibk-node-14:/usr/local/QuantLibAddin-0.9.0 # ./configure --enable-addin-calc checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ld used by gcc... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking for /usr/i586-suse-linux/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for xlf... no checking for f77... no checking for frt... no checking for pgf77... no checking for cf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for xlf90... no checking for f90... no checking for pgf90... no checking for pghpf... no checking for epcf90... no checking for gfortran... no checking for g95... no checking for xlf95... no checking for f95... no checking for fort... no checking for ifort... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for ftn... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/i586-suse-linux/bin/ld checking if the linker (/usr/i586-suse-linux/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/i586-suse-linux/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate appending configuration tag "F77" to libtool checking for doxygen... /usr/bin/doxygen checking for sed... /usr/bin/sed configure: creating ./config.status config.status: creating Addins/Cpp/Serialization/Makefile config.status: creating Addins/Cpp/Makefile config.status: creating Addins/Calc/Makefile config.status: creating Clients/Cpp/Makefile config.status: creating Clients/CppSwapIn/Makefile config.status: creating Clients/CppSwapOut/Makefile config.status: creating Clients/Calc/Makefile config.status: creating Docs/Makefile config.status: creating gensrc/Makefile config.status: creating Makefile config.status: creating qlo/Conversions/Makefile config.status: creating qlo/Enumerations/Constructors/Makefile config.status: creating qlo/Enumerations/Factories/Makefile config.status: creating qlo/Enumerations/Register/Makefile config.status: creating qlo/Loop/Makefile config.status: creating qlo/Serialization/Makefile config.status: creating qlo/ValueObjects/Makefile config.status: creating qlo/Makefile config.status: creating qlo/config.hpp config.status: qlo/config.hpp is unchanged config.status: executing depfiles commands ibk-node-14:/usr/local/QuantLibAddin-0.9.0 # make Making all in gensrc make[1]: Entering directory `/usr/local/QuantLibAddin-0.9.0/gensrc' make[1]: Für das Ziel »all« ist nichts zu tun. make[1]: Leaving directory `/usr/local/QuantLibAddin-0.9.0/gensrc' Making all in qlo/Conversions make[1]: Entering directory `/usr/local/QuantLibAddin-0.9.0/qlo/Conversions' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../qlo -I../.. -g -O2 -Wall -MT conversions.lo -MD -MP -MF .deps/conversions.Tpo -c -o conversions.lo conversions.cpp g++ -DHAVE_CONFIG_H -I. -I../../qlo -I../.. -g -O2 -Wall -MT conversions.lo -MD -MP -MF .deps/conversions.Tpo -c conversions.cpp -fPIC -DPIC -o .libs/conversions.o In file included from ../../qlo/Conversions/conversions.hpp:23, from conversions.cpp:23: ../../qlo/qladdindefines.hpp:29:28: error: oh/ohdefines.hpp: No such file or directory ../../qlo/qladdindefines.hpp:31:6: error: #error using an old version of ObjectHandler, please update. ../../qlo/qladdindefines.hpp:34:28: error: ql/qldefines.hpp: No such file or directory ../../qlo/qladdindefines.hpp:36:6: error: #error using an old version of QuantLib, please update. In file included from conversions.cpp:23: ../../qlo/Conversions/conversions.hpp:24:24: error: ql/types.hpp: No such file or directory ../../qlo/Conversions/conversions.hpp:25:30: error: ql/math/matrix.hpp: No such file or directory conversions.cpp:24:40: error: ql/utilities/dataparsers.hpp: No such file or directory conversions.cpp:25:28: error: ql/time/date.hpp: No such file or directory conversions.cpp:26:30: error: ql/time/period.hpp: No such file or directory conversions.cpp:27:31: error: ql/interestrate.hpp: No such file or directory ../../qlo/Conversions/conversions.hpp:37: error: expected unqualified-id before '&' token ../../qlo/Conversions/conversions.hpp:37: error: expected ',' or '...' before '&' token ../../qlo/Conversions/conversions.hpp:37: error: ISO C++ forbids declaration of 'parameter' with no type ../../qlo/Conversions/conversions.hpp:45: error: 'QuantLib::Size' has not been declared ../../qlo/Conversions/conversions.hpp:59: error: 'Matrix' in namespace 'QuantLib' does not name a type conversions.cpp: In function 'double QuantLibAddin::libraryToScalar(const QuantLib::InterestRate&)': conversions.cpp:32: error: invalid use of undefined type 'const struct QuantLib::InterestRate' ../../qlo/Conversions/conversions.hpp:29: error: forward declaration of 'const struct QuantLib::InterestRate' conversions.cpp: At global scope: conversions.cpp:35: error: expected unqualified-id before '&' token conversions.cpp:35: error: expected ',' or '...' before '&' token conversions.cpp:35: error: ISO C++ forbids declaration of 'parameter' with no type conversions.cpp: In function 'double QuantLibAddin::libraryToScalar(int)': conversions.cpp:36: error: 'r' was not declared in this scope conversions.cpp: In function 'long int QuantLibAddin::libraryToScalar(const QuantLib::Date&)': conversions.cpp:40: error: invalid use of undefined type 'const struct QuantLib::Date' ../../qlo/Conversions/conversions.hpp:30: error: forward declaration of 'const struct QuantLib::Date' conversions.cpp: In function 'std::string QuantLibAddin::libraryToScalar(const QuantLib::Period&)': conversions.cpp:43: error: return type 'struct std::string' is incomplete conversions.cpp:43: error: new declaration 'void QuantLibAddin::libraryToScalar(const QuantLib::Period&)' ../../qlo/Conversions/conversions.hpp:39: error: ambiguates old declaration 'std::string QuantLibAddin::libraryToScalar(const QuantLib::Period&)' conversions.cpp: In function 'void QuantLibAddin::libraryToScalar(const QuantLib::Period&)': conversions.cpp:44: error: aggregate 'std::ostringstream s' has incomplete type and cannot be defined conversions.cpp: In function 'std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > QuantLibAddin::libraryToVector(const std::vector<QuantLib::Period, std::allocator<QuantLib::Period> >&)': conversions.cpp:53: error: invalid use of void expression conversions.cpp: In function 'std::vector<long int, std::allocator<long int> > QuantLibAddin::libraryToVector(const std::vector<QuantLib::Date, std::allocator<QuantLib::Date> >&)': conversions.cpp:61: error: invalid use of undefined type 'const struct QuantLib::Date' ../../qlo/Conversions/conversions.hpp:30: error: forward declaration of 'const struct QuantLib::Date' conversions.cpp: In function 'void QuantLibAddin::cppToLibrary(const std::string&, QuantLib::Period&)': conversions.cpp:66: error: 'QuantLib::PeriodParser' has not been declared conversions.cpp: At global scope: conversions.cpp:69: error: 'QuantLib::Size' has not been declared conversions.cpp: In function 'void QuantLibAddin::cppToLibrary(const long int&, int&)': conversions.cpp:70: error: 'Size' is not a member of 'QuantLib' conversions.cpp: At global scope: conversions.cpp:79: error: 'Matrix' in namespace 'QuantLib' does not name a type /usr/include/c++/4.1.2/bits/vector.tcc: In member function 'void std::vector<_Tp, _Alloc>::reserve(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]': conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/bits/vector.tcc:81: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/vector.tcc:85: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/vector.tcc:86: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_iterator.h: In member function '__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++() [with _Iterator = const QuantLib::Period*, _Container = std::vector<QuantLib::Period, std::allocator<QuantLib::Period> >]': conversions.cpp:52: instantiated from here /usr/include/c++/4.1.2/bits/stl_iterator.h:673: error: cannot increment a pointer to incomplete type 'const QuantLib::Period' /usr/include/c++/4.1.2/bits/stl_iterator.h: In member function '__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++() [with _Iterator = const QuantLib::Date*, _Container = std::vector<QuantLib::Date, std::allocator<QuantLib::Date> >]': conversions.cpp:60: instantiated from here /usr/include/c++/4.1.2/bits/stl_iterator.h:673: error: cannot increment a pointer to incomplete type 'const QuantLib::Date' /usr/include/c++/4.1.2/bits/stl_vector.h: In destructor 'std::_Vector_base<_Tp, _Alloc>::~_Vector_base() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]': /usr/include/c++/4.1.2/bits/stl_vector.h:203: instantiated from 'std::vector<_Tp, _Alloc>::vector(const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:50: instantiated from here /usr/include/c++/4.1.2/bits/stl_vector.h:119: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_iterator.h: In function 'typename __gnu_cxx::__normal_iterator<_IteratorL, _Container>::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&) [with _IteratorL = const QuantLib::Period*, _IteratorR = const QuantLib::Period*, _Container = std::vector<QuantLib::Period, std::allocator<QuantLib::Period> >]': /usr/include/c++/4.1.2/bits/stl_vector.h:402: instantiated from 'size_t std::vector<_Tp, _Alloc>::size() const [with _Tp = QuantLib::Period, _Alloc = std::allocator<QuantLib::Period>]' conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/bits/stl_iterator.h:809: error: invalid use of undefined type 'const struct QuantLib::Period' ../../qlo/Conversions/conversions.hpp:31: error: forward declaration of 'const struct QuantLib::Period' /usr/include/c++/4.1.2/bits/stl_vector.h: In member function 'size_t std::vector<_Tp, _Alloc>::max_size() const [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]': /usr/include/c++/4.1.2/bits/vector.tcc:71: instantiated from 'void std::vector<_Tp, _Alloc>::reserve(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/bits/stl_vector.h:407: error: invalid application of 'sizeof' to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_vector.h:407: warning: division by zero in '-1u / 0' /usr/include/c++/4.1.2/bits/stl_vector.h: In constructor 'std::_Vector_base<_Tp, _Alloc>::_Vector_base(size_t, const _Alloc&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]': /usr/include/c++/4.1.2/bits/stl_vector.h:233: instantiated from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:54: instantiated from here /usr/include/c++/4.1.2/bits/stl_vector.h:115: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_iterator.h: In function 'typename __gnu_cxx::__normal_iterator<_IteratorL, _Container>::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&) [with _IteratorL = const QuantLib::Date*, _IteratorR = const QuantLib::Date*, _Container = std::vector<QuantLib::Date, std::allocator<QuantLib::Date> >]': /usr/include/c++/4.1.2/bits/stl_vector.h:402: instantiated from 'size_t std::vector<_Tp, _Alloc>::size() const [with _Tp = QuantLib::Date, _Alloc = std::allocator<QuantLib::Date>]' conversions.cpp:59: instantiated from here /usr/include/c++/4.1.2/bits/stl_iterator.h:809: error: invalid use of undefined type 'const struct QuantLib::Date' ../../qlo/Conversions/conversions.hpp:30: error: forward declaration of 'const struct QuantLib::Date' /usr/include/c++/4.1.2/bits/stl_iterator.h: In function 'typename __gnu_cxx::__normal_iterator<_IteratorL, _Container>::difference_type __gnu_cxx::operator-(const __gnu_cxx::__normal_iterator<_IteratorL, _Container>&, const __gnu_cxx::__normal_iterator<_IteratorR, _Container>&) [with _IteratorL = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _IteratorR = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Container = std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]': /usr/include/c++/4.1.2/bits/stl_vector.h:436: instantiated from 'size_t std::vector<_Tp, _Alloc>::capacity() const [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' /usr/include/c++/4.1.2/bits/vector.tcc:73: instantiated from 'void std::vector<_Tp, _Alloc>::reserve(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/bits/stl_iterator.h:809: error: invalid use of undefined type 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'const struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_construct.h: In function 'void std::__destroy_aux(_ForwardIterator, _ForwardIterator, __false_type) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]': /usr/include/c++/4.1.2/bits/stl_construct.h:155: instantiated from 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_construct.h:182: instantiated from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:272: instantiated from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:50: instantiated from here /usr/include/c++/4.1.2/bits/stl_construct.h:121: error: cannot increment a pointer to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/ext/new_allocator.h: In member function '_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(size_t, const void*) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': /usr/include/c++/4.1.2/bits/stl_vector.h:127: instantiated from '_Tp* std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' /usr/include/c++/4.1.2/bits/stl_vector.h:767: instantiated from 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_t, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' /usr/include/c++/4.1.2/bits/vector.tcc:78: instantiated from 'void std::vector<_Tp, _Alloc>::reserve(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/ext/new_allocator.h:88: error: invalid application of 'sizeof' to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]': /usr/include/c++/4.1.2/bits/stl_uninitialized.h:113: instantiated from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:254: instantiated from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:234: instantiated from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:54: instantiated from here /usr/include/c++/4.1.2/bits/stl_uninitialized.h:85: error: cannot increment a pointer to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_construct.h: In function 'void std::_Destroy(_Tp*) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': /usr/include/c++/4.1.2/bits/stl_construct.h:122: instantiated from 'void std::__destroy_aux(_ForwardIterator, _ForwardIterator, __false_type) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_construct.h:155: instantiated from 'void std::_Destroy(_ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_construct.h:182: instantiated from 'void std::_Destroy(_ForwardIterator, _ForwardIterator, std::allocator<_T2>) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:272: instantiated from 'std::vector<_Tp, _Alloc>::~vector() [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:50: instantiated from here /usr/include/c++/4.1.2/bits/stl_construct.h:107: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/ext/new_allocator.h: In member function 'size_t __gnu_cxx::new_allocator<_Tp>::max_size() const [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': /usr/include/c++/4.1.2/ext/new_allocator.h:85: instantiated from '_Tp* __gnu_cxx::new_allocator<_Tp>::allocate(size_t, const void*) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:127: instantiated from '_Tp* std::_Vector_base<_Tp, _Alloc>::_M_allocate(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' /usr/include/c++/4.1.2/bits/stl_vector.h:767: instantiated from 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_t, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' /usr/include/c++/4.1.2/bits/vector.tcc:78: instantiated from 'void std::vector<_Tp, _Alloc>::reserve(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/ext/new_allocator.h:98: error: invalid application of 'sizeof' to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/ext/new_allocator.h:98: warning: division by zero in '-1u / 0' /usr/include/c++/4.1.2/bits/stl_uninitialized.h: In function '_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]': /usr/include/c++/4.1.2/bits/stl_uninitialized.h:113: instantiated from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:254: instantiated from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>) [with _InputIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:770: instantiated from 'typename std::_Vector_base<_Tp, _Alloc>::_Tp_alloc_type::pointer std::vector<_Tp, _Alloc>::_M_allocate_and_copy(size_t, _ForwardIterator, _ForwardIterator) [with _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' /usr/include/c++/4.1.2/bits/vector.tcc:78: instantiated from 'void std::vector<_Tp, _Alloc>::reserve(size_t) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:51: instantiated from here /usr/include/c++/4.1.2/bits/stl_uninitialized.h:85: error: cannot increment a pointer to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:85: error: cannot increment a pointer to incomplete type 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_iterator.h: In member function '__gnu_cxx::__normal_iterator<_Iterator, _Container>& __gnu_cxx::__normal_iterator<_Iterator, _Container>::operator++() [with _Iterator = const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Container = std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >]': /usr/include/c++/4.1.2/bits/stl_uninitialized.h:85: instantiated from '_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:113: instantiated from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:254: instantiated from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:234: instantiated from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:54: instantiated from here /usr/include/c++/4.1.2/bits/stl_iterator.h:673: error: cannot increment a pointer to incomplete type 'const std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stl_construct.h: In function 'void std::_Construct(_T1*, const _T2&) [with _T1 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _T2 = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]': /usr/include/c++/4.1.2/bits/stl_uninitialized.h:86: instantiated from '_ForwardIterator std::__uninitialized_copy_aux(_InputIterator, _InputIterator, _ForwardIterator, __false_type) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:113: instantiated from '_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*]' /usr/include/c++/4.1.2/bits/stl_uninitialized.h:254: instantiated from '_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>) [with _InputIterator = __gnu_cxx::__normal_iterator<const std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, _ForwardIterator = std::basic_string<char, std::char_traits<char>, std::allocator<char> >*, _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]' /usr/include/c++/4.1.2/bits/stl_vector.h:234: instantiated from 'std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = std::basic_string<char, std::char_traits<char>, std::allocator<char> >, _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >]' conversions.cpp:54: instantiated from here /usr/include/c++/4.1.2/bits/stl_construct.h:81: error: invalid use of undefined type 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' /usr/include/c++/4.1.2/bits/stringfwd.h:56: error: declaration of 'struct std::basic_string<char, std::char_traits<char>, std::allocator<char> >' make[1]: *** [conversions.lo] Fehler 1 make[1]: Leaving directory `/usr/local/QuantLibAddin-0.9.0/qlo/Conversions' make: *** [all-recursive] Fehler 1 -- =============================================================================== IBK-Consult for Real-Time - D-31228 Peine +49-177-276-3140 www.ibk-consult.de www.xing.com/go/invuid/Joerg_Kampmann www.xing.com/hp/Joerg_Kampmann www.xing.com/net/mathe =============================================================================== ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Hi Joerg,
On Wed, May 28, 2008 13:38, Jörg Kampmann wrote: > Hello Group, > > I am new to the group. After downloading the Quantlib-source > file > tarball I tried to proceed as prescribed in the installation > advices. > However make generated an error and I was not able to proceed. > > following a printout of "./configure" and "make": > (any hints???) tia Jórg > > ibk-node-14:/usr/local/QuantLibAddin-0.9.0 # ./configure > --enable-addin-calc You mention QuantLib (http://quantlib.org), but the output that you provided relates to QuantLibAddin (http://quantlib.org/quantlibaddin) - which are you trying to build? Instructions for building QuantLib are here http://quantlib.org/index.shtml Instructions for building QuantLibAddin are here http://quantlib.org/quantlibaddin/installation.html And there is also a summary here http://quantlib.org/quantlibaddin/serialization.html#serialization_linux_cpp_build Regards, Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ QuantLib-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/quantlib-users |
Free forum by Nabble | Edit this page |