Skip to main content.
home | support | download

Back to List Archive

[swish-e] Undefined Symbol SetEnvironmentVariableA

From: Grimes, Dean <DGRIMES(at)not-real.scvl.com>
Date: Wed Mar 11 2009 - 16:09:56 GMT
Hi,

I'm new to the list and am using Swish for the first time. Configure
runs without errors but make is does display a warning.

Thanks,
Dean



Here are my system specifics:

HP-UX B.11.23 U ia64 3197908566 unlimited-user license

(aurora:dgrimes)[/user01/dgrimes/swish] gcc -v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: /tmp/gcc-4.2.1.tar.gz/gcc-4.2.1/configure
--host=ia64-hp-hpux11.23 --target=ia64-hp-hpux11.23
--build=ia64-hp-hpux11.23 --prefix=/opt/hp-gcc-4.2.1 --with-gnu-as
--without-gnu-ld --with-ld=/usr/ccs/bin/ld --enable-threads=posix
--enable-languages=c,c++
Thread model: posix
gcc version 4.2.1
Make Log:

Make executes just fine until the very end where it displays the
following warning:

/bin/sh ../libtool --tag=CC --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 /usr/local/lib/libiconv.so
./.libs/libswish-e.so -lz -lm  -Wl,+b -Wl,/user01/dgrimes/swish/lib
ld: (Warning) Unsatisfied symbol "SetEnvironmentVariableA" in file
./.libs/libswish-e.so
1 warnings.
creating swish-e
make[3]: Leaving directory `/user01/dgrimes/cdev/swish-e-2.4.6/src'
make[2]: Leaving directory `/user01/dgrimes/cdev/swish-e-2.4.6/src'
make[1]: Leaving directory `/user01/dgrimes/cdev/swish-e-2.4.6/src'
Making all in tests
make[1]: Entering directory `/user01/dgrimes/cdev/swish-e-2.4.6/tests'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/user01/dgrimes/cdev/swish-e-2.4.6/tests'
Making all in pod
make[1]: Entering directory `/user01/dgrimes/cdev/swish-e-2.4.6/pod'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/user01/dgrimes/cdev/swish-e-2.4.6/pod'
make[1]: Entering directory `/user01/dgrimes/cdev/swish-e-2.4.6'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/user01/dgrimes/cdev/swish-e-2.4.6'


The make install contains no warnings or errors.


Program behavior:
Swish successfully built the index I am testing with and only gets the
error when it finds a word that should exist in the index.

(aurora:dgrimes)[/user01/dgrimes/swish] bin/swish-e -w sample
# SWISH format: 2.4.6
# Search words: sample
# Removed stopwords: 
err: no results
.
(aurora:dgrimes)[/user01/dgrimes/swish] bin/swish-e -w 'select'
/usr/lib/hpux32/dld.so: Unsatisfied code symbol
'SetEnvironmentVariableA' in load module
'/usr/local/lib/libswish-e.so.2'.
Killed
(aurora:dgrimes)[/user01/dgrimes/swish] bin/swish-e -w 'help'  
/usr/lib/hpux32/dld.so: Unsatisfied code symbol
'SetEnvironmentVariableA' in load module
'/usr/local/lib/libswish-e.so.2'.
Killed
(aurora:dgrimes)[/user01/dgrimes/swish] bin/swish-e -w 'xxxx'
# SWISH format: 2.4.6
# Search words: xxxx
# Removed stopwords: 
err: no results


Config.log:
checking for build-swish-docs... no
checking for a BSD-compatible install... config/install-sh -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... 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 gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
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 gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for an ANSI C-conforming const... yes
checking build system type... ia64-hp-hpux11.23
checking host system type... ia64-hp-hpux11.23
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/local/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... file_magic
(s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64
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... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1536000
checking command to parse /usr/local/bin/nm -B output from gcc object...
ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... 
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking for g++ option to produce PIC... 
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
libraries... yes
checking dynamic linker characteristics... hpux11.23 dld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether to enable maintainer-specific portions of Makefiles...
no
checking for BSDgettimeofday... no
checking for gettimeofday... yes
checking whether #! works in shell scripts... yes
checking whether make sets $(MAKE)... (cached) yes
checking for perl... /usr/bin/perl
checking for pod2man... false
configure: WARNING: pod2man was not found - needed for building man
pages
checking for a BSD-compatible install... config/install-sh -c
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 gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for vsnprintf in -lsnprintf... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether stat file-mode macros are broken... no
checking for ANSI C header files... (cached) yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for an ANSI C-conforming const... (cached) 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 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... yes
checking for working vfork... (cached) yes
checking for waitpid... yes
checking for kill... yes
checking for re_comp... yes
checking for regcomp... yes
checking for strdup... yes
checking for strstr... yes
checking for lstat... yes
checking for setenv... no
checking for access... yes
checking for strchr... yes
checking for memcpy... yes
checking for clock... yes
checking for times... yes
checking for getrusage... yes
checking for log in -lm... yes
checking for working strcoll... yes
checking for uid_t in sys/types.h... yes
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking type of array argument to getgroups... (cached) gid_t
checking for vsnprintf... yes
checking for mkstemp... yes
checking for setenv... (cached) no
checking for xml2-config... /usr/local/bin/xml2-config
checking for libxml libraries >= 2.4.3... found version 2.6.29
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lz... yes
Not building with perl compatible regex - use --with-pcre to enable
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
configure: fileoffset bits = 64
/user01/dgrimes/cdev/swish-e-2.4.6/./configure[26402]: ==: A test
command parameter is not valid.
configure: Setting libexecdir to ${exec_prefix}/lib/swish-e
checking config option memdebug for setting MEM_DEBUG... no
checking config option memtrace for setting MEM_TRACE... no
checking config option memstats for setting MEM_STATISTICS... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating html/Makefile
config.status: creating pod/Makefile
config.status: creating man/Makefile
config.status: creating src/Makefile
config.status: creating src/expat/Makefile
config.status: creating src/replace/Makefile
config.status: creating src/snowball/Makefile
config.status: creating rpm/swish-e.spec
config.status: creating tests/Makefile
config.status: creating example/Makefile
config.status: creating prog-bin/Makefile
config.status: creating filters/Makefile
config.status: creating filters/SWISH/Makefile
config.status: creating conf/Makefile
config.status: creating filter-bin/Makefile
config.status: creating swish-e.pc
config.status: creating swish-config
config.status: creating src/acconfig.h
config.status: executing depfiles commands


_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Mar 11 12:10:10 2009