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

Richard B. Kreckel kreckel at
Mon May 14 20:59:07 CEST 2001


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: <>.  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 website that some people were installing an RPM.
> Would you know where to download it from?


> PPS. The GiNaC screenshot is incredible! I really did think it crashed my 
> browser.

Richard Kreckel
<Richard.Kreckel at Uni-Mainz.DE>

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

More information about the GiNaC-list mailing list