Welcome! Log In Create A New Profile

Advanced

Nginx 1.5.4 compile error

Posted by jan5134 
Nginx 1.5.4 compile error
September 12, 2013 06:58AM
Hi,

I'm trying to compile nginx 1.5.4 with modules: nginx-sticky-module-1.1, chunkin-nginx-module-0.23,ngx_slowfs_cache-1.10.
Is it possible that the problem lies with the sticky_bit module on this nginx version? I have used it a lot
with nginx 1.4 and 1.2 without issues.

I get the following error:

make -f objs/Makefile
make[1]: Entering directory `/root/nginx/nginx-1.5.4'
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -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/http/modules/perl -I src/mail \
-o objs/addon/nginx-sticky-module-1.1/ngx_http_sticky_misc.o \
/root/nginx/nginx-sticky-module-1.1/ngx_http_sticky_misc.c
cc1: warnings being treated as errors
/root/nginx/nginx-sticky-module-1.1/ngx_http_sticky_misc.c: In function ‘ngx_http_sticky_misc_text_raw’:
/root/nginx/nginx-sticky-module-1.1/ngx_http_sticky_misc.c:281: error: passing argument 2 of ‘ngx_sock_ntop’ makes integer from pointer without a cast
src/core/ngx_inet.h:110: note: expected ‘socklen_t’ but argument is of type ‘u_char *’
/root/nginx/nginx-sticky-module-1.1/ngx_http_sticky_misc.c:281: error: passing argument 3 of ‘ngx_sock_ntop’ makes pointer from integer without a cast
src/core/ngx_inet.h:110: note: expected ‘u_char *’ but argument is of type ‘size_t’
/root/nginx/nginx-sticky-module-1.1/ngx_http_sticky_misc.c:281: error: too few arguments to function ‘ngx_sock_ntop’
make[1]: *** [objs/addon/nginx-sticky-module-1.1/ngx_http_sticky_misc.o] Error 1
make[1]: Leaving directory `/root/nginx/nginx-1.5.4'

Any help would be appreciated.
Thanks
Jan
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 177
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready