<div dir="ltr">Hi all,<div><br></div><div>I believe I&#39;ve figured out the issue. It has to do with some combined stale state and setting the environment variable CPLUS_INCLUDE_PATH. This came about after trying to install a package on which cbc is a dependency on a fresh Mac OSX 10.9.3 box. I used our conda recipe (<a href="https://binstar.org/cyclus/coincbc">https://binstar.org/cyclus/coincbc</a>) to install coin, ran into some separate problems, and then tried to install from source. I saw the exact same error (CLP_VERSION not declared), noticed that I had set the CPLUS_INCLUDE_PATH environment variable, unset it, and was able to build. I was then able to do the same on my ubuntu box. Thanks for everyone who took a look at this.</div>

<div><br></div><div>Cheers,</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 9:21 AM, Matthew Gidden <span dir="ltr">&lt;<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Ted,<br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="">On Tue, Jul 29, 2014 at 11:38 PM, Ted Ralphs <span dir="ltr">&lt;<a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">As Yann pointed out, the symbol XXX_BUILD is defined during the build process for each of the projects in order to indicate that config.h should be included. When *linking* to an already built project, one should instead include config_xxx.h. The difference between these two files is that config.h contains internally defined symbols that might conflict when linking to multiple projects. The logic of all of this is contained in the file ConfigXXX.h, which in turn includes the proper additional header files.<div>




<br></div><div>It seems clear that the wrong config.h is getting included somehow. </div></div></blockquote></div><div>Agreed. </div><div class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr"><div>It shouldn&#39;t be difficult to track it down. If I recall correctly, there are some arguments to gcc that give lots of information about precisely which files are being included during the build process. </div>


</div></blockquote></div><div>A condensed output of all header files used is as follows:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


09:14 blackbeard-air:~/software/coin-Cbc-2.8/build/Clp/src$ g++ -H -DHAVE_CONFIG_H -I. -I`echo ../../../Clp/src`  -I/home/gidden/software/coin-Cbc-2.8/CoinUtils/src -I/home/gidden/software/coin-Cbc-2.8/build/CoinUtils/src    -DCOIN_HAS_CLP     -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long   -DCLP_BUILD -MT Clp_C_Interface.lo -MD -MP -MF &quot;.deps/Clp_C_Interface.Tpo&quot; -c -o Clp_C_Interface.lo ../../../Clp/src/Clp_C_Interface.cpp &amp;&gt; gcc.out; grep [Cc]onfig gcc.out<br>


.. /usr/include/x86_64-linux-gnu/c++/4.8/bits/c++config.h<br>.. /home/gidden/software/coin-Cbc-2.8/CoinUtils/src/CoinUtilsConfig.h<br>... /home/gidden/software/coin-Cbc-2.8/build/CoinUtils/src/config_coinutils.h<br>..... /usr/include/_G_config.h<br>


. ../../../Clp/src/ClpConfig.h<br>.. /home/gidden/software/coin-Cbc-2.8/build/CoinUtils/src/config.h<br>/home/gidden/software/coin-Cbc-2.8/build/CoinUtils/src/config.h</blockquote><div>I see ClpConfig.h, but no other related Clp config files.</div>

<div class="">
<div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>I can help if someone can give me access to a machine with 14.04 on it or I can probably just stand one up on Google Compute Engine.</div>


</div></blockquote></div><div>I think spinning up a VM will probably be easiest. For the moment, I&#39;ll just use the apt-getable version. Ubuntu 14.04 has caused woes for other projects I work on, so I would not be surprised if there is an issue here (i.e., I&#39;m desperately hoping it&#39;s not user error =) ). </div>

<div><div class="h5">
<div><br></div><div>Cheers,</div><div>Matt</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">


<div dir="ltr">

<div><br></div><div>Cheers,</div><div><br></div><div>Ted</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 11:39 PM, Matthew Gidden <span dir="ltr">&lt;<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi all,<div><br></div><div>A final report -- as best as I can tell, this is an Ubuntu-14.04 specific issue. On a fresh ubuntu 14.04 box, I was able to install coincbc-dev through synaptic but get the CLP_VERSION error when trying to install from source. The last time I built form source I was on 13.10 and was able to build from source just fine. </div>






