# Make fail, when --with-http\_ssl\_module

**URL:** <https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160>\
**Category:** NGINX\
**Created:** [August 1, 2011, 3:47pm UTC](https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160 "2011-08-01T15:47:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [August 1, 2011, 3:47pm UTC](https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160/1 "2011-08-01T15:47:26Z")

</div>

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

Posted at Nginx Forum:

> **[Make fail, when --with-http\_ssl\_module](https://forum.nginx.org/read.php?2,213180,213180#msg-213180)**
>
> 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 ./config

---

<div class="post-metadata">

**Author:** ![key](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a183cd/32.png) [@key](https://www.ruby-forum.com/u/key)\
**Post date:** [August 1, 2011, 3:51pm UTC](https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160/2 "2011-08-01T15:51:10Z")

</div>

Hello!

On Mon, Aug 01, 2011 at 09:46:53AM -0400, key wrote:

> 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 D.

---

<div class="post-metadata">

**Author:** ![key](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/a183cd/32.png) [@key](https://www.ruby-forum.com/u/key)\
**Post date:** [August 1, 2011, 3:59pm UTC](https://www.ruby-forum.com/t/make-fail-when-with-http-ssl-module/210160/3 "2011-08-01T15:59:51Z")

</div>

Thank you for your help  
I will be try

Posted at Nginx Forum:

> **[Re: Make fail, when --with-http\_ssl\_module](https://forum.nginx.org/read.php?2,213180,213186#msg-213186)**
>
> 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 ./config
