FRiCKLE / ngx_postgres

upstream module that allows nginx to communicate directly with PostgreSQL database.
http://labs.frickle.com/nginx_ngx_postgres/
BSD 2-Clause "Simplified" License
545 stars 122 forks source link

Compilation fails on NgX-1.1.6 #9

Closed msva closed 12 years ago

msva commented 13 years ago

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_poolt ' but argument is of type 'struct ngx_chaint *' /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? :)

PiotrSikora commented 13 years ago

I'm aware of this, I've been holding off 0.9 release for way too long... For now, either use HEAD or wait until tomorrow, I should sort this out by then.

msva commented 13 years ago

btw, same for 1.1.4 (and all okay with 1.1.3). Btw, it was some API changes between 1.1.3 and 1.1.4.

PiotrSikora commented 13 years ago

It's fixed in HEAD, just not released yet.

msva commented 13 years ago

any news? :)

PiotrSikora commented 13 years ago

Sorry, I'm swamped with work. I'll do this as soon as possible (but not sooner).

PiotrSikora commented 12 years ago

New version released, sorry for the delay.