GiNaC build error (non-local fct uses anonymous type)

Richard B. Kreckel kreckel at thep.physik.uni-mainz.de
Mon May 14 20:59:07 CEST 2001


Hi,

On Tue, 15 May 2001, george moudry wrote:
> My computer has SuSE 7.1 with gcc version 2.96 20000731.
>
> Here's the build error:
> 
> 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 inifcns.cpp rm -f .libs/inifcns.lo c++ 
> -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -g -O2 -c inifcns.cpp  
> -fPIC -DPIC -o .libs/inifcns.lo In file included from inifcns.cpp:31: 
> matrix.h:125: non-local function `GiNaC::ex GiNaC::determinant (const 
> GiNaC::matrix &, unsigned int = GiNaC::determinant_algo::automatic)' uses 
> anonymous type make[2]: *** [inifcns.lo] Error 1 make[2]: Leaving directory 
> `/home/gg/down2/math/GiNaC-0.8.3/ginac' make[1]: *** [all-recursive] Error 1 
> make[1]: Leaving directory `/home/gg/down2/math/GiNaC-0.8.3' make: *** 
> [all-recursive-am] Error 2

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.
-- 
Richard Kreckel
<Richard.Kreckel at Uni-Mainz.DE>
<http://wwwthep.physik.uni-mainz.de/~kreckel/>


-
To UNSUBSCRIBE, email to ginac-list at ginac.de with a subject of "unsubscribe".



More information about the GiNaC-list mailing list