<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> 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 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> CC drivers.lo<br> CC driversf.lo<br> CC odedrivers.lo<br> CC odedriversf.lo<br> CC taylor.lo<br> CCLD 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> CXX sparse_fo_rev.lo<br> CXX sparsedrivers.lo<br> CXXLD 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> CC tapedoc.lo<br> CCLD 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> CC adalloc.lo<br> CC malloc.lo<br> CXX 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> from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/bits/char_traits.h:41,<br> from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ios:41,<br> from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/ostream:40,<br> from /usr/lib/gcc/x86_64-redhat-linux/4.4.6/../../../../include/c++/4.4.6/iostream:40,<br> from ../../ADOL-C/include/adolc/adouble.h:30,<br> 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<adouble, badouble>':<br>adouble.cpp:1741: 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<badouble, adouble>':<br>adouble.cpp:1747: 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<adub, adub>':<br>adouble.cpp:1752: 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> from ../../ADOL-C/include/adolc/adouble.h:31,<br> 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<_Tp, _Up>::__type std::fmin(_Tp, _Up) [with _Tp = adouble, _Up = badouble]':<br>adouble.cpp:1741: 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&)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note: adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note: adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note: adub::adub(const adub&)<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&)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note: adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note: adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note: adub::adub(const adub&)<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<_Tp, _Up>::__type std::fmin(_Tp, _Up) [with _Tp = badouble, _Up = adouble]':<br>adouble.cpp:1747: 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&)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note: adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note: adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note: adub::adub(const adub&)<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&)'<br>../../ADOL-C/include/adolc/adouble.h:274: note: candidates are: adub::adub(locint)<br>../../ADOL-C/include/adolc/adouble.h:264: note: adub::adub(double)<br>../../ADOL-C/include/adolc/adouble.h:258: note: adub::adub()<br>../../ADOL-C/include/adolc/adouble.h:252: note: adub::adub(const adub&)<br>../../ADOL-C/include/adolc/adouble.h: In function 'typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::fmin(_Tp, _Up) [with _Tp = adub, _Up = adub]':<br>adouble.cpp:1752: instantiated from here<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&)' 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&)' 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&)' 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: initializing argument 1 of 'typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::fmin(_Tp, _Up) [with _Tp = adub, _Up = adub]'<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&)' 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: initializing argument 2 of 'typename __gnu_cxx::__promote_2<_Tp, _Up>::__type std::fmin(_Tp, _Up) [with _Tp = adub, _Up = adub]'<br>../../ADOL-C/include/adolc/adouble.h:252: error: 'adub::adub(const adub&)' 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>