nginx upload module compile the problem.
Batuhan Göksu
batuhangoksu at gmail.com
Wed Apr 2 11:24:46 UTC 2014
hi friends,
nginx version 1.4.7
upload module version 2.0.12
---
I want to compile along with nginx upload module. I'm getting the following
error during compilation
How can I solve this problem
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1028:13:
warning:
'MD5_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
MD5Update(&u->md5_ctx->md5, buf, len);
^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:19:21:
note:
expanded from macro 'MD5Update'
#define MD5Update MD5_Update
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/openssl/md5.h:114:5:
note:
'MD5_Update' declared here
int MD5_Update(MD5_CTX *c, const void *data, size_t len)
DEPRECATED_IN_MAC_OS_X_VERSION_10_7...
^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1031:13:
warning:
'SHA1_Update' is deprecated: first deprecated in OS X 10.7
[-Wdeprecated-declarations]
SHA1_Update(&u->sha1_ctx->sha1, buf, len);
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/openssl/sha.h:122:5:
note:
'SHA1_Update' declared here
int SHA1_Update(SHA_CTX *c, const void *data, size_t len)
DEPRECATED_IN_MAC_OS_X_VERSION_10_...
^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1869:17:
error: no
member named 'to_write' in 'ngx_http_request_body_t'
rb->to_write = rb->bufs;
~~ ^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:1928:9:
error: no
member named 'to_write' in 'ngx_http_request_body_t'
rb->to_write = rb->bufs;
~~ ^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:2010:59:
error: no
member named 'to_write' in 'ngx_http_request_body_t'
rc = ngx_http_process_request_body(r, rb->to_write);
~~ ^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:2026:21:
error: no
member named 'to_write' in 'ngx_http_request_body_t'
rb->to_write = rb->bufs->next ? rb->bufs->next : rb->bufs;
~~ ^
/Users/batuhangoksu/Desktop/nginx_upload_module-2.0.12/ngx_http_upload_module.c:2118:47:
error: no
member named 'to_write' in 'ngx_http_request_body_t'
rc = ngx_http_process_request_body(r, rb->to_write);
~~ ^
6 warnings and 5 errors generated.
make[1]: ***
[objs/addon/nginx_upload_module-2.0.12/ngx_http_upload_module.o] Error 1
make: *** [build] Error 2
On Wed, Apr 2, 2014 at 2:24 PM, Batuhan Göksu <batuhangoksu at gmail.com>wrote:
> hi friends,
>
> nginx version 1.4.7
> upload module version 2.0.12
>
>
>
> --
> Sincerely,
> Batuhan Göksu
>
--
Sincerely,
Batuhan Göksu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140402/13133700/attachment.html>
More information about the nginx
mailing list