[Coin-discuss] linking CBC: undefined symbol: void CoinLpIO::setInfinity on solaris

John J Forrest jjforre at us.ibm.com
Wed Feb 22 09:59:02 EST 2006


Sven,

I would guess solaris is very strict about prototypes.  I have changed 
CoinLpIO .hpp file to const double from  double - does that help?

John Forrest



Sven de Vries <devries at ma.tum.de> 
Sent by: coin-discuss-bounces at list.coin-or.org
02/21/2006 10:47 PM
Please respond to
Discussions about open source software for Operations Research 
<coin-discuss at list.coin-or.org>


To
Discussions about open source software for Operations Research 
<coin-discuss at list.coin-or.org>
cc

Subject
[Coin-discuss] linking CBC: undefined symbol: void CoinLpIO::setInfinity 
on solaris






Hi,

just noticed, that when building CBC on solaris, the linking fails with: 
undefined symbol (full message below).

Any advise?
best regards,
Sven

Creating cbc
CC  -DCOIN_NOT_CYGWIN -DZEROFAULT  -DCOIN_USE_CLP  -g  -DCBC_DEBUG 
-I/home/sungritzmann2/devries/COIN/Cbc/include 
-I/home/sungritzmann2/devries/COIN/include 
-I/home/sungritzmann2/devries/COIN/include 
-I/home/sungritzmann2/devries/COIN/Clp/include 
-I/home/sungritzmann2/devries/COIN/include 
-I/home/sungritzmann2/devries/COIN/include 
-I/usr/applic-m9/packages/bzip2-1.0.2/include/ -I./include -DCOIN_HAS_CBC 
-DCOIN_HAS_CGL -DCOIN_HAS_OSICLP -DCOIN_HAS_CLP -DCOIN_HAS_OSI 
-DCOIN_HAS_COIN -DCOIN_USE_BZLIB -DCOIN_USE_ZLIB -o SunOS-g/cbc 
SunOS-g/CbcMain.o SunOS-g/CbcParam.o SunOS-g/unitTest.o 
-L/home/sungritzmann2/devries/COIN/lib 
-L/home/sungritzmann2/devries/COIN/lib 
-L/home/sungritzmann2/devries/COIN/lib 
-L/home/sungritzmann2/devries/COIN/lib 
-L/home/sungritzmann2/devries/COIN/lib 
-L/home/sungritzmann2/devries/COIN/lib 
-L/usr/applic-m9/packages/bzip2-1.0.2/lib/ 
-R/home/sungritzmann2/devries/COIN/lib 
-R/home/sungritzmann2/devries/COIN/lib 
-R/home/sungritzmann2/devries/COIN/lib 
-R/home/sungritzmann2/devries/COIN/lib 
-R/home/sungritzmann2/devries/COIN/lib 
-R/home/sungritzmann2/devries/COIN/lib 
-R/usr/applic-m9/packages/bzip2-1.0.2/lib/ -lCbc -lCgl -lOsiClp -lClp 
-lOsi -lCoin -lbz2.sdv -lz   -lm
Undefined                       first referenced
  symbol                             in file
void CoinLpIO::setInfinity(const double) 
/home/sungritzmann2/devries/COIN/lib/libOsi.so
ld: fatal: Symbol referencing errors. No output written to SunOS-g/cbc
gmake[3]: *** [SunOS-g/cbc] Error 1
gmake[3]: Leaving directory `/home/sungritzmann2/devries/COIN/Cbc/Test'
gmake[2]: *** [unitTest] Error 2
gmake[2]: Leaving directory `/home/sungritzmann2/devries/COIN/Cbc/Test'
gmake[1]: *** [unitTest] Error 2
gmake[1]: Leaving directory `/home/sungritzmann2/devries/COIN/Cbc'
gmake: *** [cbc] Error 2


_______________________________________________
Coin-discuss mailing list
Coin-discuss at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/coin-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/coin-discuss/attachments/20060222/2fc94bdc/attachment.html>


More information about the Coin-discuss mailing list