Bill Allombert on Mon, 20 Jan 2003 11:54:18 +0100


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: how to free pari's memory


On Mon, Jan 20, 2003 at 10:49:56AM +0100, Ramón Casero Cañas wrote:

> g++ -o lib/gamatrix.o -c -Wall   -ftemplate-depth-50 gamatrix.cpp
> gamatrix.cpp: In function `bool inverse_mat_mod2(bool **, unsigned int,
> bool)':
> gamatrix.cpp:82: `INIT_SIG' undeclared (first use this function)
> gamatrix.cpp:82: (Each undeclared identifier is reported only once
> gamatrix.cpp:82: for each function it appears in.)
> make: *** [lib/gamatrix.o] Error 1

Please change

  if (INIT_SIG) pari_sig_init(SIG_DFL);

to 
pari_sig_init(SIG_DFL);
or 
#define INIT_SIG 1

Cheers,
Bill