Complie Module Error: nginx-upload-module

Elena Zwetkow ezwetkow at gmx.de
Thu Feb 17 20:53:02 MSK 2011


Hello,

try to build the current nginx-upload-module, current version gives me the following errors:

/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c: In function ângx_http_upload_merge_loc_confâ:
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: ângx_garbage_collector_temp_handlerâ undeclared (first use in this function)
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: (Each undeclared identifier is reported only once
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: for each function it appears in.)
cc1: warnings being treated as errors
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: passing argument 1 of ângx_conf_merge_path_valueâ from incompatible pointer type
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: passing argument 2 of ângx_conf_merge_path_valueâ from incompatible pointer type
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: passing argument 3 of ângx_conf_merge_path_valueâ from incompatible pointer type
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: passing argument 4 of ângx_conf_merge_path_valueâ makes pointer from integer without a cast
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1104: error: too many arguments to function ângx_conf_merge_path_valueâ
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c: In function ângx_http_upload_pass_form_fieldâ:
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1490: error: passing argument 1 of ângx_regex_compileâ from incompatible pointer type
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1490: error: too many arguments to function ângx_regex_compileâ
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1490: error: assignment makes pointer from integer without a cast
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1497: error: implicit declaration of function ângx_regex_capture_countâ
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1501: error: ângx_regex_capture_count_nâ undeclared (first use in this function)
/build/nginx/module/nginx-upload-module/ngx_http_upload_module.c:1501: error: expected â)â before string constant
make[1]: *** [objs/addon/nginx-upload-module/ngx_http_upload_module.o] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1: warnings being treated as errors
/build/nginx/module/nginx-upload-module/ngx_upload_unzip_filter_module.c:201: error: ângx_http_unzip_errorâ declared âstaticâ but never defined
make[1]: *** [objs/addon/nginx-upload-module/ngx_upload_unzip_filter_module.o] Error 1
make: *** [build] Error 2


This is my build script:

./configure \
--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--lock-path=/var/lock/nginx.lock \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log \
--http-client-body-temp-path=/var/lib/nginx/client \
--http-proxy-temp-path=/var/lib/nginx/proxy \
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi \
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
--with-http_dav_module \
--with-http_stub_status_module \
--with-http_realip_module \
--with-http_secure_link_module \
--with-http_ssl_module \
--with-http_flv_module \
--without-http_scgi_module \
--without-http_autoindex_module \
--without-http_empty_gif_module \
--add-module=/build/nginx/module/nginx-upload-module \
--with-cc-opt='-O3'

make -j2


Any ideas whats going wrong? 

Thanks for your help.







-- 
Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://www.gmx.net/de/go/toolbar



More information about the nginx mailing list