[Coin-symphony] Compilation with GCC on MSys

Jun Ma maj at northwestern.edu
Wed May 16 23:52:21 EDT 2007


I am compiling the Symphony stable 5.1 with GCC 3.4.2 on Msys (v1.0.10). 
The Symphony code is actually compiled as an external to another COIN project (Optimization Services) that depends on it. 
Following is the error that I encountered. 
A month ago, there was a similar message with the same error message and a seemingly good solution: 
Coin-symphony] Building using cygwin and eclipse (Sun Apr 15 22:07:30 EDT 2007)

But in my case, I am building on Msys and I was not allowed to append the "--enable-deoscompile CXXDEFS=-D__MNO_CYGWIN" to run the configure. 
Thanks in advance for your help.

Jun Ma
---------------------------------------------------------------------------------------------------------- 
$ make
Making all in src
make[1]: Entering directory `/d/code/cpp/OScpp/COIN/SYMPHONY/src'
make[2]: Entering directory `/d/code/cpp/OScpp/COIN/SYMPHONY/src'
if /bin/sh ../libtool --tag=CC --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../inc  -I`echo /d/code/cpp/OScpp/COIN/SYMPHONY/include` -I`echo /d/code/cpp/OScpp/COIN/Clp/src` -I`echo /d/code/cpp/OScpp/COIN/Osi/src/OsiClp` -I`echo /d/code/cpp/OScpp/COIN/SYMPHONY/../Clp/inc` -D__OSI_CLP__       -I`echo /d/code/cpp/OScpp/COIN/Cgl/src` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglClique` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglDuplicateRow` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglFlowCover` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglGomory` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglKnapsackCover` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglLiftAndProject` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglMixedIntegerRounding` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglMixedIntegerRounding2` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglOddHole` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglPreProcess` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglProbing` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglRedSplit` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglSimpleRounding` -I`echo /d/code/cpp/OScpp/COIN/Cgl/src/CglTwomir` -I`echo /d/code/cpp/OScpp/COIN/CoinUtils/src` -I`echo /d/code/cpp/OScpp/COIN/SYMPHONY/../CoinUtils/inc` -I`echo /d/code/cpp/OScpp/COIN/Osi/src` -I`echo /d/code/cpp/OScpp/COIN/SYMPHONY/../Osi/inc` -I`echo /d/code/cpp/OScpp/COIN/SYMPHONY/../Cgl/inc`   -DUSE_CGL_CUTS           -DHAS_RANDOM -DHAS_SRANDOM -D__NONE__ -D__CYGWIN -DCOMPILE_IN_CG -DCOMPILE_IN_CP -DCOMPILE_IN_LP -DCOMPILE_IN_TM   -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion   -Wno-unknown-pragmas -Wno-write-strings -Wno-sign-compare -Wno-cast-qual -MT libSym_la-tm_func.lo -MD -MP -MF ".deps/libSym_la-tm_func.Tpo" -c -o libSym_la-tm_func.lo `test -f 'TreeManager/tm_func.c' || echo './'`TreeManager/tm_func.c; \
then mv -f ".deps/libSym_la-tm_func.Tpo" ".deps/libSym_la-tm_func.Plo"; else rm -f ".deps/libSym_la-tm_func.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I. -I../inc -I/d/code/cpp/OScpp/COIN/SYMPHONY/include -I/d/code/cpp/OScpp/COIN/Clp/src -I/d/code/cpp/OScpp/COIN/Osi/src/OsiClp -I/d/code/cpp/OScpp/COIN/SYMPHONY/../Clp/inc -D__OSI_CLP__ -I/d/code/cpp/OScpp/COIN/Cgl/src -I/d/code/cpp/OScpp/COIN/Cgl/src/CglClique -I/d/code/cpp/OScpp/COIN/Cgl/src/CglDuplicateRow -I/d/code/cpp/OScpp/COIN/Cgl/src/CglFlowCover -I/d/code/cpp/OScpp/COIN/Cgl/src/CglGomory -I/d/code/cpp/OScpp/COIN/Cgl/src/CglKnapsackCover -I/d/code/cpp/OScpp/COIN/Cgl/src/CglLiftAndProject -I/d/code/cpp/OScpp/COIN/Cgl/src/CglMixedIntegerRounding -I/d/code/cpp/OScpp/COIN/Cgl/src/CglMixedIntegerRounding2 -I/d/code/cpp/OScpp/COIN/Cgl/src/CglOddHole -I/d/code/cpp/OScpp/COIN/Cgl/src/CglPreProcess -I/d/code/cpp/OScpp/COIN/Cgl/src/CglProbing -I/d/code/cpp/OScpp/COIN/Cgl/src/CglRedSplit -I/d/code/cpp/OScpp/COIN/Cgl/src/CglSimpleRounding -I/d/code/cpp/OScpp/COIN/Cgl/src/CglTwomir -I/d/code/cpp/OScpp/COIN/CoinUtils/src -I/d/code/cpp/OScpp/COIN/SYMPHONY/../CoinUtils/inc -I/d/code/cpp/OScpp/COIN/Osi/src -I/d/code/cpp/OScpp/COIN/SYMPHONY/../Osi/inc -I/d/code/cpp/OScpp/COIN/SYMPHONY/../Cgl/inc -DUSE_CGL_CUTS -DHAS_RANDOM -DHAS_SRANDOM -D__NONE__ -D__CYGWIN -DCOMPILE_IN_CG -DCOMPILE_IN_CP -DCOMPILE_IN_LP -DCOMPILE_IN_TM -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-write-strings -Wno-sign-compare -Wno-cast-qual -MT libSym_la-tm_func.lo -MD -MP -MF .deps/libSym_la-tm_func.Tpo -c TreeManager/tm_func.c -o libSym_la-tm_func.o
TreeManager/tm_func.c: In function `int tm_initialize(tm_prob*, base_desc*, node_desc*)':
TreeManager/tm_func.c:141: error: `srandom' undeclared (first use this function)
TreeManager/tm_func.c:141: error: (Each undeclared identifier is reported only once for each function it appears in.)
TreeManager/tm_func.c: In function `char shall_we_dive(tm_prob*, double)':
TreeManager/tm_func.c:1355: error: `random' undeclared (first use this function)
TreeManager/tm_func.c: In function `void sym_catch_c(int)':
TreeManager/tm_func.c:3161: error: `sigfillset' undeclared (first use this function)
TreeManager/tm_func.c:3162: error: `SIG_SETMASK' undeclared (first use this function)
TreeManager/tm_func.c:3162: error: `sigprocmask' undeclared (first use this function)
make[2]: *** [libSym_la-tm_func.lo] Error 1
make[2]: Leaving directory `/d/code/cpp/OScpp/COIN/SYMPHONY/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/d/code/cpp/OScpp/COIN/SYMPHONY/src'
make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/symphony/attachments/20070516/46c7eb56/attachment.html>


More information about the Symphony mailing list