FRiCKLE/ngx_postgres — Issue #9: Compilation fails on NgX-1.1.6
Author: msva
Created: 2011-10-26 19:40:35+00:00
State: open

Hi there! I've get this, when trying to compile NgX-1.1.6 with latest "tagged" version of ngx_postgres:

make -j3 -s 'LINK=x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed' OTHERLDFLAGS=-Wl,-O1,--as-needed
/var/tmp/portage/www-servers/nginx-1.1.6/work/FRiCKLE-ngx_postgres-f28923c/src/ngx_postgres_output.c: In function 'ngx_postgres_output_chain':
/var/tmp/portage/www-servers/nginx-1.1.6/work/FRiCKLE-ngx_postgres-f28923c/src/ngx_postgres_output.c:583:5: warning: passing argument 1 of 'ngx_chain_update_chains' from incompatible pointer type
src/core/ngx_buf.h:157:6: note: expected 'struct ngx_pool_t *' but argument is of type 'struct ngx_chain_t **'
/var/tmp/portage/www-servers/nginx-1.1.6/work/FRiCKLE-ngx_postgres-f28923c/src/ngx_postgres_output.c:583:5: error: too few arguments to function 'ngx_chain_update_chains'
src/core/ngx_buf.h:157:6: note: declared here
make[1]: *** [objs/addon/src/ngx_postgres_output.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2

Any Ideas, how to fix this? :)