<div><br></div><div>Is anyone else on ubuntu 14.04 able to confirm/disconfirm this? Unfortunately (for me), my research group members on 14.04 are on vacation, so I can&#39;t confirm locally.</div><div><br></div><div>Cheers,</div>






</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 29, 2014 at 10:32 AM, Matthew Gidden <span dir="ltr">&lt;<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>&gt;</span> wrote:<br>






<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr">Hi Yann,<br><div class="gmail_extra"><br><br>


<div class="gmail_quote"><div>On Tue, Jul 29, 2014 at 10:12 AM,  <span dir="ltr">&lt;<a href="mailto:ycollette.nospam@free.fr" target="_blank">ycollette.nospam@free.fr</a>&gt;</span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">First I include the directory which contains the generated config.h and config_clp.h and then the other directories.<br>








ClpConfig.h looks for config.h and if, instead of finding the config.h file of clp, it finds the config.h of Cbc, then, CLP_VERSION* will not be defined.<br></blockquote></div><div>I suspect my issue is at least related to this. If I use the same compile command, but remove  `-DCLP_BUILD` (i.e., it looks for config_clp.h rather than config.h), then everything builds fine. </div>






<div><div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><br>
YC<br>
<br>
<br>
----- Mail original -----<br>
De: &quot;Matthew Gidden&quot; &lt;<a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a>&gt;<br>
</div>À: &quot;ycollette.nospam&quot; &lt;<a href="mailto:ycollette.nospam@free.fr" target="_blank">ycollette.nospam@free.fr</a>&gt;<br>
Cc: &quot;cbc&quot; &lt;<a href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a>&gt;<br>
Envoyé: Mardi 29 Juillet 2014 16:57:38<br>
<div><div>Objet: Re: [Cbc] CLP_VERSION build error<br>
<br>
<br>
<br>
Hi Yann,<br>
<br>
<br>
<br>
On Tue, Jul 29, 2014 at 9:46 AM, &lt; <a href="mailto:ycollette.nospam@free.fr" target="_blank">ycollette.nospam@free.fr</a> &gt; wrote:<br>
<br>
<br>
I meet the same problem with cbc trunk compiled with cmake. But I fixed the problem by ordering correctly the gcc -I path.<br>
<br>
What ordering do you use?<br>
<br>
<br>
FWIW, I can replicate the error with the cherry-picked g++ command:<br>
<br>
<br>
09:55 Kermit:~/software/coin-Cbc-trunk/build/Clp/src$ g++ -DHAVE_CONFIG_H -I. -I`echo ../../../Clp/src` -I/home/gidden/software/tmp/tst/CoinUtils/src -I/home/gidden/software/tmp/tst/build/CoinUtils/src -DCOIN_HAS_CLP -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCLP_BUILD -MT Clp_C_Interface.lo -MD -MP -MF &quot;.deps/Clp_C_Interface.Tpo&quot; -c -o Clp_C_Interface.lo ../../../Clp/src/Clp_C_Interface.cpp;<br>








../../../Clp/src/Clp_C_Interface.cpp: In function ‘const char* Clp_Version()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:206:11: error: ‘CLP_VERSION’ was not declared in this scope<br>
return CLP_VERSION;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘int Clp_VersionMajor()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:211:11: error: ‘CLP_VERSION_MAJOR’ was not declared in this scope<br>
return CLP_VERSION_MAJOR;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘int Clp_VersionMinor()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:215:11: error: ‘CLP_VERSION_MINOR’ was not declared in this scope<br>
return CLP_VERSION_MINOR;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘int Clp_VersionRelease()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:219:11: error: ‘CLP_VERSION_RELEASE’ was not declared in this scope<br>
return CLP_VERSION_RELEASE;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘const char* Clp_Version()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:207:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘int Clp_VersionMajor()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:212:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘int Clp_VersionMinor()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:216:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function ‘int Clp_VersionRelease()’:<br>
../../../Clp/src/Clp_C_Interface.cpp:220:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
In file included from ../../../Clp/src/ClpModel.hpp:23:0,<br>
from ../../../Clp/src/ClpSimplex.hpp:16,<br>
from ../../../Clp/src/Clp_C_Interface.cpp:14:<br>
/home/gidden/software/tmp/tst/CoinUtils/src/CoinFinite.hpp: At global scope:<br>
/home/gidden/software/tmp/tst/CoinUtils/src/CoinFinite.hpp:17:14: warning: ‘COIN_DBL_MIN’ defined but not used [-Wunused-variable]<br>
const double COIN_DBL_MIN = std::numeric_limits&lt;double&gt;::min();<br>
^<br>
/home/gidden/software/tmp/tst/CoinUtils/src/CoinFinite.hpp:19:14: warning: ‘COIN_INT_MAX’ defined but not used [-Wunused-variable]<br>
const int COIN_INT_MAX = std::numeric_limits&lt;int&gt;::max();<br>
^<br>
/home/gidden/software/tmp/tst/CoinUtils/src/CoinFinite.hpp:20:14: warning: ‘COIN_INT_MAX_AS_DOUBLE’ defined but not used [-Wunused-variable]<br>
const double COIN_INT_MAX_AS_DOUBLE = std::numeric_limits&lt;int&gt;::max();<br>
^<br>
<br>
<br>
Cheers,<br>
Matt<br>
<br>
<br>
<br>
<br>
<br>
I have not compiled Cbc trunk using autoconf, just using cmake.<br>
<br>
Which version of gcc is it ?<br>
<br>
YC<br>
<br>
<br>
----- Mail original -----<br>
De: &quot;Matthew Gidden&quot; &lt; <a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a> &gt;<br>
À: &quot;Ted Ralphs&quot; &lt; <a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a> &gt;<br>
Cc: &quot;cbc&quot; &lt; <a href="mailto:cbc@list.coin-or.org" target="_blank">cbc@list.coin-or.org</a> &gt;<br>
Envoyé: Mardi 29 Juillet 2014 16:21:53<br>
Objet: Re: [Cbc] CLP_VERSION build error<br>
<br>
<br>
<br>
<br>
Hi Miles and Ted,<br>
<br>
<br>
First of all, I agree this is an unexpected error -- I&#39;ve built coin from source previously with no issue. There is probably something up on my end (I&#39;m checking env vars this morning), but I wanted to ping the list to see if anyone had seen this before. Thanks for responding!<br>








<br>
<br>
Regarding the existence of /user/include/coin:<br>
<br>
<br>
09:08 Kermit:~/software/coin-Cbc-trunk/build$ ls /usr/include/coin<br>
ls: cannot access /usr/include/coin: No such file or directory<br>
<br>
<br>
Note that I install my packages to ~/.local and have removed it when I have tried to build (below).<br>
<br>
On Mon, Jul 28, 2014 at 9:31 PM, Ted Ralphs &lt; <a href="mailto:ted@lehigh.edu" target="_blank">ted@lehigh.edu</a> &gt; wrote:<br>
<br>
<br>
<br>
Hi Matt,<br>
<br>
<br>
I have never seen this behavior and I routinely build Cbc on most common platforms, including Ubuntu. I can&#39;t really think of a scenario in which those variables could be undefined during the build unless perhaps the configuration failed in some way and make was executed anyway? Could you send or post the contents of /home/gidden/software/coin- Cbc-trunk/build/Clp/src/config.h?<br>








<br>
<br>
I checked this yesterday to confirm -- everything looks to be in order.<br>
<br>
09:02 Kermit:~/software/coin-Cbc-trunk/build$ cat Clp/src/config.h<br>
<br>
<br>
/* src/config.h. Generated by configure. */<br>
/* src/ <a href="http://config.h.in" target="_blank">config.h.in</a> . Generated from <a href="http://configure.ac" target="_blank">configure.ac</a> by autoheader. */<br>
<br>
<br>
/* Define to 1, 2, 3, or 4 if Aboca should be build. */<br>
/* #undef CLP_HAS_ABC */<br>
/* SVN revision number of project */<br>
#define CLP_SVN_REV 2043<br>
/* Version number of project */<br>
#define CLP_VERSION &quot;trunk&quot;<br>
/* Major Version number of project */<br>
#define CLP_VERSION_MAJOR 9999<br>
/* Minor Version number of project */<br>
#define CLP_VERSION_MINOR 9999<br>
/* Release Version number of project */<br>
#define CLP_VERSION_RELEASE 9999<br>
/* Define to the debug sanity check level (0 is no test) */<br>
#define COIN_CLP_CHECKLEVEL 0<br>
/* Define to the debug verbosity level (0 is no output) */<br>
#define COIN_CLP_VERBOSITY 0<br>
/* Define to 1 if the AMD package is available */<br>
/* #undef COIN_HAS_AMD */<br>
/* Define to 1 if the ASL package is available */<br>
/* #undef COIN_HAS_ASL */<br>
/* If defined, the BLAS Library is available. */<br>
/* #undef COIN_HAS_BLAS */<br>
/* Define to 1 if the CHOLMOD package is available */<br>
/* #undef COIN_HAS_CHOLMOD */<br>
/* Define to 1 if the CoinUtils package is available */<br>
#define COIN_HAS_COINUTILS 1<br>
/* Define to 1 if the Glpk package is available */<br>
/* #undef COIN_HAS_GLPK */<br>
/* Define to 1 if the Mumps package is available */<br>
/* #undef COIN_HAS_MUMPS */<br>
/* Define to 1 if the Netlib package is available */<br>
/* #undef COIN_HAS_NETLIB */<br>
/* Define to 1 if the Osi package is available */<br>
#define COIN_HAS_OSI 1<br>
/* Define to 1 if the OsiTests package is available */<br>
#define COIN_HAS_OSITESTS 1<br>
/* Define to 1 if readline is available */<br>
/* #undef COIN_HAS_READLINE */<br>
/* Define to 1 if the Sample package is available */<br>
#define COIN_HAS_SAMPLE 1<br>
/* Define to 1 if the WSMP package is available */<br>
/* #undef COIN_HAS_WSMP */<br>
/* Define to dummy `main&#39; function (if any) required to link to the Fortran<br>
libraries. */<br>
/* #undef F77_DUMMY_MAIN */<br>
/* Define to a macro mangling the given C identifier (in lower and upper<br>
case), which must not contain underscores, for linking with Fortran. */<br>
/* #undef F77_FUNC */<br>
/* As F77_FUNC, but for C identifiers containing underscores. */<br>
/* #undef F77_FUNC_ */<br>
/* Define if F77 and FC dummy `main&#39; functions are identical. */<br>
/* #undef FC_DUMMY_MAIN_EQ_F77 */<br>
/* Define to 1 if you have the &lt;cfloat&gt; header file. */<br>
#define HAVE_CFLOAT 1<br>
/* Define to 1 if you have the &lt;cieeefp&gt; header file. */<br>
/* #undef HAVE_CIEEEFP */<br>
/* Define to 1 if you have the &lt;cmath&gt; header file. */<br>
#define HAVE_CMATH 1<br>
/* Define to 1 if you have the &lt;dlfcn.h&gt; header file. */<br>
#define HAVE_DLFCN_H 1<br>
/* Define to 1 if you have the &lt;float.h&gt; header file. */<br>
/* #undef HAVE_FLOAT_H */<br>
/* Define to 1 if you have the &lt;ieeefp.h&gt; header file. */<br>
/* #undef HAVE_IEEEFP_H */<br>
/* Define to 1 if you have the &lt;inttypes.h&gt; header file. */<br>
#define HAVE_INTTYPES_H 1<br>
/* Define to 1 if you have the &lt;math.h&gt; header file. */<br>
/* #undef HAVE_MATH_H */<br>
/* Define to 1 if you have the &lt;memory.h&gt; header file. */<br>
#define HAVE_MEMORY_H 1<br>
/* Define to 1 if you have the &lt;readline/readline.h&gt; header file. */<br>
/* #undef HAVE_READLINE_READLINE_H */<br>
/* Define to 1 if you have the &lt;stdint.h&gt; header file. */<br>
#define HAVE_STDINT_H 1<br>
/* Define to 1 if you have the &lt;stdlib.h&gt; header file. */<br>
#define HAVE_STDLIB_H 1<br>
/* Define to 1 if you have the &lt;strings.h&gt; header file. */<br>
#define HAVE_STRINGS_H 1<br>
/* Define to 1 if you have the &lt;string.h&gt; header file. */<br>
#define HAVE_STRING_H 1<br>
/* Define to 1 if you have the &lt;sys/stat.h&gt; header file. */<br>
#define HAVE_SYS_STAT_H 1<br>
/* Define to 1 if you have the &lt;sys/types.h&gt; header file. */<br>
#define HAVE_<br>
/* Name of package */<br>
#define PACKAGE &quot;clp&quot;<br>
/* Define to the address where bug reports for this package should be sent. */<br>
#define PACKAGE_BUGREPORT &quot; <a href="mailto:clp@list.coin-or.org" target="_blank">clp@list.coin-or.org</a> &quot;<br>
/* Define to the full name of this package. */<br>
#define PACKAGE_NAME &quot;Clp&quot;<br>
/* Define to the full name and version of this package. */<br>
#define PACKAGE_STRING &quot;Clp trunk&quot;<br>
/* Define to the one symbol short name of this package. */<br>
#define PACKAGE_TARNAME &quot;clp&quot;<br>
/* Define to the version of this package. */<br>
#define PACKAGE_VERSION &quot;trunk&quot;<br>
/* Define to 1 if you have the ANSI C header files. */<br>
#define STDC_HEADERS 1<br>
/* Version number of package */<br>
#define VERSION &quot;trunk&quot;SYS_TYPES_H 1<br>
/* Define to 1 if you have the &lt;unistd.h&gt; header file. */<br>
#define HAVE_UNISTD_H 1<br>
/* Name of package */<br>
#define PACKAGE &quot;clp&quot;<br>
/* Define to the address where bug reports for this package should be sent. */<br>
#define PACKAGE_BUGREPORT &quot; <a href="mailto:clp@list.coin-or.org" target="_blank">clp@list.coin-or.org</a> &quot;<br>
/* Define to the full name of this package. */<br>
#define PACKAGE_NAME &quot;Clp&quot;<br>
/* Define to the full name and version of this package. */<br>
#define PACKAGE_STRING &quot;Clp trunk&quot;<br>
/* Define to the one symbol short name of this package. */<br>
#define PACKAGE_TARNAME &quot;clp&quot;<br>
/* Define to the version of this package. */<br>
#define PACKAGE_VERSION &quot;trunk&quot;<br>
/* Define to 1 if you have the ANSI C header files. */<br>
#define STDC_HEADERS 1<br>
/* Version number of package */<br>
#define VERSION &quot;trunk&quot;<br>
<br>
<br>
<br>
<br>
<br>
That is where they should be defined. You might as well also include /home/gidden/software/coin- Cbc-trunk/build/Clp/config.log.<br>
Clp/config.log is longer; I put the results here: <a href="https://gist.github.com/gidden/d7050c3fddcc7f5572e8" target="_blank">https://gist.github.com/gidden/d7050c3fddcc7f5572e8</a> .<br>
<br>
<br>
Thanks again for your interest. I&#39;m having a colleague try and see if he can replicate on a similar system.<br>
<br>
<br>
Cheers,<br>
Matt<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
Cheers,<br>
<br>
<br>
Ted<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
On Mon, Jul 28, 2014 at 12:14 PM, Matthew Gidden &lt; <a href="mailto:gidden@wisc.edu" target="_blank">gidden@wisc.edu</a> &gt; wrote:<br>
<br>
<br>
<br>
<br>
<br>
Hi all,<br>
<br>
<br>
I&#39;m running ubuntu 14.04 and get the following error when building from source (I&#39;ve tried stable 2.8, releases 2.8.7-10, and trunk -- this is from trunk, but they all fail to build with the same error). I have replicated this issue on a separate machine, also running ubuntu 14.04. I am curious if anyone else has seen this before? I&#39;ve tried to visually inspect the related config files, and they appear to be fine. Both of these systems have had coin installed on them before; however, I made sure to remove it (manually -- there is no make uninstall =( ) from one to confirm.<br>








<br>
<br>
I checkout and install normally<br>
<br>
<br>
<br>
$ svn co &lt;trunk&gt;<br>
$ cd &lt;trunk&gt;; mkdir build; cd build<br>
$ ./configure --prefix $HOME/.local<br>
$ make<br>
<br>
<br>
The error is as follows:<br>
<br>
<br>
<br>
g++ -DHAVE_CONFIG_H -I. -I../../../Clp/src -I/home/gidden/software/coin-Cbc-trunk/CoinUtils/src -I/home/gidden/software/coin-Cbc-trunk/build/CoinUtils/src -DCOIN_HAS_CLP -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DCLP_BUILD -MT Clp_C_Interface.lo -MD -MP -MF .deps/Clp_C_Interface.Tpo -c ../../../Clp/src/Clp_C_Interface.cpp -fPIC -DPIC -o .libs/Clp_C_Interface.o<br>








../../../Clp/src/Clp_C_Interface.cpp: In function &#39;const char* Clp_Version()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:206:11: error: &#39;CLP_VERSION&#39; was not declared in this scope<br>
return CLP_VERSION;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMajor()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:211:11: error: &#39;CLP_VERSION_MAJOR&#39; was not declared in this scope<br>
return CLP_VERSION_MAJOR;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMinor()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:215:11: error: &#39;CLP_VERSION_MINOR&#39; was not declared in this scope<br>
return CLP_VERSION_MINOR;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionRelease()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:219:11: error: &#39;CLP_VERSION_RELEASE&#39; was not declared in this scope<br>
return CLP_VERSION_RELEASE;<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;const char* Clp_Version()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:207:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMajor()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:212:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionMinor()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:216:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
../../../Clp/src/Clp_C_Interface.cpp: In function &#39;int Clp_VersionRelease()&#39;:<br>
../../../Clp/src/Clp_C_Interface.cpp:220:1: warning: control reaches end of non-void function [-Wreturn-type]<br>
}<br>
^<br>
In file included from ../../../Clp/src/ClpModel.hpp:23:0,<br>
from ../../../Clp/src/ClpSimplex.hpp:16,<br>
from ../../../Clp/src/Clp_C_Interface.cpp:14:<br>
/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp: At global scope:<br>
/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:17:14: warning: &#39;COIN_DBL_MIN&#39; defined but not used [-Wunused-variable]<br>
const double COIN_DBL_MIN = std::numeric_limits&lt;double&gt;::min();<br>
^<br>
/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:19:14: warning: &#39;COIN_INT_MAX&#39; defined but not used [-Wunused-variable]<br>
const int COIN_INT_MAX = std::numeric_limits&lt;int&gt;::max();<br>
^<br>
/home/gidden/software/coin-Cbc-trunk/CoinUtils/src/CoinFinite.hpp:20:14: warning: &#39;COIN_INT_MAX_AS_DOUBLE&#39; defined but not used [-Wunused-variable]<br>
const double COIN_INT_MAX_AS_DOUBLE = std::numeric_limits&lt;int&gt;::max();<br>
^<br>
make[3]: *** [Clp_C_Interface.lo] Error 1<br>
make[3]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp/src&#39;<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp/src&#39;<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/gidden/software/coin-Cbc-trunk/build/Clp&#39;<br>
make: *** [all-recursive] Error 1<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
--<br>
<br>
Matthew Gidden<br>
Ph.D. Candidate, Nuclear Engineering<br>
The University of Wisconsin -- Madison<br>
Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br>
<br>
<br>
_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Dr. Ted Ralphs<br>
Associate Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>
ted &#39;at&#39; lehigh &#39;dot&#39; edu<br>
<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
<br>
<br>
<br>
<br>
--<br>
<br>
Matthew Gidden<br>
Ph.D. Candidate, Nuclear Engineering<br>
The University of Wisconsin -- Madison<br>
Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br>
<br>
_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br>
_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br>
<br>
<br>
<br>
--<br>
<br>
Matthew Gidden<br>
Ph.D. Candidate, Nuclear Engineering<br>
The University of Wisconsin -- Madison<br>
Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>

Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br></div></div>

</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br>




</div></div>
</div>
</div></div><br>_______________________________________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/cbc" target="_blank">http://list.coin-or.org/mailman/listinfo/cbc</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br><a href="tel:%28610%29%20628-1280" value="+16106281280" target="_blank">(610) 628-1280</a><br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br>


<a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>


</div>
</div></div></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>

Ph. <a href="tel:225.892.3192" value="+12258923192" target="_blank">225.892.3192</a><br></div></div>

</div></div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>Ph. 225.892.3192<br></div></div>
</div>