MAC OS X Lion + Xcode + nginx-1.0.5 make error
191919
191919 at gmail.com
Fri Jul 22 10:28:10 UTC 2011
Not even a clue why they did this.
Regards,
191919
Le Friday, July 22, 2011 à 6:25 PM, Igor Sysoev a écrit :
> Thank you. Are any pointers what they suggest to use instead ?
>
> On Fri, Jul 22, 2011 at 06:14:37PM +0800, 191919 wrote:
> > In Lion+Xcode 4.1, almost all openssl functions are "deprecated" by
> > a DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER macro:
> >
> > 110 #ifdef OPENSSL_FIPS
> > 111 int private_MD5_Init(MD5_CTX *c)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 112 #endif
> > 113 int MD5_Init(MD5_CTX *c) DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 114 int MD5_Update(MD5_CTX *c, const void *data, size_t len)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 115 int MD5_Final(unsigned char *md, MD5_CTX *c)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 116 unsigned char *MD5(const unsigned char *d, size_t n, unsigned char *md)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 117 void MD5_Transform(MD5_CTX *c, const unsigned char *b)
> > DEPRECATED_IN_MAC_OS_X_VERSION_10_7_AND_LATER;
> > 118 #ifdef __cplusplus
> > 119 }
> > 120 #endif
> >
> > 2011/7/22 Igor Sysoev <igor at sysoev.ru (mailto:igor at sysoev.ru)>
> >
> > > 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)
> > >
> > > > make[1]: *** [objs/src/core/ngx_crypt.o] Error 1
> > > > make: *** [build] Error 2
> > > > qinjianmatoMac:nginx-1.0.5 qinjian$ pwd
> > > > /Users/qinjian/Downloads/nginx-1.0.5
> > >
> > > Could you please send me privatly /usr/include/openssl/md5.h file ?
>
>
> --
> Igor Sysoev
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org (mailto:nginx at nginx.org)
> http://mailman.nginx.org/mailman/listinfo/nginx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20110722/399040e4/attachment.html>
More information about the nginx
mailing list