[Ipopt] Ipopt Failed to Compile (OX 10.5.8)

Stefan Vigerske stefan at math.hu-berlin.de
Wed Oct 7 10:37:22 EDT 2009


Hi,

> Im trying to compile Ipopt 3.7.0 on Mac OX 10.5.8, everything works
> fine, I even get the ``configure: Main configuration of Ipopt
> successful'' message after i run the configure script, but when i try to
> run the make i get this error:
> 
> ar cru .libs/libcoinhsl.a .libs/dummy.o .libs/ma27ad.o .libs/mc19ad.o
> ranlib: archive member: .libs/libcoinhsl.a(ma27ad.o) cputype (18) does
> not match previous archive members cputype (7) (all members must match)

Also dummy.o is build from a C source and ma27ad.o from a Fortran source.
Maybe you can check if for both the compiler flags match, i.e. CFLAGS
and FFLAGS should both have -m32 or both have it not.

Stefan

> ranlib: archive member: .libs/libcoinhsl.a(mc19ad.o) cputype (18) does
> not match previous archive members cputype (7) (all members must match)
> ranlib .libs/libcoinhsl.a
> ranlib: archive member: .libs/libcoinhsl.a(ma27ad.o) cputype (18) does
> not match previous archive members cputype (7) (all members must match)
> ranlib: archive member: .libs/libcoinhsl.a(mc19ad.o) cputype (18) does
> not match previous archive members cputype (7) (all members must match)
> make[1]: *** [libcoinhsl.la] Error 1
> make: *** [all-recursive] Error 1
> 
> To be honest Im kind of newbie, tought it was compiling  64-bit on
> 32-bit architecture, so I tried to run with the flag FFLAGS="-O3 -m32
> -g" but i got the same error, what can i do to finish the compilation,
> im think to use it with the MatLab interface.
> 
> Cheers
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan



More information about the Ipopt mailing list