<div dir="ltr">thank You for the Support ... libcrypt-devel was the package missing in my cygwin install. this is now working :-)<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 9, 2020 at 10:46 AM Francis Daly <<a href="mailto:francis@daoine.org">francis@daoine.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, Feb 08, 2020 at 06:21:34PM +0100, Vincent Blondel wrote:<br>
<br>
Hi there,<br>
<br>
> anybody know why make nginx 1.17.8 on cygwin fails with ...<br>
<br>
> src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’:<br>
> src/os/unix/ngx_user.c:53:13: error: implicit declaration of function<br>
> ‘crypt’; did you mean ‘creat’? [-Werror=implicit-function-declaration]<br>
<br>
On a Linux system here, "man crypt" includes<br>
<br>
"""<br>
SYNOPSIS<br>
       #define _XOPEN_SOURCE<br>
       #include <unistd.h><br>
<br>
       char *crypt(const char *key, const char *salt);<br>
"""<br>
<br>
And "implicit declaration of function" means that that explicit declaration<br>
did not happen.<br>
<br>
So - for some reason, at this stage in your build system, that "#include"<br>
is not present; or the suitable "#define" is not in place; or maybe it<br>
is reading a different unistd.h that does not include "crypt" at all.<br>
<br>
That's not an answer; but maybe points you where to look more.<br>
<br>
Perhaps your cygwin is different from this; perhaps your "configure"<br>
log or output contains something interesting about unistd.h or crypt.h?<br>
<br>
Mine shows, for example,<br>
<br>
checking for crypt() ... not found<br>
checking for crypt() in libcrypt ... found<br>
<br>
There is more information (probably) in objs/autoconf.err<br>
<br>
Good luck with it,<br>
<br>
        f<br>
-- <br>
Francis Daly        <a href="mailto:francis@daoine.org" target="_blank">francis@daoine.org</a><br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a></blockquote></div>