Skip to main content.
home | support | download

Back to List Archive

Error when compiling with "define USE_BTREE;"

From: Ander <redna(at)not-real.euskalerria.org>
Date: Fri Nov 18 2005 - 09:00:57 GMT
Hi,

I am trying to install swish-e 2.4.3 with update mode active, so I 
descommented the define USE_BTREE; line in config.h but when I am 
compiling I get an error. I think that there's some library missing but 
I'm not sure which is the problem's cause.

Can you help me?


Here's some output:

make[3]: Saliendo directorio 
`/home/ander/Downloads/swish-e-2.4.3/src/snowball'
make[3]: Cambiando a directorio `/home/ander/Downloads/swish-e-2.4.3/src'
/bin/sh ../libtool --mode=link gcc -Wall -g -O2   -o swish-e  swish.o 
keychar_out.o dump.o result_output.o libswishindex.la libswish-e.la -lm
gcc -Wall -g -O2 -o .libs/swish-e swish.o keychar_out.o dump.o 
result_output.o  ./.libs/libswishindex.a -L/usr/local/lib 
/usr/local/lib/libxml2.so -lpthread -lz ./.libs/libswish-e.so -lm 
-Wl,--rpath -Wl,/usr/local/lib
/.libs/libswish-e.so: undefined reference to `ARRAY_Put'
/.libs/libswish-e.so: undefined reference to `ARRAY_Get'
/.libs/libswish-e.so: undefined reference to `BTREE_Update'
/.libs/libswish-e.so: undefined reference to `BTREE_Search'
/.libs/libswish-e.so: undefined reference to `FHASH_Close'
/.libs/libswish-e.so: undefined reference to `WORDDATA_Open'
/.libs/libswish-e.so: undefined reference to `FHASH_Search'
/.libs/libswish-e.so: undefined reference to `BTREE_Insert'
/.libs/libswish-e.so: undefined reference to `BTREE_Close'
/.libs/libswish-e.so: undefined reference to `ARRAY_Create'
/.libs/libswish-e.so: undefined reference to `WORDDATA_Get'
/.libs/libswish-e.so: undefined reference to `FHASH_Create'
/.libs/libswish-e.so: undefined reference to `ARRAY_Close'
/.libs/libswish-e.so: undefined reference to `WORDDATA_Close'
/.libs/libswish-e.so: undefined reference to `FHASH_Open'
/.libs/libswish-e.so: undefined reference to `BTREE_Open'
/.libs/libswish-e.so: undefined reference to `BTREE_Next'
/.libs/libswish-e.so: undefined reference to `FHASH_Insert'
/.libs/libswish-e.so: undefined reference to `WORDDATA_Del'
/.libs/libswish-e.so: undefined reference to `BTREE_Create'
/.libs/libswish-e.so: undefined reference to `ARRAY_Open'
/.libs/libswish-e.so: undefined reference to `WORDDATA_Put'
collect2: ld returned 1 exit status
make[3]: *** [swish-e] Error 1
___________________________________________________________________________________________
Lortu posta elektronikoa doan >> http://www.euskalerria.org
Received on Fri Nov 18 01:01:04 2005