[Ipopt] build problem

Stefan Vigerske stefan at math.hu-berlin.de
Sat Apr 23 13:33:33 EDT 2011


Hi,

can it be that you mix different gcc/g++/gfortran versions?
I see paths with 4.3.4 and a 3.4.4 in the error messages.
Try to use the same version for all compilers.

Stefan

> Hi all,
>
> I am trying to install Ipopt on my PC using cygwin. I have configured the
> solver (I get: "Main configuration of Ipopt successful" ), but when I try to
> build it (using "make") I get errors. Please see at the end of email for the
> errors.
>
> Any help will be very welcome.
>
> Many thanks,
> John.
>
> PS: Partial output of the "make":
> ...
> Making all in CUTErInterface
> make[3]: Entering directory `/cygdrive/c/Ipopt-3.9.3/
> build/Ipopt/src/Apps/CUTErInterface'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory
> `/cygdrive/c/Ipopt-3.9.3/build/Ipopt/src/Apps/CUTErInterface'
> Making all in AmplSolver
> make[3]: Entering directory
> `/cygdrive/c/Ipopt-3.9.3/build/Ipopt/src/Apps/AmplSolver'
> /bin/sh ../../../../libtool --tag=CXX --mode=link g++  -O3 -pipe -DNDEBUG
> -pedantic-errors -Wimplicit -Wparentheses -Wret
> urn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
> -Wno-unknown-pragmas     -o ipopt.exe  ampl_ipopt
> .o libipoptamplinterface.la
> ../../Interfaces/libipopt.la/cygdrive/c/Ipopt-3.9.3/build/ThirdParty/ASL/libamplsolver.a
> -lm
>      /cygdrive/c/Ipopt-3.9.3/build/ThirdParty/HSL/libcoinhsl.la-L/usr/lib/gcc/i686-pc-cygwin/3.4.4
> -L/usr/lib/gcc/i686-pc
> -cygwin/3.4.4/../../.. -lfrtbegin -lg2c -luser32 -lkernel32 -ladvapi32
> -lshell32   /cygdrive/c/Ipopt-3.9.3/build/ThirdPar
> ty/Lapack/libcoinlapack.la -L/usr/lib/gcc/i686-pc-cygwin/3.4.4
> -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../.. -lfrtbegin -l
> g2c -luser32 -lkernel32 -ladvapi32 -lshell32
> /cygdrive/c/Ipopt-3.9.3/build/ThirdParty/Blas/libcoinblas.la -L/usr/lib/gc
> c/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../..
> -lfrtbegin -lg2c -luser32 -lkernel32 -ladvapi32 -lshe
> ll32  -lm  -ldl
> libtool: link: warning: library `/usr/lib/gcc/i686-pc-cygwin/3.4.4/libg2c.la'
> was moved.
> libtool: link: warning: library `/usr/lib/gcc/i686-pc-cygwin/3.4.4/libg2c.la'
> was moved.
> g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses
> -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
> strings -Wconversion -Wno-unknown-pragmas -o ipopt.exe ampl_ipopt.o
> ./.libs/libipoptamplinterface.a ../../Interfaces/.li
> bs/libipopt.a /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a
> /cygdrive/c/Ipopt-3.9.3/build/ThirdParty/ASL/libamplsolve
> r.a /cygdrive/c/Ipopt-3.9.3/build/ThirdParty/HSL/.libs/libcoinhsl.a
> -L/usr/lib/gcc/i686-pc-cygwin/3.4.4 -L/usr/lib/gcc/i6
> 86-pc-cygwin/3.4.4/../../..
> /cygdrive/c/Ipopt-3.9.3/build/ThirdParty/Lapack/.libs/libcoinlapack.a
> /cygdrive/c/Ipopt-3.9.3
> /build/ThirdParty/Blas/.libs/libcoinblas.a -lfrtbegin
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libg2c.a -luser32 -lkernel32 -lad
> vapi32 -lshell32 -ldl -L/usr/lib/gcc/i686-pc-cygwin/4.3.4
> -L/usr/lib/gcc/i686-pc-cygwin/4.3.4
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNKSs7compareERKSs[std::basic_string<char,
> std::char
> _traits<char>, std::allocator<char>  >::compare(std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  con
> st&) const]+0x0): multiple definition of `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >::compare
> (std::basic_string<char, std::char_traits<char>, std::allocator<char>  >
> const&) const'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d000541.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNKSs7compareEPKc[std::basic_string<char,
> std::char_
> traits<char>, std::allocator<char>  >::compare(char const*) const]+0x0):
> multiple definition of `std::basic_string<char, s
> td::char_traits<char>, std::allocator<char>  >::compare(char const*) const'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d000540.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSsC1Ev[std::basic_string<char,
> std::char_traits<ch
> ar>, std::allocator<char>  >::basic_string()]+0x0): multiple definition of
> `std::basic_string<char, std::char_traits<char>
> , std::allocator<char>  >::basic_string()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001333.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSsC1ERKSs[std::basic_string<char,
> std::char_traits
> <char>, std::allocator<char>  >::basic_string(std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  const
> &)]+0x0): multiple definition of `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >::basic_string(st
> d::basic_string<char, std::char_traits<char>, std::allocator<char>  >
> const&)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001329.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs7reserveEj[std::basic_string<char,
> std::char_tra
> its<char>, std::allocator<char>  >::reserve(unsigned int)]+0x0): multiple
> definition of `std::basic_string<char, std::char
> _traits<char>, std::allocator<char>  >::reserve(unsigned int)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001322.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSsD1Ev[std::basic_string<char,
> std::char_traits<ch
> ar>, std::allocator<char>  >::~basic_string()]+0x0): multiple definition of
> `std::basic_string<char, std::char_traits<char
>> , std::allocator<char>  >::~basic_string()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001348.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs9_M_mutateEjjj[std::basic_string<char,
> std::char
> _traits<char>, std::allocator<char>  >::_M_mutate(unsigned int, unsigned int,
> unsigned int)]+0x0): multiple definition of
> `std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> ::_M_mutate(unsigned int, unsigned int, unsigned i
> nt)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001324.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs6appendEPKcj[std::basic_string<char,
> std::char_t
> raits<char>, std::allocator<char>  >::append(char const*, unsigned
> int)]+0x0): multiple definition of `std::basic_string<c
> har, std::char_traits<char>, std::allocator<char>  >::append(char const*,
> unsigned int)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001286.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSsC1ERKSsjj[std::basic_string<char,
> std::char_trai
> ts<char>, std::allocator<char>  >::basic_string(std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  con
> st&, unsigned int, unsigned int)]+0x0): multiple definition of
> `std::basic_string<char, std::char_traits<char>, std::allo
> cator<char>  >::basic_string(std::basic_string<char, std::char_traits<char>,
> std::allocator<char>  >  const&, unsigned int,
> unsigned int)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001330.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSsC1EPKcRKSaIcE[std::basic_string<char,
> std::char_
> traits<char>, std::allocator<char>  >::basic_string(char const*,
> std::allocator<char>  const&)]+0x0): multiple definition o
> f `std::basic_string<char, std::char_traits<char>, std::allocator<char>
>> ::basic_string(char const*, std::allocator<char>
>   const&)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001326.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs6assignEPKcj[std::basic_string<char,
> std::char_t
> raits<char>, std::allocator<char>  >::assign(char const*, unsigned
> int)]+0x0): multiple definition of `std::basic_string<c
> har, std::char_traits<char>, std::allocator<char>  >::assign(char const*,
> unsigned int)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001291.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs6appendEPKc[std::basic_string<char,
> std::char_tr
> aits<char>, std::allocator<char>  >::append(char const*)]+0x0): multiple
> definition of `std::basic_string<char, std::char_
> traits<char>, std::allocator<char>  >::append(char const*)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001285.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs6appendERKSs[std::basic_string<char,
> std::char_t
> raits<char>, std::allocator<char>  >::append(std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  const&
> )]+0x0): multiple definition of `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >::append(std::basi
> c_string<char, std::char_traits<char>, std::allocator<char>  >  const&)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001287.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs4_Rep8_M_cloneERKSaIcEj[std::basic_string<char,
> std::char_traits<char>, std::allocator<char>
>> ::_Rep::_M_clone(std::allocator<char>  const&, unsigned int)]+0x0): multiple
>   definition of `std::basic_string<char, std::char_traits<char>,
> std::allocator<char>  >::_Rep::_M_clone(std::allocator<cha
> r>  const&, unsigned int)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001275.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs6assignEPKc[std::basic_string<char,
> std::char_tr
> aits<char>, std::allocator<char>  >::assign(char const*)]+0x0): multiple
> definition of `std::basic_string<char, std::char_
> traits<char>, std::allocator<char>  >::assign(char const*)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001290.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs6assignERKSs[std::basic_string<char,
> std::char_t
> raits<char>, std::allocator<char>  >::assign(std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >  const&
> )]+0x0): multiple definition of `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >::assign(std::basi
> c_string<char, std::char_traits<char>, std::allocator<char>  >  const&)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001292.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNSs4_Rep9_S_createEjjRKSaIcE[std::basic_string<char
> , std::char_traits<char>, std::allocator<char>  >::_Rep::_S_create(unsigned
> int, unsigned int, std::allocator<char>  const&
> )]+0x0): multiple definition of `std::basic_string<char,
> std::char_traits<char>, std::allocator<char>  >::_Rep::_S_create(
> unsigned int, unsigned int, std::allocator<char>  const&)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001276.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(fstream-inst.o):(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt
> 13_Ios_Openmode[std::basic_filebuf<char, std::char_traits<char>  >::open(char
> const*, std::_Ios_Openmode)]+0x0): multiple
> definition of `std::basic_filebuf<char, std::char_traits<char>  >::open(char
> const*, std::_Ios_Openmode)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001555.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(fstream-inst.o):(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEED1Ev[std::b
> asic_filebuf<char, std::char_traits<char>  >::~basic_filebuf()]+0x0):
> multiple definition of `std::basic_filebuf<char, std
> ::char_traits<char>  >::~basic_filebuf()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001572.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(fstream-inst.o):(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEEC1Ev[std::b
> asic_filebuf<char, std::char_traits<char>  >::basic_filebuf()]+0x0): multiple
> definition of `std::basic_filebuf<char, std:
> :char_traits<char>  >::basic_filebuf()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001569.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(fstream-inst.o):(.text$_ZNSt14basic_ifstreamIcSt11char_traitsIcEED1Ev[std::
> basic_ifstream<char, std::char_traits<char>  >::~basic_ifstream()]+0x0):
> multiple definition of `std::basic_ifstream<char,
>   std::char_traits<char>  >::~basic_ifstream()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001733.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(fstream-inst.o):(.text$_ZNSt13basic_filebufIcSt11char_traitsIcEE5closeEv[st
> d::basic_filebuf<char, std::char_traits<char>  >::close()]+0x0): multiple
> definition of `std::basic_filebuf<char, std::cha
> r_traits<char>  >::close()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001557.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(io-inst.o):(.text$_ZNSt9basic_iosIcSt11char_traitsIcEE8setstateESt12_Ios_Io
> state[std::basic_ios<char, std::char_traits<char>
>> ::setstate(std::_Ios_Iostate)]+0x0): multiple definition of `std::basi
> c_ios<char, std::char_traits<char>  >::setstate(std::_Ios_Iostate)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002762.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(io-inst.o):(.text$_ZNSt9basic_iosIcSt11char_traitsIcEED2Ev[std::basic_ios<c
> har, std::char_traits<char>  >::~basic_ios()]+0x0): multiple definition of
> `std::basic_ios<char, std::char_traits<char>  >:
> :~basic_ios()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002769.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(io-inst.o):(.text$_ZNSt9basic_iosIcSt11char_traitsIcEE15_M_cache_localeERKS
> t6locale[std::basic_ios<char, std::char_traits<char>
>> ::_M_cache_locale(std::locale const&)]+0x0): multiple definition of
>   `std::basic_ios<char, std::char_traits<char>  >::_M_cache_locale(std::locale
> const&)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002754.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(streambuf-inst.o):(.text$_ZNSt15basic_streambufIcSt11char_traitsIcEED2Ev[st
> d::basic_streambuf<char, std::char_traits<char>  >::~basic_streambuf()]+0x0):
> multiple definition of `std::basic_streambuf
> <char, std::char_traits<char>  >::~basic_streambuf()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002190.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(new_handler.o):(.text+0x40):
> multiple definition of `std::bad_alloc::~bad_a
> lloc()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002750.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(functexcept.o):(.text+0x30):
> multiple definition of `std::__throw_bad_alloc
> ()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002847.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(functexcept.o):(.text+0xc0):
> multiple definition of `std::__throw_ios_failu
> re(char const*)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002855.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(functexcept.o):(.text+0x760):
> multiple definition of `std::__throw_out_of_r
> ange(char const*)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002862.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(functexcept.o):(.text+0x8d0):
> multiple definition of `std::__throw_length_e
> rror(char const*)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002861.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(istream-inst.o):(.text$_ZNSi6ignoreEii[std::basic_istream<char,
> std::char_t
> raits<char>  >::ignore(int, int)]+0x0): multiple definition of
> `std::basic_istream<char, std::char_traits<char>  >::ignore(
> int, int)'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001171.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(istream-inst.o):(.text$_ZNSi3getEv[std::basic_istream<char,
> std::char_trait
> s<char>  >::get()]+0x0): multiple definition of `std::basic_istream<char,
> std::char_traits<char>  >::get()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001162.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(ostream-inst.o):(.text$_ZNSo5flushEv[std::basic_ostream<char,
> std::char_tra
> its<char>  >::flush()]+0x0): multiple definition of `std::basic_ostream<char,
> std::char_traits<char>  >::flush()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001204.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(locale.o):(.text+0x770):
> multiple definition of `std::locale::~locale()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002557.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(basic_file.o):(.text+0x270):
> multiple definition of `std::__basic_file<char
>> ::~__basic_file()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d001491.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(ios_locale.o):(.text+0x0):
> multiple definition of `std::ios_base::_M_init()
> '
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002654.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(ios.o):(.text+0x0): multiple
> definition of `std::ios_base::ios_base()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002671.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(ios.o):(.text+0x2f0): multiple
> definition of `std::ios_base::~ios_base()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002674.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(eh_terminate.o):(.text+0x70):
> multiple definition of `std::terminate()'
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a(d002922.o):(.text+0x0):
> first defined here
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(tinfo.o):(.text+0x20):
> multiple definition of `std::type_info::~type_info()
> '
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: BFD
> (GNU Binutils) 2.20.51.20100410 internal error,
> aborting at /netrel/src/binutils-2.20.51-2/bfd/reloc.c line 5706 in
> bfd_generic_get_relocated_section_contents
>
> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: Please
> report this bug.
>
> collect2: ld returned 1 exit status
> make[3]: *** [ipopt.exe] Error 1
> make[3]: Leaving directory
> `/cygdrive/c/Ipopt-3.9.3/build/Ipopt/src/Apps/AmplSolver'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/cygdrive/c/Ipopt-3.9.3/build/Ipopt/src/Apps'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/cygdrive/c/Ipopt-3.9.3/build/Ipopt'
> make: *** [all-recursive] Error 1
>
>
>
>
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt



More information about the Ipopt mailing list