[Bonmin] Undefined symbol s_stop

Stefan Vigerske stefan at math.hu-berlin.de
Fri Jul 17 05:29:28 EDT 2009


Hi,

did your configure pick up Blas and Lapack from somewhere in the Ubuntu
installation or do you build it during the Bonmin build?
In the former case, try calling ThirdParty/Blas/get.Blas and
ThirdParty/Lapack/get.Lapack and configure with --with-blas=BUILD and
--with-lapack=BUILD. Then it should be easier for the build system to
figure out the linker flags.

Stefan

Saqib Ilyas wrote:
> I am trying to compile Bonmin1.1.0 on Ubuntu 8.04. I followed the
> installation guides on obtaining the third party pieces. When the
> compilation reaches the point when it enters the Clp directory, it fails
> complaining of the following:
> 
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith
> -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o .libs/clp ClpMain.o
> CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o unitTest.o
> ./.libs/libClp.so
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so
> -lm -Wl,--rpath -Wl,/home/saqib/Desktop/Bonmin-1.1.0/lib
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `s_stop'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `s_wsfe'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `s_cmp'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `e_wsfe'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `pow_di'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `i_nint'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `s_copy'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `d_sign'
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:
> undefined reference to `do_fio'
> collect2: ld returned 1 exit status
> make[2]: *** [clp] Error 1
> make[2]: Leaving directory `/home/saqib/Desktop/Bonmin-1.1.0/Clp/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/saqib/Desktop/Bonmin-1.1.0/Clp'
> make: *** [all-recursive] Error 1
> 
> I tried manually adding -lf2c to the Makefile, which caused the undefined
> symbols to go away, but  make then complained of missing MAIN__.  I'd highly
> appreciate any suggestions.
> Thanks and best regards
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bonmin mailing list
> Bonmin at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/bonmin


-- 
Stefan Vigerske
Humboldt University Berlin, Numerical Mathematics
http://www.math.hu-berlin.de/~stefan



More information about the Bonmin mailing list