<div dir="ltr"><div class="gmail_default">
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:13px">hi friends,</div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:13px"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:13px">
nginx version 1.4.7</div><p class="" style="font-family:verdana,sans-serif"><span style="font-size:13px">upload module version 2.0.12</span></p><p class="" style="font-family:verdana,sans-serif"><span style="font-size:13px">---</span></p>
<p class=""><font face="verdana, sans-serif">I want to compile along with nginx upload module. I'm getting the following error during compilation</font><br></p><p class="" style="font-family:verdana,sans-serif">How can I solve this problem<br>
</p><p class="" style="font-family:verdana,sans-serif"><br></p><p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1028:13: <span class="">warning: </span></p>
<p class="" style="font-family:verdana,sans-serif"> 'MD5_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]</p>
<p class="" style="font-family:verdana,sans-serif"> MD5Update(&u->md5_ctx->md5, buf, len);</p>
<p class="" style="font-family:verdana,sans-serif"> ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:19:21: <span class="">note: </span></p>
<p class="" style="font-family:verdana,sans-serif"> expanded from macro 'MD5Update'</p>
<p class="" style="font-family:verdana,sans-serif">#define MD5Update MD5_Update</p>
<p class="" style="font-family:verdana,sans-serif"> ^</p>
<p class="" style="font-family:verdana,sans-serif">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/openssl/md5.h:114:5: <span class="">note: </span></p>
<p class="" style="font-family:verdana,sans-serif"> 'MD5_Update' declared here</p>
<p class="" style="font-family:verdana,sans-serif">int MD5_Update(MD5_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_7...</p>
<p class="" style="font-family:verdana,sans-serif"> ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1031:13: <span class="">warning: </span></p>
<p class="" style="font-family:verdana,sans-serif"> 'SHA1_Update' is deprecated: first deprecated in OS X 10.7 [-Wdeprecated-declarations]</p>
<p class="" style="font-family:verdana,sans-serif"> SHA1_Update(&u->sha1_ctx->sha1, buf, len);</p>
<p class="" style="font-family:verdana,sans-serif"> ^</p>
<p class="" style="font-family:verdana,sans-serif">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/openssl/sha.h:122:5: <span class="">note: </span></p>
<p class="" style="font-family:verdana,sans-serif"> 'SHA1_Update' declared here</p>
<p class="" style="font-family:verdana,sans-serif">int SHA1_Update(SHA_CTX *c, const void *data, size_t len) DEPRECATED_IN_MAC_OS_X_VERSION_10_...</p>
<p class="" style="font-family:verdana,sans-serif"> ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1869:17: <span class="">error: </span>no</p>
<p class="" style="font-family:verdana,sans-serif"> member named 'to_write' in 'ngx_http_request_body_t'</p>
<p class="" style="font-family:verdana,sans-serif"> rb->to_write = rb->bufs;</p>
<p class="" style="font-family:verdana,sans-serif"> ~~ ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1928:9: <span class="">error: </span>no</p>
<p class="" style="font-family:verdana,sans-serif"> member named 'to_write' in 'ngx_http_request_body_t'</p>
<p class="" style="font-family:verdana,sans-serif"> rb->to_write = rb->bufs;</p>
<p class="" style="font-family:verdana,sans-serif"> ~~ ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:2010:59: <span class="">error: </span>no</p>
<p class="" style="font-family:verdana,sans-serif"> member named 'to_write' in 'ngx_http_request_body_t'</p>
<p class="" style="font-family:verdana,sans-serif"> rc = ngx_http_process_request_body(r, rb->to_write);</p>
<p class="" style="font-family:verdana,sans-serif"> ~~ ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:2026:21: <span class="">error: </span>no</p>
<p class="" style="font-family:verdana,sans-serif"> member named 'to_write' in 'ngx_http_request_body_t'</p>
<p class="" style="font-family:verdana,sans-serif"> rb->to_write = rb->bufs->next ? rb->bufs->next : rb->bufs;</p>
<p class="" style="font-family:verdana,sans-serif"> ~~ ^</p>
<p class="" style="font-family:verdana,sans-serif">/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:2118:47: <span class="">error: </span>no</p>
<p class="" style="font-family:verdana,sans-serif"> member named 'to_write' in 'ngx_http_request_body_t'</p>
<p class="" style="font-family:verdana,sans-serif"> rc = ngx_http_process_request_body(r, rb->to_write);</p>
<p class="" style="font-family:verdana,sans-serif"> ~~ ^</p>
<p class="" style="font-family:verdana,sans-serif">6 warnings and 5 errors generated.</p>
<p class="" style="font-family:verdana,sans-serif">make[1]: *** [objs/addon/nginx_upload_module-2.0.12/ngx_http_upload_module.o] Error 1</p>
<p class="" style="font-family:verdana,sans-serif">make: *** [build] Error 2</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 2, 2014 at 2:24 PM, Batuhan Göksu <span dir="ltr"><<a href="mailto:batuhangoksu@gmail.com" target="_blank">batuhangoksu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">hi friends,</div><div class="gmail_default" style="font-family:verdana,sans-serif">
<br></div><div class="gmail_default" style="font-family:verdana,sans-serif">
nginx version 1.4.7</div><div class="gmail_default" style="font-family:verdana,sans-serif">upload module version 2.0.12</div><span class="HOEnZb"><font color="#888888"><div><br></div><div><br></div><div><br></div>-- <br>
<div dir="ltr"><font face="verdana, sans-serif">Sincerely,<br>
Batuhan Göksu</font><br></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="verdana, sans-serif">Sincerely,<br>Batuhan Göksu</font><br></div>
</div>