首页 > 代码库 > nginx mac 10.10 编译报错

nginx mac 10.10 编译报错

/os/unix -I ../pcre-8.36 -I objs \

-o objs/src/core/ngx_crypt.o \

src/core/ngx_crypt.c

src/core/ngx_crypt.c:82:5: error: ‘MD5_Init‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_init(&md5);

    ^

src/core/ngx_md5.h:30:25: note: expanded from macro ‘ngx_md5_init‘

#define ngx_md5_init    MD5_Init

                        ^

/usr/include/openssl/md5.h:113:5: note: ‘MD5_Init‘ has been explicitly marked

      deprecated here

int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;

    ^

src/core/ngx_crypt.c:83:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&md5, key, keylen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:84:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&md5, (u_char *) "$apr1$", sizeof("$apr1$") - 1);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:85:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&md5, salt, saltlen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:87:5: error: ‘MD5_Init‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_init(&ctx1);

    ^

src/core/ngx_md5.h:30:25: note: expanded from macro ‘ngx_md5_init‘

#define ngx_md5_init    MD5_Init

                        ^

/usr/include/openssl/md5.h:113:5: note: ‘MD5_Init‘ has been explicitly marked

      deprecated here

int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;

    ^

src/core/ngx_crypt.c:88:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&ctx1, key, keylen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:89:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&ctx1, salt, saltlen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:90:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&ctx1, key, keylen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:91:5: error: ‘MD5_Final‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_final(final, &ctx1);

    ^

src/core/ngx_md5.h:32:25: note: expanded from macro ‘ngx_md5_final‘

#define ngx_md5_final   MD5_Final

                        ^

/usr/include/openssl/md5.h:115:5: note: ‘MD5_Final‘ has been explicitly marked

      deprecated here

int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERS...

    ^

src/core/ngx_crypt.c:94:9: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

        ngx_md5_update(&md5, final, n > 16 ? 16 : n);

        ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:101:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&md5, final, 1);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:104:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&md5, key, 1);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:108:5: error: ‘MD5_Final‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_final(final, &md5);

    ^

src/core/ngx_md5.h:32:25: note: expanded from macro ‘ngx_md5_final‘

#define ngx_md5_final   MD5_Final

                        ^

/usr/include/openssl/md5.h:115:5: note: ‘MD5_Final‘ has been explicitly marked

      deprecated here

int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERS...

    ^

src/core/ngx_crypt.c:111:9: error: ‘MD5_Init‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

        ngx_md5_init(&ctx1);

        ^

src/core/ngx_md5.h:30:25: note: expanded from macro ‘ngx_md5_init‘

#define ngx_md5_init    MD5_Init

                        ^

/usr/include/openssl/md5.h:113:5: note: ‘MD5_Init‘ has been explicitly marked

      deprecated here

int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;

    ^

src/core/ngx_crypt.c:114:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, key, keylen);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:117:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, final, 16);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:121:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, salt, saltlen);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:125:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, key, keylen);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:129:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, final, 16);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[1]: *** [objs/src/core/ngx_crypt.o] Error 1

make: *** [build] Error 2

HudeMacBook-Pro:nginx-1.6.2 huzhixin$ sudo make

Password:

/Applications/Xcode.app/Contents/Developer/usr/bin/make -f objs/Makefile

cc -c -pipe  -O -Wall -Wextra -Wpointer-arith -Wconditional-uninitialized -Wno-unused-parameter -Werror -g  -I src/core -I src/event -I src/event/modules -I src/os/unix -I ../pcre-8.36 -I objs \

-o objs/src/core/ngx_crypt.o \

src/core/ngx_crypt.c

src/core/ngx_crypt.c:82:5: error: ‘MD5_Init‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_init(&md5);

    ^

src/core/ngx_md5.h:30:25: note: expanded from macro ‘ngx_md5_init‘

#define ngx_md5_init    MD5_Init

                        ^

/usr/include/openssl/md5.h:113:5: note: ‘MD5_Init‘ has been explicitly marked

      deprecated here

int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;

    ^

src/core/ngx_crypt.c:83:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&md5, key, keylen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:84:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&md5, (u_char *) "$apr1$", sizeof("$apr1$") - 1);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:85:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&md5, salt, saltlen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:87:5: error: ‘MD5_Init‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_init(&ctx1);

    ^

src/core/ngx_md5.h:30:25: note: expanded from macro ‘ngx_md5_init‘

#define ngx_md5_init    MD5_Init

                        ^

/usr/include/openssl/md5.h:113:5: note: ‘MD5_Init‘ has been explicitly marked

      deprecated here

int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;

    ^

src/core/ngx_crypt.c:88:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&ctx1, key, keylen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:89:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&ctx1, salt, saltlen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:90:5: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_update(&ctx1, key, keylen);

    ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:91:5: error: ‘MD5_Final‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_final(final, &ctx1);

    ^

src/core/ngx_md5.h:32:25: note: expanded from macro ‘ngx_md5_final‘

#define ngx_md5_final   MD5_Final

                        ^

/usr/include/openssl/md5.h:115:5: note: ‘MD5_Final‘ has been explicitly marked

      deprecated here

int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERS...

    ^

src/core/ngx_crypt.c:94:9: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

        ngx_md5_update(&md5, final, n > 16 ? 16 : n);

        ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:101:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&md5, final, 1);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:104:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&md5, key, 1);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:108:5: error: ‘MD5_Final‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

    ngx_md5_final(final, &md5);

    ^

src/core/ngx_md5.h:32:25: note: expanded from macro ‘ngx_md5_final‘

#define ngx_md5_final   MD5_Final

                        ^

/usr/include/openssl/md5.h:115:5: note: ‘MD5_Final‘ has been explicitly marked

      deprecated here

int MD5_Final(unsigned char *md, MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERS...

    ^

src/core/ngx_crypt.c:111:9: error: ‘MD5_Init‘ is deprecated: first deprecated in

      OS X 10.7 [-Werror,-Wdeprecated-declarations]

        ngx_md5_init(&ctx1);

        ^

src/core/ngx_md5.h:30:25: note: expanded from macro ‘ngx_md5_init‘

#define ngx_md5_init    MD5_Init

                        ^

/usr/include/openssl/md5.h:113:5: note: ‘MD5_Init‘ has been explicitly marked

      deprecated here

int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;

    ^

src/core/ngx_crypt.c:114:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, key, keylen);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:117:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, final, 16);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:121:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, salt, saltlen);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:125:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, key, keylen);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

src/core/ngx_crypt.c:129:13: error: ‘MD5_Update‘ is deprecated: first deprecated

      in OS X 10.7 [-Werror,-Wdeprecated-declarations]

            ngx_md5_update(&ctx1, final, 16);

            ^

src/core/ngx_md5.h:31:25: note: expanded from macro ‘ngx_md5_update‘

#define ngx_md5_update  MD5_Update

                        ^

/usr/include/openssl/md5.h:114:5: note: ‘MD5_Update‘ has been explicitly marked

      deprecated here

int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_M...

    ^

fatal error: too many errors emitted, stopping now [-ferror-limit=]

20 errors generated.

make[1]: *** [objs/src/core/ngx_crypt.o] Error 1

make: *** [build] Error 2



解决办法   ./configure --with-cc-opt="-Wno-deprecated-declarations"

本文出自 “大胡的笔记” 博客,请务必保留此出处http://zhixinhu.blog.51cto.com/3132199/1566902

nginx mac 10.10 编译报错