[Ipopt] IPOPT under MAC OSX (Darwin Kernel Version 9.4.0)

Olaf Schenk olaf.schenk at unibas.ch
Thu Aug 14 09:22:55 EDT 2008


Hi,

We would like to compile IPOPT under MAC OSX (Darwin Kernel Version 
9.4.0). The configure process runs smoothly but the make process returns 
the following error:

$ ./configure --prefix=/Users/heldmann/src/CoinIpopt CC=gcc-4.2 
CXX=g++-4.2 --cache-file=/dev/null --srcdir=.
## --------- ##
## Platform. ##
## --------- ##
hostname = puck.local
uname -m = i386
uname -r = 9.4.0
uname -s = Darwin
uname -v = Darwin Kernel Version 9.4.0: Mon Jun  9 19:30:53 PDT 2008; 
root:xnu-1228.5.20~1/RELEASE_I386

lib /Users/heldmann/src/CoinIpopt/ThirdParty/ASL/amplsolver.a -llapack 
-lblas -lcrt1.10.5.o 
-L/usr/local/gfortran/lib/gcc/i386-apple-darwin8.10.1/4.4.0 
-L/usr/local/gfortran/lib/gcc/i386-apple-darwin8.10.1/4.4.0/../../.. 
/usr/local/gfortran/lib/gcc/i386-apple-darwin8.10.1/4.4.0/libgfortranbegin.a 
/usr/local/gfortran/lib/libgfortran.dylib -lm -lgcc_s.10.5 -lSystem -ldl
Undefined symbols:
  "_strtod_ASL", referenced from:
      _Dval_ASL in amplsolver.a(value.o)
      _D_val_ASL in amplsolver.a(value.o)
      _DA_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)
      _Round in amplsolver.a(rops2.o)
      _f_OPprecision 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


Thanks!
Olaf


-- 

---
URL: http://fgb.informatik.unibas.ch/people/oschenk/
---



More information about the Ipopt mailing list