Thanks Stefan. I fixed it last night and wasn&#39;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">&lt;<a href="mailto:stefan@math.hu-berlin.de">stefan@math.hu-berlin.de</a>&gt;</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>
&gt; I am trying to compile Bonmin1.1.0 on Ubuntu 8.04. I followed the<br>
&gt; installation guides on obtaining the third party pieces. When the<br>
&gt; compilation reaches the point when it enters the Clp directory, it fails<br>
&gt; complaining of the following:<br>
&gt;<br>
&gt; g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit<br>
&gt; -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith<br>
&gt; -Wwrite-strings -Wconversion -Wno-unknown-pragmas -o .libs/clp ClpMain.o<br>
&gt; CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o unitTest.o<br>
&gt; ./.libs/libClp.so<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so<br>
&gt; -lm -Wl,--rpath -Wl,/home/saqib/Desktop/Bonmin-1.1.0/lib<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `s_stop&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `s_wsfe&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `s_cmp&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `e_wsfe&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `pow_di&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `i_nint&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `s_copy&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `d_sign&#39;<br>
&gt; /home/saqib/Desktop/Bonmin-1.1.0/Clp/../CoinUtils/src/.libs/libCoinUtils.so:<br>
&gt; undefined reference to `do_fio&#39;<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make[2]: *** [clp] Error 1<br>
&gt; make[2]: Leaving directory `/home/saqib/Desktop/Bonmin-1.1.0/Clp/src&#39;<br>
&gt; make[1]: *** [all-recursive] Error 1<br>
&gt; make[1]: Leaving directory `/home/saqib/Desktop/Bonmin-1.1.0/Clp&#39;<br>
&gt; make: *** [all-recursive] Error 1<br>
&gt;<br>
&gt; I tried manually adding -lf2c to the Makefile, which caused the undefined<br>
&gt; symbols to go away, but  make then complained of missing MAIN__.  I&#39;d highly<br>
&gt; appreciate any suggestions.<br>
&gt; Thanks and best regards<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ------------------------------------------------------------------------<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Bonmin mailing list<br>
&gt; <a href="mailto:Bonmin@list.coin-or.org">Bonmin@list.coin-or.org</a><br>
&gt; <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>