Thank you! <br><br><div class="gmail_quote">2011/4/27 Igor Sysoev <span dir="ltr"><<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Wed, Apr 27, 2011 at 10:14:16AM -0400, Wayne E. Seguin wrote:<br>
> Hello!<br>
><br>
> I am having an issue with NGinx compiling on an ArchLinux system I have.<br>
><br>
> The failure error is:<br>
><br>
> # make<br>
> make -f objs/Makefile<br>
> make[1]: Entering directory `/usr/local/src/nginx-1.0.0'<br>
> gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter<br>
> -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core<br>
> -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<br>
> [-Werror=unused-but-set-variable]<br>
> src/core/ngx_resolver.c:1425:36: error: variable ‘qtype’ set but not used<br>
> [-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 `/usr/local/src/nginx-1.0.0'<br>
> make: *** [build] Error 2<br>
><br>
> Full details of configure.log make.log gcc --version are here,<br>
><br>
> <a href="https://gist.github.com/944295" target="_blank">https://gist.github.com/944295</a><br>
><br>
> Any help is greatly appreciated. Thank you for your time!<br>
<br>
</div>The attached patch should fix the issue.<br>
<br>
<br>
--<br>
<font color="#888888">Igor Sysoev<br>
</font><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br> ~Wayne<div><br></div><div>Wayne E. Seguin</div><div><a href="mailto:wayneeseguin@gmail.com" target="_blank">wayneeseguin@gmail.com</a></div><div>wayneeseguin on <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a></div>
<div><a href="http://twitter.com/wayneeseguin/" target="_blank">http://twitter.com/wayneeseguin/</a></div><div><a href="https://github.com/wayneeseguin/" target="_blank">https://github.com/wayneeseguin/</a></div><br>