1 Aug 2011 15:50
Re: Make fail, when --with-http_ssl_module
Hello! On Mon, Aug 01, 2011 at 09:46:53AM -0400, key wrote: > System: > Fedora 15 > 2.6.38.6-27.fc15.i686 #1 SMP Sun May 15 17:57:13 UTC 2011 i686 i686 i386 > GNU/Linux > > OpenSSL > OpenSSL 1.0.0d-fips 8 Feb 2011 > (yum install openssl openssl-devel) > > Nginx ver 1.0.5 > > configure > > ./configure \ > --user=daemon \ > --group=daemon \ > --with-http_ssl_module \ > > check ok..... > > make error > > src/event/ngx_event_openssl.c: In function > ‘ngx_ssl_get_cached_session’: > src/event/ngx_event_openssl.c:1690:31: error: variable ‘c’ set but > not used [-Werror=unused-but-set-variable] > cc1: all warnings being treated as errors > > make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1 > make[1]: Leaving directory `/root/downloads/nginx-1.0.5' > make: *** [build] Error 2 This should be fixed in upcoming 1.0.6. For now, try ./configure --with-cc-opt="-Wno-error=unused-but-set-variable" ... Maxim Dounin _______________________________________________ nginx mailing list nginx <at> nginx.org http://mailman.nginx.org/mailman/listinfo/nginx
RSS Feed