[Bonmin-tickets] [Bonmin] #9: Compile error while compiling: Coin-Bonmin/Cbc/src

Bonmin coin-trac at coin-or.org
Tue Mar 6 13:02:29 EST 2007


#9: Compile error while compiling: Coin-Bonmin/Cbc/src
-------------------+--------------------------------------------------------
Reporter:  phines  |       Owner:  somebody  
    Type:  defect  |      Status:  new       
Priority:  major   |   Component:  component1
 Version:          |    Keywords:            
-------------------+--------------------------------------------------------
 I am getting the following error when compiling Cbc under Bonmin:

 make[2]: Entering directory `/home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/src'
 /bin/sh ../../libtool --tag=CXX --mode=link g++  -O3 -fomit-frame-pointer
 -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type
 -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion     -o cbc
 -rpath /home/phines/Projects/ThirdParty/Coin-Bonmin/lib CoinSolve.o
 CbcCbcParam.o unitTestClp.o  libCbc.la /home/phines/Projects/ThirdParty/
 Coin-Bonmin/Cbc/../Cgl/src/libCgl.la /home/phines/Projects/ThirdParty/
 Coin-Bonmin/Cbc/../Osi/src/OsiClp/libOsiClp.la
 /home/phines/Projects/ThirdParty/Coin-Bonmin/Cbc/../Osi/src/libOsi.la
 /home/phines/Projects/ThirdParty/Coin-Bonmin/Cbc/../Clp/src/libClp.la
 /home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/../CoinUtils/src/libCoinUtils.la  `cat
 /home/phines/Projects/ThirdParty/Coin-Bonmin/Cbc/../Clp/clp_addlibs.txt`
 `cat /home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/../Osi/osi_addlibs.txt` `cat /home/phines/Projects/ThirdParty/
 Coin-Bonmin/Cbc/../CoinUtils/coinutils_addlibs.txt` -lm
 g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit
 -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-
 strings -Wconversion -o .libs/cbc CoinSolve.o CbcCbcParam.o unitTestClp.o
 ./.libs/libCbc.so -L/home/phines/lib /home/phines/Projects/ThirdParty/
 Coin-Bonmin/Cbc/../Cgl/src/.libs/libCgl.so
 /home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/../Osi/src/OsiClp/.libs/libOsiClp.so
 /home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/../Osi/src/.libs/libOsi.so /home/phines/Projects/ThirdParty/
 Coin-Bonmin/Cbc/../Clp/src/.libs/libClp.so
 /home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/../CoinUtils/src/.libs/libCoinUtils.so -lf77blas -latlas
 -lcblas -L/usr/lib/gcc-lib/i386-redhat-linux/3.3.2 -L/usr/lib/gcc-lib/
 i386-redhat-linux/3.3.2/../../.. -lfrtbegin -lg2c -lgcc_s -lm -Wl,--rpath
 -Wl,/home/phines/Projects/ThirdParty/Coin-Bonmin/lib
 CoinSolve.o(.text+0x2fa): In function `main':
 : undefined reference to `readAmpl'
 CoinSolve.o(.text+0x4db): In function `main':
 : undefined reference to `freeArrays1'
 CoinSolve.o(.text+0x272c): In function `main':
 : undefined reference to `typeinfo for OsiSolverLink'
 CoinSolve.o(.text+0x275a): In function `main':
 : undefined reference to `OsiSolverLink::nonlinearSLP(int, double)'
 CoinSolve.o(.text+0x2824): In function `main':
 : undefined reference to `ampl_obj_prec'
 CoinSolve.o(.text+0x80fa): In function `main':
 : undefined reference to `OsiSolverLink::OsiSolverLink[in-charge]()'
 CoinSolve.o(.text+0x8104): In function `main':
 : undefined reference to `OsiSolverLink::clone(bool) const'
 CoinSolve.o(.text+0x8138): In function `main':
 : undefined reference to `typeinfo for OsiSolverLink'
 CoinSolve.o(.text+0x8189): In function `main':
 : undefined reference to `OsiSolverLink::load(CoinModel&, bool, int)'
 CoinSolve.o(.text+0x81fe): In function `main':
 : undefined reference to `OsiSolverLink::~OsiSolverLink [in-charge]()'
 CoinSolve.o(.text+0x8cfe): In function `main':
 : undefined reference to `typeinfo for OsiSolverLink'
 CoinSolve.o(.text+0x9cc4): In function `main':
 : undefined reference to `ampl_obj_prec'
 CoinSolve.o(.text+0xab90): In function `main':
 : undefined reference to `typeinfo for OsiSolverLink'
 CoinSolve.o(.text+0xabcb): In function `main':
 : undefined reference to `OsiSolverLink::setMeshSizes(double)'
 CoinSolve.o(.text+0xac63): In function `main':
 : undefined reference to `OsiSolverLink::setFixedPriority(int)'
 CoinSolve.o(.text+0xacc5): In function `main':
 : undefined reference to `CglTemporary::CglTemporary[in-charge]()'
 CoinSolve.o(.text+0xad03): In function `main':
 : undefined reference to `CglTemporary::~CglTemporary [in-charge]()'
 CoinSolve.o(.text+0xb464): In function `main':
 : undefined reference to `OsiSolverLink::linearizedBAB(CglStored*)'
 CoinSolve.o(.text+0xb477): In function `main':
 : undefined reference to `OsiSolverLink::setBiLinearPriorities(int)'
 CoinSolve.o(.text+0xeb3e): In function `main':
 : undefined reference to `ampl_obj_prec'
 CoinSolve.o(.text+0xec9c): In function `main':
 : undefined reference to `writeAmpl'
 CoinSolve.o(.text+0xecaa): In function `main':
 : undefined reference to `freeArrays2'
 CoinSolve.o(.text+0xecb8): In function `main':
 : undefined reference to `freeArgs'
 CoinSolve.o(.text+0x11836): In function `main':
 : undefined reference to `OsiSolverLink::OsiSolverLink[in-charge]()'
 CoinSolve.o(.text+0x11840): In function `main':
 : undefined reference to `OsiSolverLink::clone(bool) const'
 CoinSolve.o(.text+0x11874): In function `main':
 : undefined reference to `typeinfo for OsiSolverLink'
 CoinSolve.o(.text+0x118d6): In function `main':
 : undefined reference to `OsiSolverLink::load(CoinModel&, bool, int)'
 CoinSolve.o(.text+0x11955): In function `main':
 : undefined reference to `OsiSolverLink::~OsiSolverLink [in-charge]()'
 CoinSolve.o(.text+0x11a1d): In function `main':
 : undefined reference to `OsiSolverLink::~OsiSolverLink [in-charge]()'
 CoinSolve.o(.text+0x1277f): In function `main':
 : undefined reference to `CglTemporary::~CglTemporary [in-charge]()'
 CoinSolve.o(.text+0x12bfc): In function `main':
 : undefined reference to `OsiSolverLink::~OsiSolverLink [in-charge]()'
 CoinSolve.o(.text+0x17057): In function `expandKnapsack(CoinModel&, int*,
 int*, int*, int&, CglStored&, int, int, int)':
 : undefined reference to `OsiSolverLink::OsiSolverLink[in-charge]()'
 CoinSolve.o(.text+0x170b6): In function `expandKnapsack(CoinModel&, int*,
 int*, int*, int&, CglStored&, int, int, int)':
 : undefined reference to `OsiSolverLink::load(CoinModel&, bool, int)'
 CoinSolve.o(.text+0x1711b): In function `expandKnapsack(CoinModel&, int*,
 int*, int*, int&, CglStored&, int, int, int)':
 : undefined reference to `OsiSolverLink::setFixedPriority(int)'
 CoinSolve.o(.text+0x177f1): In function `expandKnapsack(CoinModel&, int*,
 int*, int*, int&, CglStored&, int, int, int)':
 : undefined reference to `CoinModel::expandKnapsack(int, int&, double*,
 int*, int*, double*, int) const'
 CoinSolve.o(.text+0x17955): In function `expandKnapsack(CoinModel&, int*,
 int*, int*, int&, CglStored&, int, int, int)':
 : undefined reference to `CoinModel::expandKnapsack(int, int&, double*,
 int*, int*, double*, int) const'
 CoinSolve.o(.text+0x18c5d): In function `afterKnapsack(CoinModel const&,
 int const*, int const*, int const*, int, double const*, double*, int)':
 : undefined reference to `CoinModel::expandKnapsack(int, int&, double*,
 int*, int*, double*, int) const'
 collect2: ld returned 1 exit status
 make[2]: *** [cbc] Error 1
 make[2]: Leaving directory `/home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/phines/Projects/ThirdParty/Coin-
 Bonmin/Cbc'

-- 
Ticket URL: <https://projects.coin-or.org/Bonmin/ticket/9>
Bonmin <http://projects.coin-or.org/Bonmin>
Basic Open-source Nonlinear Mixed INteger programming



More information about the Bonmin-tickets mailing list