Make fail, when --with-http_ssl_module
Maxim Dounin
mdounin at mdounin.ru
Mon Aug 1 13:50:15 UTC 2011
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
More information about the nginx
mailing list