[Ipopt] Small installation problem
Robinson, Melvin D
melvin.robinson at uta.edu
Wed Aug 20 13:45:05 EDT 2008
Hello,
I'm trying to install Ipopt on my iMac G5 (MacOSand finally got it to
work with MUMPS. On a side note, I spent a long time troubleshooting
installation problems when deciding to be enterprising and changing the
variable in the get.Mumps routine to version 4.8.1-it worked with the
out of the box version of 4.7.3.
Now my problem is adding the ASL code I get the following:
g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
-Wparent heses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
-Wwrite-strings -Wconversi on -o .libs/ipopt ampl_ipopt.o
-Wl,-bind_at_load ./.libs/libamplinterface.a ../
../Interfaces/.libs/libipopt.dylib
/Users/melrobin/Ipopt-3.4.2/ThirdParty/ASL/am plsolver.a -lpthread
-llapack -lblas -lcrt1.10.5.o -L/usr/local/lib/gcc/powerpc-
apple-darwin9.4.0/4.4.0
-L/usr/local/lib/gcc/powerpc-apple-darwin9.4.0/4.4.0/../ ../..
/usr/local/lib/gcc/powerpc-apple-darwin9.4.0/4.4.0/libgfortranbegin.a
/usr /local/lib/libgfortran.dylib -lm -lgcc_s.10.5 -lSystemStubs
-lSystem -ldl
Undefined symbols:
"_strtod_ASL", referenced from:
_Dval_ASL in amplsolver.a(value.o)
_DA_val_ASL in amplsolver.a(value.o)
_D_val_ASL in amplsolver.a(value.o)
_DU_val_ASL in amplsolver.a(value.o)
_jac0dim_ASL in amplsolver.a(jac0dim.o)
_strtod_ASL$non_lazy_ptr in amplsolver.a(func_add.o)
_ascanf_ASL in amplsolver.a(bscanf.o)
_f_OPprecision in amplsolver.a(rops2.o)
_Round in amplsolver.a(rops2.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [ipopt] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I added the -DNDEBUG after looking at some other mailing lists with
similar problems, but this didn't solve it. I also did a configure and
make from the ThirdParty/ASL directory and this worked just fine. Any
ideas on how I can get past this error? It seems some simple way that I
screwed up. BTW, g++ -v reports:
Justin:Ipopt-3.4.2 melrobin$ g++ -v
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc_42/gcc_42-5564~1/src/configure
--disable-checking --enable-werror --prefix=/usr --mandir=/usr/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/
--with-gxx-include-dir=/usr/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin9 --program-prefix=
--host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5564)
There is something screwy between my 4.2.1 and 4.4.0 (while I was
troubleshooting the MUMPS problem), but I don't think that this is
causing the issue.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20080820/82782275/attachment.html
More information about the Ipopt
mailing list