1.3.5 build error

David Shaw dshaw at jabberwocky.com
Wed May 5 21:03:20 CEST 2004


On Mon, May 03, 2004 at 10:38:25PM -0500, John Clizbe wrote:
> I finally got a working openLDAP library to play with. Building 1.3.5
> against it (after convincing configure it could be sanely done), I came
> across some small errors.
> 
> 1) keyserver/gpgkeys_ldap.c refers to unsetenv
>    util/unsetenv.c declares unsetenv2

This is fixed in CVS.  It'll be in 1.3.6.

> 2) Also in util/unsetenv.c, compilation produces error "undefined
> reference to `environ'. Defined as "external char **environ;".

Interesting.  I seem to recall reading about mingw and cygwin
difficulties with environ.  I have to look into this one a bit more -
we might need a configure test to do this portably.

> Next question: in the prebuilt win32 binaries, gpgkeys_ldap.exe is linked
> to wldap32.dll, but there is no mention of this dll in any of the source
> files. What's missing?

wldap32.dll is part of Windows, so we don't ship the source for it ;)

David



More information about the Gnupg-devel mailing list