Skip to main content.
home | support | download

Back to List Archive

install

From: David Loy <david.loy(at)not-real.ucop.edu>
Date: Mon Sep 23 2002 - 21:38:33 GMT
I have tried to install swish-e-2.2 on solaris and I get the following:
Undefined                       first referenced
  symbol                             in file
compress2                           libswish-e.a(docprop.o)

I tried doing a standard install:
./configure
./make

Below is a more complete listing of the install.
If anyone has an idea how to get around this problem, could they please let 
me know.

Thanks
David Loy

/cdldevel2/loy/swish-e/swish-e-2.2 % configure
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking whether #! works in shell scripts... yes
checking whether make sets ${MAKE}... yes
checking for perl... /bin/perl
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... ranlib
checking for main in -lm... yes
checking for vsnprintf in -lsnprintf... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for pid_t... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for working alloca.h... yes
checking for alloca... yes
checking for strftime... yes
checking for vprintf... yes
checking for _doprnt... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... (cached) yes
checking for working vfork... (cached) yes
checking for re_comp... yes
checking for regcomp... yes
checking for strdup... yes
checking for strstr... yes
checking for lstat... yes
checking for log in -lm... yes
checking for vsnprintf... yes
checking for xml2-config... no
Not building with libxml2 - use --with-libxml2 to enable
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating src/acconfig.h
/cdldevel2/loy/swish-e/swish-e-2.2 % make
making swish-e
(cd src; make)
make[1]: Entering directory `/cdldevel2/loy/swish-e/swish-e-2.2/src'
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o fs.o fs.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o http.o http.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o httpserver.o httpserver.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o extprog.o extprog.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o methods.o methods.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o html.o html.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o txt.o txt.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o xml.o xml.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o expat/xmltok/xmltok.o expat/xmltok/xmltok.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o expat/xmltok/xmlrole.o expat/xmltok/xmlrole.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o expat/xmlparse/xmlparse.o 
expat/xmlparse/xmlparse.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o entities.o entities.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o index.o index.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o merge.o merge.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o stemmer.o stemmer.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o soundex.o soundex.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o filter.o filter.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o parse_conffile.o parse_conffile.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o swregex.o swregex.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o double_metaphone.o double_metaphone.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o swish2.o swish2.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o search.o search.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o swish_words.o swish_words.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o proplimit.o proplimit.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o search_alt.o search_alt.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o result_output.o result_output.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o rank.o rank.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o hash.o hash.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o compress.o compress.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o db.o db.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o db_native.o db_native.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o ramdisk.o ramdisk.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o btree.o btree.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o array.o array.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o check.o check.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o file.o file.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o error.o error.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o list.o list.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o mem.o mem.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o string.o string.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o docprop.o docprop.c
docprop.c: In function `compress_property':
docprop.c:1174: warning: implicit declaration of function `compress2'
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o metanames.o metanames.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o result_sort.o result_sort.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o dump.o dump.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o swish_qsort.o swish_qsort.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o date_time.o date_time.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o no_better_place_module.o 
no_better_place_module.c
ar cr libswish-e.a fs.o http.o httpserver.o extprog.o methods.o html.o 
txt.o xml.o expat/xmltok/xmltok.o expat/xmltok/xmlrole.o 
expat/xmlparse/xmlparse.o entities.o  index.o merge.o stemmer.o soundex.o 
filter.o parse_conffile.o swregex.o double_metaphone.o swish2.o search.o 
swish_words.o proplimit.o search_alt.o result_output.o rank.o hash.o 
compress.o db.o db_native.o ramdisk.o btree.o array.o check.o file.o 
error.o list.o mem.o string.o docprop.o metanames.o result_sort.o dump.o 
swish_qsort.o  date_time.o no_better_place_module.o
ranlib libswish-e.a
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o swish.o swish.c
gcc -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2 -c -o keychar_out.o keychar_out.c
gcc -o swish-e -Wall -DHAVE_CONFIG_H -DSWISH_VERSION=\"2.2\" -Iexpat/xmltok 
-Iexpat/xmlparse   -g -O2  swish.o 
keychar_out.o                      libswish-e.a -lm -lm   -lz
Undefined                       first referenced
  symbol                             in file
compress2                           libswish-e.a(docprop.o)
ld: fatal: Symbol referencing errors. No output written to swish-e
make[1]: *** [swish-e] Error 1
make[1]: Leaving directory `/cdldevel2/loy/swish-e/swish-e-2.2/src'
make: *** [swish-e] Error 2
/cdldevel2/loy/swish-e/swish-e-2.2 % 
Received on Mon Sep 23 21:42:06 2002