Make Errors at Debian 7,9 with Nginx 1.8.0
nixmomo opened this issue · 0 comments
Hi,
i tryed to install from Sources with your modul but debuild -us -uc gives this erros
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules -I src/mail
-o objs/addon/nginx-cache-purge/ngx_cache_purge_module.o
/home/nginx-cache-purge/ngx_cache_purge_module.c
/home/nginx-cache-purge/ngx_cache_purge_module.c: In function 'ngx_http_fastcgi_cache_purge_conf':
/home/nginx-cache-purge/ngx_cache_purge_module.c:194:30: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:195:33: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:211:26: error: assignment makes integer from pointer without a cast [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:213:30: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c: In function 'ngx_http_fastcgi_cache_purge_handler':
/home/nginx-cache-purge/ngx_cache_purge_module.c:243:58: error: invalid type argument of '->' (have 'int')
/home/nginx-cache-purge/ngx_cache_purge_module.c: In function 'ngx_http_scgi_cache_purge_conf':
/home/nginx-cache-purge/ngx_cache_purge_module.c:415:30: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:416:33: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:432:26: error: assignment makes integer from pointer without a cast [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:434:30: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c: In function 'ngx_http_scgi_cache_purge_handler':
/home/nginx-cache-purge/ngx_cache_purge_module.c:464:58: error: invalid type argument of '->' (have 'int')
/home/nginx-cache-purge/ngx_cache_purge_module.c: In function 'ngx_http_uwsgi_cache_purge_conf':
/home/nginx-cache-purge/ngx_cache_purge_module.c:517:30: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:518:33: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:534:26: error: assignment makes integer from pointer without a cast [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c:536:30: error: comparison between pointer and integer [-Werror]
/home/nginx-cache-purge/ngx_cache_purge_module.c: In function 'ngx_http_uwsgi_cache_purge_handler':
/home/nginx-cache-purge/ngx_cache_purge_module.c:566:58: error: invalid type argument of '->' (have 'int')
cc1: all warnings being treated as errors
make[3]: *** [objs/addon/nginx-cache-purge/ngx_cache_purge_module.o] Error 1
make[3]: Leaving directory /root/nginx-1.8.0' make[2]: *** [build] Error 2 make[2]: Leaving directory
/root/nginx-1.8.0'
dh_auto_build: make -j1 returned exit code 2
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/root/nginx-1.8.0'
make: *** [build] Error 2