Hi all,

anybody know why make nginx 1.17.8 on cygwin fails with ...

$ make
make -f objs/Makefile
make[1]: Entering directory '/home/devel/nginx-1.17.8'
cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
 -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
        -o objs/src/os/unix/ngx_user.o \
        src/os/unix/ngx_user.c
src/os/unix/ngx_user.c: In function ‘ngx_libc_crypt’:
src/os/unix/ngx_user.c:53:13: error: implicit declaration of function
‘crypt’; did you mean ‘creat’? [-Werror=implicit-function-declaration]
     value = crypt((char *) key, (char *) salt);
             ^~~~~
             creat
src/os/unix/ngx_user.c:53:11: error: assignment makes pointer from integer
without a cast [-Werror=int-conversion]
     value = crypt((char *) key, (char *) salt);
           ^
cc1: all warnings being treated as errors
make[1]: *** [objs/Makefile:788: objs/src/os/unix/ngx_user.o] Error 1
make[1]: Leaving directory '/home/devel/nginx-1.17.8'
make: *** [Makefile:8: build] Error 2

Thanks in advance for your help :-)
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to