Skip to content

Instantly share code, notes, and snippets.

@cmrichards
Created January 15, 2013 22:57
Show Gist options
  • Save cmrichards/4542957 to your computer and use it in GitHub Desktop.
Save cmrichards/4542957 to your computer and use it in GitHub Desktop.
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c: In function ‘ngx_http_upload_merge_loc_conf’:
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: error: ‘ngx_garbage_collector_temp_handler’ undeclared (first use in this function)
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: note: each undeclared identifier is reported only once for each function it appears in
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: warning: passing argument 1 of ‘ngx_conf_merge_path_value’ from incompatible pointer type [enabled by default]
src/core/ngx_file.h:142:7: note: expected ‘struct ngx_conf_t *’ but argument is of type ‘struct ngx_path_t *’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: warning: passing argument 2 of ‘ngx_conf_merge_path_value’ from incompatible pointer type [enabled by default]
src/core/ngx_file.h:142:7: note: expected ‘struct ngx_path_t **’ but argument is of type ‘struct ngx_path_t *’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: warning: passing argument 3 of ‘ngx_conf_merge_path_value’ from incompatible pointer type [enabled by default]
src/core/ngx_file.h:142:7: note: expected ‘struct ngx_path_t *’ but argument is of type ‘char *’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: warning: passing argument 4 of ‘ngx_conf_merge_path_value’ makes pointer from integer without a cast [enabled by default]
src/core/ngx_file.h:142:7: note: expected ‘struct ngx_path_init_t *’ but argument is of type ‘int’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1104:31: error: too many arguments to function ‘ngx_conf_merge_path_value’
src/core/ngx_file.h:142:7: note: declared here
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c: In function ‘ngx_http_upload_pass_form_field’:
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1490:5: warning: passing argument 1 of ‘ngx_regex_compile’ from incompatible pointer type [enabled by default]
src/core/ngx_regex.h:50:11: note: expected ‘struct ngx_regex_compile_t *’ but argument is of type ‘struct ngx_str_t *’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1490:5: error: too many arguments to function ‘ngx_regex_compile’
src/core/ngx_regex.h:50:11: note: declared here
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1490:14: warning: assignment makes pointer from integer without a cast [enabled by default]
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1497:5: warning: implicit declaration of function ‘ngx_regex_capture_count’ [-Wimplicit-function-declaration]
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1501:28: error: ‘ngx_regex_capture_count_n’ undeclared (first use in this function)
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1501:54: error: expected ‘)’ before string constant
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c: In function ‘ngx_http_read_upload_client_request_body’:
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1922:7: error: ‘ngx_http_request_body_t’ has no member named ‘to_write’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c: In function ‘ngx_http_do_read_upload_client_request_body’:
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1991:56: error: ‘ngx_http_request_body_t’ has no member named ‘to_write’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:1997:19: error: ‘ngx_http_request_body_t’ has no member named ‘to_write’
/home/chrisr/Downloads/nginx/nginx-upload-module/ngx_http_upload_module.c:2063:44: error: ‘ngx_http_request_body_t’ has no member named ‘to_write’
make[1]: *** [objs/addon/nginx-upload-module/ngx_http_upload_module.o] Error 1
make[1]: Leaving directory `/home/chrisr/Downloads/nginx/nginx'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment