mod wsgi

volga629 nginx-forum at nginx.us
Fri Dec 27 09:15:44 UTC 2013


Hello Everyone,
Tried add mod wsgi and compilation fail. Any help thank you in advance.


<pre>
		-o objs/addon/src/ngx_http_wsgi_module.o \
		/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:184:
error: 'ngx_garbage_collector_temp_handler' undeclared here (not in a
function)
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:184:
warning: missing initializer
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:184:
warning: (near initialization for 'ngx_http_wsgi_commands[12].post')
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:
In function 'ngx_http_wsgi_merge_loc_conf':
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:373:
warning: passing argument 1 of 'ngx_conf_merge_path_value' from incompatible
pointer type
src/core/ngx_file.h:142: note: expected 'struct ngx_conf_t *' but argument
is of type 'struct ngx_path_t *'
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:373:
warning: passing argument 2 of 'ngx_conf_merge_path_value' from incompatible
pointer type
src/core/ngx_file.h:142: note: expected 'struct ngx_path_t **' but argument
is of type 'struct ngx_path_t *'
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:373:
warning: passing argument 3 of 'ngx_conf_merge_path_value' from incompatible
pointer type
src/core/ngx_file.h:142: note: expected 'struct ngx_path_t *' but argument
is of type 'char *'
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:373:
warning: passing argument 4 of 'ngx_conf_merge_path_value' makes pointer
from integer without a cast
src/core/ngx_file.h:142: note: expected 'struct ngx_path_init_t *' but
argument is of type 'int'
/home/volga629/rpmbuild/BUILD/nginx-1.4.4/mod_wsgi/src/ngx_http_wsgi_module.c:373:
error: too many arguments to function 'ngx_conf_merge_path_value'
make[1]: *** [objs/addon/src/ngx_http_wsgi_module.o] Error 1
make[1]: Leaving directory `/home/volga629/rpmbuild/BUILD/nginx-1.4.4'
make: *** [build] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.ajqqDV (%build)

</pre>

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245873,245873#msg-245873



More information about the nginx mailing list