MAC OS X Lion + Xcode + nginx-1.0.5 make error

Maxim Dounin mdounin at mdounin.ru
Fri Jul 22 10:51:23 UTC 2011


Hello!

On Fri, Jul 22, 2011 at 05:51:17AM -0400, qinjian wrote:

[...]

> cc1: warnings being treated as errors
> src/core/ngx_crypt.c: In function ‘ngx_crypt_apr1’:
> src/core/ngx_crypt.c:76: warning: ‘MD5_Init’ is deprecated (declared
> at /usr/include/openssl/md5.h:113)

For now, you may use

    ./configure --with-cc-opt="-Wno-deprecated-declarations"

as a workaround.

Maxim Dounin



More information about the nginx mailing list