# SPDY Patch fails to compile

**URL:** <https://www.ruby-forum.com/t/spdy-patch-fails-to-compile/226735>\
**Category:** NGINX\
**Created:** [February 19, 2013, 6:02pm UTC](https://www.ruby-forum.com/t/spdy-patch-fails-to-compile/226735 "2013-02-19T18:02:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![manacit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@manacit](https://www.ruby-forum.com/u/manacit)\
**Post date:** [February 19, 2013, 6:02pm UTC](https://www.ruby-forum.com/t/spdy-patch-fails-to-compile/226735/1 "2013-02-19T18:02:41Z")

</div>

Attempting to compile the SPDY patch with the new 1.3.13 release gives:

$ make  
make -f objs/Makefile  
make[1]: Entering directory `/home/nick/src/nginx-1.3.13' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \ -o objs/src/http/ngx_http_spdy.o \ src/http/ngx_http_spdy.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \ -o objs/src/http/ngx_http_spdy_filter_module.o \ src/http/ngx_http_spdy_filter_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \ -o objs/src/http/modules/ngx_http_autoindex_module.o \ src/http/modules/ngx_http_autoindex_module.c cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I src/http -I src/http/modules \ -o objs/src/http/modules/ngx_http_auth_basic_module.o \ src/http/modules/ngx_http_auth_basic_module.c src/http/ngx_http_spdy.c: In function ‘ngx_http_spdy_run_request’: src/http/ngx_http_spdy.c:1747:33: error: variable ‘fc’ set but not used [-Werror=unused-but-set-variable] cc1: all warnings being treated as errors make[1]: ***[objs/src/http/ngx_http_spdy.o] Error 1 make[1]:*** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/nick/src/nginx-1.3.13’  
make: \*\*\* [build] Error 2

The patch was applied exactly as specified in the README, with no  
additional  
addons. 1.3.12 built with the SPDY patch on the machine without error

Note that I can build 1.3.13 on other machines

Posted at Nginx Forum:

> **[SPDY Patch fails to compile](https://forum.nginx.org/read.php?2,236351,236351#msg-236351)**
>
> Attempting to compile the SPDY patch with the new 1.3.13 release gives: $ make make -f objs/Makefile make\[1\]: Entering directory \`/home/nick/src/nginx-1.3.13' cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I src/core -I...

---

<div class="post-metadata">

**Author:** ![manacit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8edcca/32.png) [@manacit](https://www.ruby-forum.com/u/manacit)\
**Post date:** [February 19, 2013, 6:23pm UTC](https://www.ruby-forum.com/t/spdy-patch-fails-to-compile/226735/2 "2013-02-19T18:23:09Z")

</div>

On Tuesday 19 February 2013 21:02:01 manacit wrote:

> cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g  
> -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs -I  
> make: \*\*\* [build] Error 2
> 
> The patch was applied exactly as specified in the README, with no  
> additional addons. 1.3.12 built with the SPDY patch on the machine without  
> error
> 
> Note that I can build 1.3.13 on other machines

Hmm.. it seems that I broke building without debug.  
Fixed now: [http://nginx.org/patches/spdy/patch.spdy-65\_1.3.13.txt](http://nginx.org/patches/spdy/patch.spdy-65_1.3.13.txt)

wbr, Valentin V. Bartenev

–

> **[F5 NGINX: Built for cloud-native apps. Ready for AI traffic.](https://www.f5.com/products/nginx)**
>
> Deliver modern applications with NGINX. Explore high-performance load balancing, API gateways, and web server solutions trusted by top global enterprises.

> **[nginx: donation](http://nginx.org/en/donation.html)**
