Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Undefined Symbol SetEnvironmentVariableA

From: Grimes, Dean <DGRIMES(at)not-real.scvl.com>
Date: Fri Mar 13 2009 - 14:09:26 GMT
Hi,

Thanks, for the reply. What I did was download 2.4.5 and everything is
working fine. However, upgrades in the future will be a problem.

Thanks,
Dean

-----Original Message-----
From: users-bounces@lists.swish-e.org
[mailto:users-bounces@lists.swish-e.org] On Behalf Of Peter Karman
Sent: Thursday, March 12, 2009 10:08 PM
To: Swish-e Users Discussion List
Subject: Re: [swish-e] Undefined Symbol SetEnvironmentVariableA

Grimes, Dean wrote on 3/11/09 11:09 AM:
> 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

this seems to be an issue with the src/replace/setenv.c file which was
added for
2.4.6 to mimic setenv under Windows.

There's a comment in src/Makefile.am that looks suspicious:

## The search library
## -- note that libreplace may have code specific for indexing only.
## -- will that be a problem on systems?

The setenv stuff is in there for ranking debugging, and I can just as
easily
remove it (/me curses Windows again...) if it's going to cause problems
on
non-Windows systems.

Or, someone (Dave? Bill?) with a memory of what/how libreplace magic
works could
shed light on whether it's just a Makefile fix necessary or ...

-- 
Peter Karman  .  http://peknet.com/  .  peter(at)not-real.peknet.com
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Fri Mar 13 10:09:39 2009