Can't compile since 0.8.33 on CentOS

Maxim Dounin mdounin at mdounin.ru
Fri Apr 16 01:17:31 MSD 2010


Hello!

On Thu, Apr 15, 2010 at 01:42:31PM -0700, Michael Shadle wrote:

> Now that I examine this, it's treating warnings as errors. Ideally
> this wouldn't be a warning either, but what could be going on to make
> this force fail?

nginx uses -Werror by default

[...]

> src/http/modules/ngx_http_fastcgi_module.c: In function
> ‘ngx_http_fastcgi_process_header’:
> src/http/modules/ngx_http_fastcgi_module.c:1104: warning: unused variable ‘fh’
> make[1]: *** [objs/src/http/modules/ngx_http_fastcgi_module.o] Error 1
> make[1]: Leaving directory `/usr/src/build/nginx-0.8.35'

Known issue, --without-http-cache breaks this way.  You may either 
patch it (patch is trivial and was already posted here[1]) or just 
compile it with cache.

[1] http://nginx.org/pipermail/nginx/2010-April/019698.html

Maxim Dounin



More information about the nginx mailing list