Vincent Blondel
February 08, 2020 12:22PM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

‘ngx_libc_crypt’ error: implicit declaration of function ‘crypt’

Vincent Blondel February 08, 2020 12:22PM

Re: ‘ngx_libc_crypt’ error: implicit declaration of function ‘crypt’

Francis Daly February 09, 2020 04:48AM

Re: ‘ngx_libc_crypt’ error: implicit declaration of function ‘crypt’

Vincent Blondel February 09, 2020 08:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 84
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready