[Coin-ipopt] Ipopt compilation error
Andreas Waechter
andreasw at watson.ibm.com
Mon Sep 18 09:30:11 EDT 2006
Hi Yunfeng
Please check the content of the file mc19ad.f that you downloaded.
A mistake that is sometimes made is that this file is either empty
(because the download didn't work correctly), or that the wrong package
was downloaded (e.g., ma19 instead of mc19). Please make sure that it
says
SUBROUTINE MC19AD(.....
towards the beginning of the file that you downloaded from Harwell. If
that was the cause, please go into the ThirdParty/HSL subdiretory and type
'make clean' because you type 'make' in the main directory again. (Or
just start a completely new installation.)
I hope this helps. If that still doesn't work, please submit a ticket at
the Ipopt home page, where you attach the file config.log from the Ipopt
subdirectory (subdirectory of the directory where you typed 'make', not
from the same directory where you type 'make' to compile the Ipopt
package).
Andreas
On Sun, 17 Sep 2006, Yunfeng Lin wrote:
> Hi,
>
> I am installing the newest version of Ipopt (downloading by svn) in a
> slackware linux machine. The following are the compilation error.
>
> Making all in AmplSolver
> make[3]: Entering directory `/home/sim/ylin/CoinIpopt/Ipopt/src/Apps/
> AmplSolver'
> /bin/sh ../../../libtool --tag=CXX --mode=link g++ -O3 -fomit-frame-pointer
> -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type
> -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -o ipopt
> ampl_ipopt.o libamplinterface.la ../../Interfaces/libipopt.la
> /home/sim/ylin/CoinIpopt/ThirdParty/ASL/amplsolver.a -ldl -lm
> -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6 -
> L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-
> slackware-linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../..
> -lfrtbegin -lg2c -lm -lgcc_s
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings
> -Wconversion -o .libs/ipopt ampl_ipopt.o ./.libs/libamplinterface.a
> -L/usr/i486-slackware-linux/bin -L/usr/i486-slackware-linux/lib
> -L/usr/lib/gcc-lib/i486-slackware-linux/../../../i486-slackware-linux/lib
> -L/usr/lib/gcc-lib/i486-slackware-linux/../.. -lc
> ../../Interfaces/.libs/libipopt.so /usr/lib/./libstdc++.so
> /home/sim/ylin/CoinIpopt/ThirdParty/ASL/amplsolver.a -ldl
> -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6 -L/
> usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-
> linux/lib -L/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../.. -lfrtbegin
> /usr/lib/./libg2c.so -lm -lgcc_s -Wl,--rpath -Wl,/home/sim/ylin/CoinIpopt/lib
> -Wl,--rpath -Wl,/usr/lib/.
> ../../Interfaces/.libs/libipopt.so: undefined reference to `mc19ad_'
> collect2: ld returned 1 exit status
>
> By searching on google, I found another person had the similar problem as me
> before.
> http://list.coin-or.org/pipermail/coin-discuss/2006-June/002107.html
>
> Could you help me? Thanks.
>
> Yunfeng
> _______________________________________________
> Coin-ipopt mailing list
> Coin-ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/coin-ipopt
>
More information about the Coin-ipopt
mailing list