<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="MSHTML 6.00.6000.16441" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am compiling the Symphony stable 5.1 with GCC 
3.4.2 on Msys (v1.0.10). </FONT></DIV>
<DIV><FONT face=Arial size=2>The Symphony code is actually compiled as an 
external to another COIN project (Optimization Services) that depends on it. 
</FONT></DIV>
<DIV><FONT face=Arial size=2>Following is the error that I encountered. 
</FONT></DIV>
<DIV><FONT face=Arial size=2>A month ago, there was a similar message with the 
same error message and a seemingly good solution: </FONT></DIV>
<DIV><A 
href="http://list.coin-or.org/pipermail/coin-symphony/2007-April/000307.html">Coin-symphony] 
Building using cygwin and eclipse</A><FONT face=Arial size=2>&nbsp;(S<EM><FONT 
face="Times New Roman" size=3>un Apr 15 22:07:30 EDT 
2007)</FONT></EM></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>But in my case, I am building on Msys and I was 
not&nbsp;allowed to append the "--enable-deoscompile CXXDEFS=-D__MNO_CYGWIN" to 
run the configure. </FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance for your help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jun Ma</FONT></DIV>
<DIV><FONT face=Arial 
size=2>----------------------------------------------------------------------------------------------------------</FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>$ make<BR>Making all in src<BR>make[1]: Entering 
directory `/d/code/cpp/OScpp/COIN/SYMPHONY/src'<BR>make[2]: Entering directory 
`/d/code/cpp/OScpp/COIN/SYMPHONY/src'<BR>if /bin/sh ../libtool --tag=CC 
--mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo .` -I../inc&nbsp; -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__&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -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`&nbsp;&nbsp; 
-DUSE_CGL_CUTS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-DHAS_RANDOM -DHAS_SRANDOM -D__NONE__ -D__CYGWIN -DCOMPILE_IN_CG -DCOMPILE_IN_CP 
-DCOMPILE_IN_LP -DCOMPILE_IN_TM&nbsp;&nbsp; -O3 -fomit-frame-pointer -pipe 
-DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual 
-Wall -Wpointer-arith -Wwrite-strings -Wconversion&nbsp;&nbsp; 
-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; \<BR>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<BR>&nbsp;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<BR>TreeManager/tm_func.c: In function `int 
tm_initialize(tm_prob*, base_desc*, node_desc*)':<BR>TreeManager/tm_func.c:141: 
error: `srandom' undeclared (first use this 
function)<BR>TreeManager/tm_func.c:141: error: (Each undeclared identifier is 
reported only once for each function it appears in.)<BR>TreeManager/tm_func.c: 
In function `char shall_we_dive(tm_prob*, 
double)':<BR>TreeManager/tm_func.c:1355: error: `random' undeclared (first use 
this function)<BR>TreeManager/tm_func.c: In function `void 
sym_catch_c(int)':<BR>TreeManager/tm_func.c:3161: error: `sigfillset' undeclared 
(first use this function)<BR>TreeManager/tm_func.c:3162: error: `SIG_SETMASK' 
undeclared (first use this function)<BR>TreeManager/tm_func.c:3162: error: 
`sigprocmask' undeclared (first use this function)<BR>make[2]: *** 
[libSym_la-tm_func.lo] Error 1<BR>make[2]: Leaving directory 
`/d/code/cpp/OScpp/COIN/SYMPHONY/src'<BR>make[1]: *** [all-recursive] Error 
1<BR>make[1]: Leaving directory `/d/code/cpp/OScpp/COIN/SYMPHONY/src'<BR>make: 
*** [all-recursive] Error 1<BR></DIV></FONT></BODY></HTML>