compilation problem

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Mon Sep 3 19:57:03 CEST 2001


On Mon, 3 Sep 2001 chrisd at catv7250.extern.kun.nl wrote:
> c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 -c
> numeric.cpp
> -fPIC -DPIC -o .libs/numeric.lo
> /usr/include/g++-v3/bits/stl_construct.h: In function `void
>    std::_Construct(_T1*, const _T2&) [with _T1 = cln::cl_RA, _T2 =
>    cln::cl_RA]':
> numeric.cpp:128:   instantiated from here
> /usr/include/g++-v3/bits/stl_construct.h:78: no matching function for call
> to
>    `cln::cl_RA::operator new(unsigned int, void*&)'
> /usr/local/include/cln/rational_class.h:35: candidates are: static void*
>    cln::cl_RA::operator new(unsigned int)
> /usr/local/include/cln/rational_class.h:36:                 static void*
>    cln::cl_RA::operator new(unsigned int, cln::cl_RA*)
> make[2]: *** [numeric.lo] Error 1
> make[2]: Leaving directory `/home/chrisd/download/GiNaC-0.9.3/ginac'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/chrisd/download/GiNaC-0.9.3'
> make: *** [all-recursive-am] Error 2
> 
> So, the file numeric.cpp does not compile. I also found the source of the
> error. If I comment out all calls to
> 
> 	vector<cln::cl_RA>::push_back(cln::cl_RA)
> 
> the error messages disappear. All calls to this function happen inside
> the function
> 
> 	const numeric bernoulli(const numeric &nn)
> 
> and there are two of these calls. I use gcc 3.0.1 and cln 1.1. Hopefully
> maintainers find this information usefull to correct the error or come up
> with a work around.

Thank you for submitting a bugreport.

This is a known bug, it's been corrected already.   :-)

Upgrade to a newer CLN library.  This problem was fixed in release 1.1.1.

Regards
    -richy.
-- 
Richard Kreckel
<Richard.Kreckel at Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>





More information about the GiNaC-list mailing list