GiNaC build error with gcc 3.0 prerelease
george moudry
gmoudry at mediaone.net
Tue May 15 16:10:09 CEST 2001
Thanks for your help.
I installed the "2.96" version because I am using the java front end (gcj).
SuSE 7.1 personal did not come with gcj, so I grabbed this strange version
from rpmfind.net.
Today, I grabbed a new gcc version from
http://www.codesourcery.com/gcc-snapshots,
but the GiNaC build still fails - in a different place.
Instead of the build, would you know where I can find the RPM?
thanks, george
PS. in case someone is interested in results of compilation with gcc pre-3.0,
here is gcc version and ginac build error:
###################################################
gcc -v
Reading specs from /usr/local/bin/../lib/gcc-lib/i386-pc-linux-gnu/3.0/specs
Configured with: ../configure --prefix=/tmp/gcc-20010514-root/usr/local
--enable-shared --enable-threads --disable-checking i386-pc-linux-gnu :
(reconfigured)
Thread model: posix
gcc version 3.0 20010514 (prerelease)
###################################################
make[2]: Entering directory `/home/gg/down2/math/GiNaC-0.8.3/ginac'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I..
-I/usr/local/include -g -O2 -c numeric.cpp
rm -f .libs/numeric.lo
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 -c numeric.cpp
-fPIC -DPIC -o .libs/numeric.lo
/usr/local/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:100: instantiated from here
/usr/local/include/g++-v3/bits/stl_construct.h:48: 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/gg/down2/math/GiNaC-0.8.3/ginac'
On Monday 14 May 2001 11:59, you wrote:
>
> Known bug in GCC. Upgrade your compiler. BTW, did that compiler ship
> with SuSE? I don't believe they are so dumb after the fiasco happened
> to RedHat: <http://gcc.gnu.org/gcc-2.96.html>. Alternatively you may
> try to remove the default argument in the declaration of
> GiNaC::determinant() that causes the trouble. But I don't know what is
> going to hit you next...
>
> > PS. I saw on the ginac.de website that some people were installing an
> > RPM. Would you know where to download it from?
>
> <ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/rpm/>
>
> > PPS. The GiNaC screenshot is incredible! I really did think it crashed my
> > browser.
> >
> :-)
>
> Regards
> -richy.
-
To UNSUBSCRIBE, email to ginac-list at ginac.de with a subject of "unsubscribe".
More information about the GiNaC-list
mailing list