Closed frogstarr78 closed 9 years ago
I'm having a similar issue to https://github.com/yaoweibin/nginx_ajp_module/issues/35
AJP: 0.3.0 (and 0.2.6 actually I tried to see if it was an issue with the latest release) Nginx: 1.8.0 PCRE: 7.8 CentOS: 6.6
./configure --add-module=/root/nginx_ajp_module-0.3.0/ --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module --with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' ... cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/nginx_ajp_module-0.2.6//modules -I /root/nginx_ajp_module-0.2.6/ -I objs -I src/http -I src/http/modules -I src/mail \ -o objs/addon/nginx_ajp_module-0.2.6/ngx_http_ajp.o \ /root/nginx_ajp_module-0.2.6//ngx_http_ajp.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/nginx_ajp_module-0.2.6//modules -I /root/nginx_ajp_module-0.2.6/ -I objs -I src/http -I src/http/modules -I src/mail \ -o objs/addon/nginx_ajp_module-0.2.6/ngx_http_ajp_module.o \ /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c cc1: warnings being treated as errors /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_store’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:468: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:468: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_cache’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:541: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:546: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:555: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:556: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_create_loc_conf’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:670: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_merge_loc_conf’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: pointer/integer type mismatch in conditional expression /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:872: error: invalid type argument of ‘->’ (have ‘int’) /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:875: error: assignment makes pointer from integer without a cast make[1]: *\ [objs/addon/nginx_ajp_module-0.2.6/ngx_http_ajp_module.o] Error 1
Nevermind. The same issue is not present in the master banch. I recompiled using that and everything appears to be functioning as expected. Sorry for the false alarm.
I'm having a similar issue to https://github.com/yaoweibin/nginx_ajp_module/issues/35
AJP: 0.3.0 (and 0.2.6 actually I tried to see if it was an issue with the latest release) Nginx: 1.8.0 PCRE: 7.8 CentOS: 6.6
./configure --add-module=/root/nginx_ajp_module-0.3.0/ --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-ipv6 --with-http_spdy_module --with-cc-opt='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' ... cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/nginx_ajp_module-0.2.6//modules -I /root/nginx_ajp_module-0.2.6/ -I objs -I src/http -I src/http/modules -I src/mail \ -o objs/addon/nginx_ajp_module-0.2.6/ngx_http_ajp.o \ /root/nginx_ajp_module-0.2.6//ngx_http_ajp.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -I src/core -I src/event -I src/event/modules -I src/os/unix -I /root/nginx_ajp_module-0.2.6//modules -I /root/nginx_ajp_module-0.2.6/ -I objs -I src/http -I src/http/modules -I src/mail \ -o objs/addon/nginx_ajp_module-0.2.6/ngx_http_ajp_module.o \ /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c cc1: warnings being treated as errors /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_store’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:468: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:468: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_cache’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:541: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:546: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:555: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:556: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_create_loc_conf’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:670: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c: In function ‘ngx_http_ajp_merge_loc_conf’: /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: comparison between pointer and integer /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: pointer/integer type mismatch in conditional expression /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:869: error: assignment makes integer from pointer without a cast /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:872: error: invalid type argument of ‘->’ (have ‘int’) /root/nginx_ajp_module-0.2.6//ngx_http_ajp_module.c:875: error: assignment makes pointer from integer without a cast make[1]: *\ [objs/addon/nginx_ajp_module-0.2.6/ngx_http_ajp_module.o] Error 1