nginx-1.1.15
INF[SZ]
nginx-forum на nginx.us
Чт Фев 16 01:08:25 UTC 2012
Здравствуйте, при попытке сборки Nginx с
1.1.15 с сторонними модулями получаю кучу
ошибок
[code]
src/mail/ngx_mail_auth_http_module.c: In function
'ngx_mail_auth_http_parse_header_line':
src/mail/ngx_mail_auth_http_module.c:916: warning: unused parameter 's'
src/mail/ngx_mail_auth_http_module.c: In function
'ngx_mail_auth_http_dummy_handler':
src/mail/ngx_mail_auth_http_module.c:1122: warning: unused parameter
'ev'
src/mail/ngx_mail_auth_http_module.c: In function 'ngx_mail_auth_http':
src/mail/ngx_mail_auth_http_module.c:1377: warning: unused parameter
'cmd'
src/mail/ngx_mail_auth_http_module.c: In function
'ngx_mail_auth_http_header':
src/mail/ngx_mail_auth_http_module.c:1427: warning: unused parameter
'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:
In function 'ngx_http_upstream_fair_init_module':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:293:
warning: unused parameter 'cycle'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:
In function 'ngx_http_upstream_fair_set_shm_size':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:343:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:343:
warning: unused parameter 'conf'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:
In function 'ngx_http_upstream_fair':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:376:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:376:
warning: unused parameter 'conf'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:
In function 'ngx_http_upstream_fair_update_nreq':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:646:
warning: unused parameter 'log'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:
In function 'ngx_http_upstream_fair_try_peer':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upstream-fair/ngx_http_upstream_fair_module.c:712:
warning: unused parameter 'pc'
src/mail/ngx_mail_proxy_module.c: In function
'ngx_mail_proxy_merge_conf':
src/mail/ngx_mail_proxy_module.c:1076: warning: unused parameter 'cf'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'find_node':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:351:
warning: unused parameter 'log'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_uploadprogress_merge_loc_conf':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1271:
warning: unused parameter 'cf'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_upload_progress':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1358:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1358:
warning: unused parameter 'conf'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_track_uploads':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1455:
error: 'NGX_PARSE_LARGE_TIME' undeclared (first use in this function)
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1455:
error: (Each undeclared identifier is reported only once
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1455:
error: for each function it appears in.)
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1422:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_report_uploads':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1473:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_upload_progress_template':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1534:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_upload_progress_json_output':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1563:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_upload_progress_jsonp_output':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1587:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:
In function 'ngx_http_uploadprogress_callback_variable':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx-upload-progress-module/ngx_http_uploadprogress_module.c:1688:
warning: unused parameter 'data'
make[1]: ***
[objs/addon/nginx-upload-progress-module/ngx_http_uploadprogress_module.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_module.c:
In function 'ngx_http_zip_subrequest_range':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_module.c:371:
warning: unused parameter 'r'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_module.c:
In function 'ngx_http_zip_send_boundary':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_module.c:627:
warning: unused parameter 'ctx'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_module.c:
In function 'ngx_http_zip_init':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_module.c:754:
warning: unused parameter 'cf'
ngx_http_zip_parsers.rl: In function 'ngx_http_zip_parse_range':
ngx_http_zip_parsers.rl:182: warning: unused parameter 'r'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_file.c:
In function 'ngx_http_zip_file_header_chain_link':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_file.c:236:
warning: unused parameter 'ctx'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_file.c:
In function 'ngx_http_zip_write_central_directory_entry':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/mod_zip-1.1.6/ngx_http_zip_file.c:416:
warning: unused parameter 'ctx'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx_upload_module-2.2.0/ngx_http_upload_module.c:
In function 'ngx_http_upload_pass_form_field':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx_upload_module-2.2.0/ngx_http_upload_module.c:2325:
warning: unused parameter 'cmd'
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx_upload_module-2.2.0/ngx_http_upload_module.c:
In function 'ngx_http_upload_cleanup':
/home/mock/rpmbuild/BUILD/nginx-1.1.15/nginx_upload_module-2.2.0/ngx_http_upload_module.c:2400:
warning: unused parameter 'cmd'
make[1]: Leaving directory `/home/mock/rpmbuild/BUILD/nginx-1.1.15'
make: *** [build] Error 2
[/code]
В 1.1.14 проблемы отсутствуют
Что делать ?
Posted at Nginx Forum: http://forum.nginx.org/read.php?21,222434,222467#msg-222467
Подробная информация о списке рассылки nginx-ru