1.3.5 build error

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


On Mon, May 03, 2004 at 10:38:25PM -0500, John Clizbe wrote:

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

Try this:

    1) Add #include <unistd.h> to the top of the file.
    2) Delete the "extern char **environ;" line.

Does that work for you?

David



More information about the Gnupg-devel mailing list