[Ipopt] Compilation error, .... /libcoinhsl.so: undefined reference to 'xxx'

Hoam Chung hachung5 at gmail.com
Thu Jul 14 01:56:53 EDT 2011


Hi all,

I'm a newbie in IPOPT, and I'm trying to install IPOPT on my linux machine.
I've collected third party codes and ran configure script, which went smooth
and ended with the following messages:

...
configure: Creating VPATH links for data files
configure: Configuration of Ipopt successful
configure: Main configuration of Ipopt successful

However, compilation got stuck after the following error:

g++ -O3 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses
-Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
-Wno-unknown-pragmas -o .libs/ipopt ampl_ipopt.o
./.libs/libipoptamplinterface.so ../../Interfaces/.libs/libipopt.so
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/ASL/libamplsolver.a
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/Mumps/.libs/libcoinmumps.so
-L/usr/lib/gcc/x86_64-linux-gnu/4.4.3
-L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../..
-L/usr/lib/x86_64-linux-gnu -lpthread
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/HSL/.libs/libcoinhsl.so
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/Metis/.libs/libcoinmetis.so
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/Lapack/.libs/libcoinlapack.so
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/Blas/.libs/libcoinblas.so
-lgfortranbegin -lgfortran -lgcc_s -lm -ldl -Wl,--rpath
-Wl,/home/hchung/ipopt_source/CoinIpopt/build/lib/coin -Wl,--rpath
-Wl,/home/hchung/ipopt_source/CoinIpopt/build/lib/coin/ThirdParty
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/HSL/.libs/libcoinhsl.so:
undefined reference to `stpsv_'
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/HSL/.libs/libcoinhsl.so:
undefined reference to `isamax_'
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/HSL/.libs/libcoinhsl.so:
undefined reference to `sgemm_'
/home/hchung/ipopt_source/CoinIpopt/build/ThirdParty/HSL/.libs/libcoinhsl.so:
undefined reference to `sgemv_'
collect2: ld returned 1 exit status
make[3]: *** [ipopt] Error 1
make[3]: Leaving directory
`/home/hchung/ipopt_source/CoinIpopt/build/Ipopt/src/Apps/AmplSolver'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/hchung/ipopt_source/CoinIpopt/build/Ipopt/src/Apps'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hchung/ipopt_source/CoinIpopt/build/Ipopt'
make: *** [all-recursive] Error 1

I have no idea what's going on and any comment/help would be greatly
appreciated.

I installed MA57 and other third party source codes as described in the
installation manual. I'm running Ubuntu 10.04.2 LTS, kernel version
2.6.32-32-generic on an Intel Core2 Quad CPU Q9300. gcc/g++ version 4.4.3
was installed on this machine.

Thanks in advance.

Hoam.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/ipopt/attachments/20110714/3490b8c4/attachment.html 


More information about the Ipopt mailing list