[Bonmin] Undefined symbol s_stop

Saqib Ilyas msaqib at gmail.com
Wed Jul 15 09:28:32 EDT 2009


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

-- 
Muhammad Saqib Ilyas
PhD Student, Computer Science and Engineering
Lahore University of Management Sciences
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/bonmin/attachments/20090715/06dcfe49/attachment.html 


More information about the Bonmin mailing list