Welcome! Log In Create A New Profile

Advanced

Re: nginx upload module compile the problem.

April 02, 2014 07:26AM
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@gmail.com>wrote:

> hi friends,
>
> nginx version 1.4.7
> upload module version 2.0.12
>
>
>
> --
> Sincerely,
> Batuhan Göksu
>



--
Sincerely,
Batuhan Göksu
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx upload module compile the problem.

bgoksu April 02, 2014 07:26AM

Re: nginx upload module compile the problem.

bgoksu April 02, 2014 07:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 184
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready