Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] Undefined Symbol SetEnvironmentVariableA

From: Grimes, Dean <DGRIMES(at)>
Date: Fri Mar 13 2009 - 15:37:11 GMT
Version 2.4.6 compiled and installed fine on Linux but not on HP-UX,
Compaq Tru64 and SCO OpenServer. Version 2.4.5 works on HP-UX and SCO
but Tru64 has other issues with undeclared identifiers. However, I don't
need Swish to run on Tru64 so I'm not posting its issues unless someone
wants to see what they are. I'm willing to work with someone on the
issues if anyone is interested just for the sake of make the software
Tru64 compatible.


-----Original Message-----
[] On Behalf Of David Norris
Sent: Friday, March 13, 2009 12:08 AM
To: Swish-e Users Discussion List
Subject: Re: [swish-e] Undefined Symbol SetEnvironmentVariableA

Actually, there is no setenv() on HP-UX and setenv.c is currently
win32 specific.  So the error is valid.  swish-e can't compile on
hp-ux as it stands.

We could rewrite setenv() to wrap around putenv() instead.  putenv()
is available on both HP-UX and Win32.

However, we chose not to do so originally because putenv() is an awful
and insecure function.  It would be convoluted to make it work
correctly.  However, if we have no other option...

   David L Norris
Users mailing list
Users mailing list
Received on Fri Mar 13 11:37:23 2009