Hello,<br><br>While installing nginx I am facing the following issue<br><br><br># make<br>make -f objs/Makefile<br>make[1]: Entering directory `/tmp/root-passenger-17381/nginx-0.8.53'<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/nginx.o \<br> src/core/nginx.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_log.o \<br> src/core/ngx_log.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_palloc.o \<br> src/core/ngx_palloc.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_array.o \<br> src/core/ngx_array.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_list.o \<br> src/core/ngx_list.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_hash.o \<br> src/core/ngx_hash.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_buf.o \<br> src/core/ngx_buf.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_queue.o \<br> src/core/ngx_queue.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_output_chain.o \<br> src/core/ngx_output_chain.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_string.o \<br> src/core/ngx_string.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_parse.o \<br> src/core/ngx_parse.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_inet.o \<br> src/core/ngx_inet.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_file.o \<br> src/core/ngx_file.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_crc32.o \<br> src/core/ngx_crc32.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_rbtree.o \<br> src/core/ngx_rbtree.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_radix_tree.o \<br> src/core/ngx_radix_tree.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_slab.o \<br> src/core/ngx_slab.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_times.o \<br> src/core/ngx_times.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_shmtx.o \<br> src/core/ngx_shmtx.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_connection.o \<br> src/core/ngx_connection.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_cycle.o \<br> src/core/ngx_cycle.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_spinlock.o \<br> src/core/ngx_spinlock.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_cpuinfo.o \<br> src/core/ngx_cpuinfo.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_conf_file.o \<br> src/core/ngx_conf_file.c<br>gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
-o objs/src/core/ngx_resolver.o \<br> src/core/ngx_resolver.c<br>src/core/ngx_resolver.c: In function ‘ngx_resolver_process_ptr’:<br>src/core/ngx_resolver.c:1425:43: error: variable ‘qclass’ set but not used [-Werror=unused-but-set-variable]<br>
src/core/ngx_resolver.c:1425:36: error: variable ‘qtype’ set but not used [-Werror=unused-but-set-variable]<br>cc1: all warnings being treated as errors<br><br>make[1]: *** [objs/src/core/ngx_resolver.o] Error 1<br>make[1]: Leaving directory `/tmp/root-passenger-17381/nginx-0.8.53'<br>
make: *** [build] Error 2<br><br><br><br>I got a patch file while searching for this error on google. But where do I put it?<br><br>Please guide me to sove this issue.<br><br>Regards <br>Smitha<br>