<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><div>Hi,<br></div><div><br></div><div>I tried to build adol-c 2.5.1 and this is what i get:<br></div><div><br></div><div><strong>Mac Mavericks:</strong></div><div><br></div><div>the library works fine but i get this warning:<br></div><div><br></div><div>/ADOL-C-2.5.1/include/adolc/adouble.h:435:17: warning: C++98 requires an accessible copy constructor for class 'adub' when binding a reference to a temporary; was private [-Wbind-to-temporary-copy]<br>&nbsp;return (-coval+v != 0);</div><div><br></div><div><strong>Linux:</strong><br></div><div><br></div><div>the libray doesn't compile (the 2.5.0 did), here the result of the make call:<br></div><div><br></div><div><br><div>Making all in ADOL-C<br>make[1]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C'<br>Making all in src<br>make[2]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src'<br>make&nbsp; all-recursive<br>make[3]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src'<br>Making all in drivers<br>make[4]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src/drivers'<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; drivers.lo<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; driversf.lo<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; odedrivers.lo<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; odedriversf.lo<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; taylor.lo<br>&nbsp; CCLD&nbsp;&nbsp;&nbsp;&nbsp; libdrivers.la<br>make[4]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src/drivers'<br>Making all in sparse<br>make[4]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src/sparse'<br>&nbsp; CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sparse_fo_rev.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sparsedrivers.lo<br>&nbsp; CXXLD&nbsp;&nbsp;&nbsp; libsparse.la<br>make[4]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src/sparse'<br>Making all in tapedoc<br>make[4]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src/tapedoc'<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tapedoc.lo<br>&nbsp; CCLD&nbsp;&nbsp;&nbsp;&nbsp; libtapedoc.la<br>make[4]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src/tapedoc'<br>make[4]: Entering directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src'<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adalloc.lo<br>&nbsp; CC&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; malloc.lo<br>&nbsp; CXX&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adouble.lo<br>In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/stl_algobase.h:64,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/char_traits.h:41,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ios:41,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ostream:40,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iostream:40,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../ADOL-C/include/adolc/adouble.h:30,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from adouble.cpp:24:<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h: In instantiation of '__gnu_cxx::__promote_2&lt;adouble, badouble&gt;':<br>adouble.cpp:1741:&nbsp;&nbsp; instantiated from here<br>../../ADOL-C/include/adolc/adouble.h:74: error: 'badouble::badouble()' is protected<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h:174: error: within this context<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h: In instantiation of '__gnu_cxx::__promote_2&lt;badouble, adouble&gt;':<br>adouble.cpp:1747:&nbsp;&nbsp; instantiated from here<br>../../ADOL-C/include/adolc/adouble.h:74: error: 'badouble::badouble()' is protected<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h:174: error: within this context<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h: In instantiation of '__gnu_cxx::__promote_2&lt;adub, adub&gt;':<br>adouble.cpp:1752:&nbsp;&nbsp; instantiated from here<br>../../ADOL-C/include/adolc/adouble.h:258: error: 'adub::adub()' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h:174: error: within this context<br>../../ADOL-C/include/adolc/adouble.h:258: error: 'adub::adub()' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ext/type_traits.h:174: error: within this context<br>In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/cmath:623,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from ../../ADOL-C/include/adolc/adouble.h:31,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from adouble.cpp:24:<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath: In function 'typename __gnu_cxx::__promote_2&lt;_Tp, _Up&gt;::__type std::fmin(_Tp, _Up) [with _Tp = adouble, _Up = badouble]':<br>adouble.cpp:1741:&nbsp;&nbsp; instantiated from here<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: no matching function for call to 'adub::adub(adouble&amp;)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(const adub&amp;)<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: no matching function for call to 'adub::adub(badouble&amp;)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(const adub&amp;)<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath: In function 'typename __gnu_cxx::__promote_2&lt;_Tp, _Up&gt;::__type std::fmin(_Tp, _Up) [with _Tp = badouble, _Up = adouble]':<br>adouble.cpp:1747:&nbsp;&nbsp; instantiated from here<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: no matching function for call to 'adub::adub(badouble&amp;)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(const adub&amp;)<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: no matching function for call to 'adub::adub(adouble&amp;)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; adub::adub(const adub&amp;)<br>../../ADOL-C/include/adolc/adouble.h: In function 'typename __gnu_cxx::__promote_2&lt;_Tp, _Up&gt;::__type std::fmin(_Tp, _Up) [with _Tp = adub, _Up = adub]':<br>adouble.cpp:1752:&nbsp;&nbsp; instantiated from here<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&amp;)' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: within this context<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&amp;)' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: within this context<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&amp;)' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: within this context<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error:&nbsp;&nbsp; initializing argument 1 of 'typename __gnu_cxx::__promote_2&lt;_Tp, _Up&gt;::__type std::fmin(_Tp, _Up) [with _Tp = adub, _Up = adub]'<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&amp;)' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: within this context<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error:&nbsp;&nbsp; initializing argument 2 of 'typename __gnu_cxx::__promote_2&lt;_Tp, _Up&gt;::__type std::fmin(_Tp, _Up) [with _Tp = adub, _Up = adub]'<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&amp;)' is private<br>/usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/tr1_impl/cmath:541: error: within this context<br>make[4]: *** [adouble.lo] Error 1<br>make[4]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src'<br>make[3]: *** [all-recursive] Error 1<br>make[3]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src'<br>make[2]: *** [all] Error 2<br>make[2]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C/src'<br>make[1]: *** [all-recursive] Error 1<br>make[1]: Leaving directory `/home/dgiorgi/Downloads/ADOL-C-2.5.1/ADOL-C'<br>make: *** [all-recursive] Error 1<br><br></div><div>I wonder why it doesn't compile on linux anymore, hope this can help.<br></div><div><br></div><div>Thanks for all<br></div><div><br></div><div>Daphné<br></div><div><br></div></div></div></div></body></html>