[Coin-discuss] IPOPT ERROR QUESTION

Cezik, Tolga mehmetc at amazon.com
Fri Jun 2 15:59:53 EDT 2006


Hi,

I have built Ipopt somewhat successfully on Darwin before. Currently I'm trying to build it on a RHEL3 m/c. Everything goes fine until compilation of AMPL_interface. I copied the error below:
-----------------------------------------
Making all in AMPL_interface
make_real[2]: Entering directory `/home/mehmetc/COIN/Ipopt/IPOPT/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/usr/local/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; ficc  -O3 -funroll-loops    -o ipopt  ipoptAMPL.o libipampl.a /usr/local/solvers/amplsolver.a  ../../IPOPT/ipopt/libipcore.a ../../OTHERS/TRON/libiptron.a ../../IPOPT/ipopt/libipcore.a ../../OTHERS/HSL/libiphsl.a ../../OTHERS/blas/libipblas.a -L/usr/lib -llapack -L/usr/lib -lblas   -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3 -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3/../../.. -lfrtbegin -lg2c -lm -lgcc_s -ldl
../../IPOPT/ipopt/libipcore.a(mc19_call.o)(.text+0x286): In function `mc19_call__':
: undefined reference to `mc19ad_'
collect2: ld returned 1 exit status
make_real[2]: *** [ipopt] Error 1
make_real[2]: Leaving directory `/home/mehmetc/COIN/Ipopt/IPOPT/AMPL_interface'
make_real[1]: *** [all-recursive] Error 1
make_real[1]: Leaving directory `/home/mehmetc/COIN/Ipopt/IPOPT'
make_real: *** [all-recursive] Error 1
---------------------------------------------
The last cc-line is clearly the cause. Could you offer any help?

Thank you,
--tolga






More information about the Coin-discuss mailing list