[Coin-ipopt] IPOPT for Mac OS X Tiger
Zhiwen Chong
zhiwen.chong at elf.mcgill.ca
Tue Jul 26 10:53:51 EDT 2005
Hello,
Has anyone here had any success compiling the Jul 26 IPOPT tarball
for Mac OS X Tiger?
I started off with:
./configure --enable-mpcc --enable-tron ; make
But I get this error towards the end:
Making all in AMPL_interface
f77 -O3 -funroll-loops -I./../ipopt -c -o get_amplmu.o
get_amplmu.f
f77 -O3 -funroll-loops -I./../ipopt -c -o ipopt_getdata.o
ipopt_getdata.f
rm -f libipampl.a
ar cru libipampl.a get_amplmu.o ipopt_getdata.o
ranlib libipampl.a
if cc -DHAVE_CONFIG_H -I. -I. -I../../IPOPT/include -I../../
IPOPT/include -I../../IPOPT/include -I../../OTHERS/ASL -I../../
OTHERS/ASL/solvers - I./../ipopt -O3 -funroll-loops -MT
ipoptAMPL.o -MD -MP -MF ".deps/ipoptAMPL.Tpo" -c -o ipoptAMPL.o
ipoptAMPL.c; \
then mv -f ".deps/ipoptAMPL.Tpo" ".deps/ipoptAMPL.Po"; else rm -
f ".deps/ipoptAMPL.Tpo"; exit 1; fi
cc -O3 -funroll-loops -o ipopt ipoptAMPL.o
libipampl.a ../../OTHERS/ASL/amplsolver.a ../../IPOPT/ipopt/
libipcore.a ../../OTHERS/TRON/libiptron.a ../../IPOPT/ipopt/
libipcore.a ../../OTHERS/HSL/libiphsl.a ../../OTHERS/lapack/
libiplapack.a ../../OTHERS/blas/libipblas.a -L/usr/local/lib/gcc/
powerpc- apple-darwin6.8/3.4.2 -L/usr/local/lib/gcc/
powerpc-apple-darwin6.8/3.4.2/../../.. -lfrtbegin -lg2c -lSystem -ldl
ld: Undefined symbols:
restFP
saveFP
make[2]: *** [ipopt] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I thought the problem might be with the fact that I'm using gcc 4.0,
so I did a gcc_select and selected 3.3:
Current default compiler:
gcc version 3.3 20030304 (Apple Computer, Inc. build 1809)
But same deal. Any idea what the problem might be?
Thanks!
P.S. I have cctools installed, and the version of Make I'm using is
GNU Make 3.80 that comes Tiger (not BSD Make). I also have ASL, HSL,
TRON, blas and lapack. My FORTRAN compiler is g77 3.4, from http://
hpc.sourceforge.net. I managed to compile ipopt 2.2.1d under Panther
once, and it went swimmingly. Unfortunately, I don't have a Panther
machine kicking around, so I can't test the latest tarball on Panther.
Zhiwen
--
"If the women don't find you handsome, they should at least find you
handy." - Red Green
More information about the Coin-ipopt
mailing list