Ramón Casero Cañas on Mon, 20 Jan 2003 19:08:25 +0100 (MET)


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

Re: how to free pari's memory


> Please change
> 
>   if (INIT_SIG) pari_sig_init(SIG_DFL);
> 
> to 
> pari_sig_init(SIG_DFL);
> or 
> #define INIT_SIG 1
> 

Thanks, Bill, but I still get

rcasero@marcel:/datos/uni/pfc/c++$ make
g++ -o bin/gadnh -I./include -I/usr/src/eo-0.9.2/src
-I/usr/src/eo-0.9.2/src/utils -I/usr/src/eo-0.9.2/src/ga -I/usr/src/eo-0.9.2/src/es -pedantic -Wall 
 -ftemplate-depth-50 m_gadnh.cpp ./lib/steiner_io.o\
./lib/dnh.o ./lib/gamatrix.o -lpari -lboost_thread -lstlport
/usr/src/eo-0.9.2/src/utils/libeoutils.a /usr/src/eo-0.9.2/src/libeo.a
/usr/src/eo-0.9.2/src/ga/libga.a /usr/src/eo-0.9.2/src/es/libes.a  /usr/lib/libgmp.a -lm
./lib/gamatrix.o(.text+0x38b): In function `inverse_mat_mod2(bool **,
unsigned int,
bool)':
: unresolved reference to `pari_sig_init(void (*)(int))' 
collect2: ld returned 1 exit status
make: *** [bin/gadnh] Error 1

Best,

Ramón.

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!