[Ipopt] error in compile libhsl.dll

Jonathan Hogg jonathan.hogg at stfc.ac.uk
Tue Feb 24 09:16:35 EST 2015


idamax_ is a symbol that shuold be defined by your BLAS library. Check
if your openblas is defining it or not using dependency checker or
similar (it may be that it has more or fewer underscores depending on
how openblas compilation options).

Jonathan.

On 24/02/15 03:27, Ma Yongfeng wrote:
> Hi,every one,
> I meet an error in compile libhsl.dll, would you like to help me?
> coinhsl/common/deps.o:deps.f:(.text+0x19e80): undefined rference to
> ‘idamax_’ (error message here is  in chinese, I translate it here)
> coinhsl/common/deps.o:deps.f:(.text+0x19ee9):    undefined rference to
> ‘idamax_’
> c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe:
> coinhsl/common/deps.o: bad reloc address 0x20 in section `.eh_frame'
> collect2.exe: error: ld returned 1 exit status
> make[1]: *** [libhsl.dll] Error 1
> make: *** [install-am] Error 2
> 
> compile environment,  win7 64 + mingw32 +gcc-4.8.1 + gfortran-4.8.1 +
> openblas
> 
> ./configure --enable-loadable-library --with-blas="-L/lib -lopenblas"
> --with-lapack="-L/lib -lopenblas"
> configure successful, but there is "configure:2177: gcc -V </dev/null >&5
> gcc.exe: error: unrecognized command line option '-V'
> gcc.exe: fatal error: no input files
> compilation terminated."  in config.log.
> 
> make install  will give the error displayed above.
> 
> Thank you for your attention.
> 
> Yongfeng.
> 
> 
> 
> 
> 
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
> 



More information about the Ipopt mailing list