Welcome! Log In Create A New Profile

Advanced

Re: Make fail, when --with-http_ssl_module

Maxim Dounin
August 01, 2011 09:52AM
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@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Make fail, when --with-http_ssl_module

key August 01, 2011 09:46AM

Re: Make fail, when --with-http_ssl_module

Maxim Dounin August 01, 2011 09:52AM

Re: Make fail, when --with-http_ssl_module

key August 01, 2011 09:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 267
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready