Thanks Stefan. I fixed it last night and wasn't able to report it yet. I had mistakenly installed two different Fortran compilers. I removed all and made sure only Fortran77 was installed. Then, it built like a charm.<br>
<br><br><div class="gmail_quote">On Fri, Jul 17, 2009 at 2:29 PM, Stefan Vigerske <span dir="ltr"><<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
did your configure pick up Blas and Lapack from somewhere in the Ubuntu<br>
installation or do you build it during the Bonmin build?<br>
In the former case, try calling ThirdParty/Blas/get.Blas and<br>
ThirdParty/Lapack/get.Lapack and configure with --with-blas=BUILD and<br>
--with-lapack=BUILD. Then it should be easier for the build system to<br>
figure out the linker flags.<br>
<br>
Stefan<br>
<div><div></div><div class="h5"><br>
Saqib Ilyas wrote:<br>
> I am trying to compile Bonmin1.1.0 on Ubuntu 8.04. I followed the<br>
> installation guides on obtaining the third party pieces. When the<br>
> compilation reaches the point when it enters the Clp directory, it fails<br>
> complaining of the following:<br>
><br>
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit<br>
> -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith<br>
> -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o .libs/clp ClpMain.o<br>
> CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o unitTest.o<br>
> ./.libs/libClp.so<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so<br>
> -lm -Wl,--rpath -Wl,/home/saqib/Desktop/Bonmin-1.1.0/lib<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `s_stop'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `s_wsfe'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `s_cmp'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `e_wsfe'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `pow_di'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `i_nint'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `s_copy'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `d_sign'<br>
> /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
> undefined reference to `do_fio'<br>
> collect2: ld returned 1 exit status<br>
> make[2]: *** [clp] Error 1<br>
> make[2]: Leaving directory `/home/saqib/Desktop/Bonmin-1.1.0/Clp/src'<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory `/home/saqib/Desktop/Bonmin-1.1.0/Clp'<br>
> make: *** [all-recursive] Error 1<br>
><br>
> I tried manually adding -lf2c to the Makefile, which caused the undefined<br>
> symbols to go away, but make then complained of missing MAIN__. I'd highly<br>
> appreciate any suggestions.<br>
> Thanks and best regards<br>
><br>
><br>
><br>
</div></div>> ------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> Bonmin mailing list<br>
> <a href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a><br>
> <a href="http://list.coin-or.org/mailman/listinfo/bonmin" target="_blank">http://list.coin-or.org/mailman/listinfo/bonmin</a><br>
<font color="#888888"><br>
<br>
--<br>
Stefan Vigerske<br>
Humboldt University Berlin, Numerical Mathematics<br>
<a href="http://www.math.hu-berlin.de/%7Estefan" target="_blank">http://www.math.hu-berlin.de/~stefan</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Muhammad Saqib Ilyas<br>PhD Student, Computer Science and Engineering<br>Lahore University of Management Sciences<br>