Thank you! <br><br><div class="gmail_quote">2011/4/27 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:igor@sysoev.ru">igor@sysoev.ru</a>&gt;</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>
&gt; Hello!<br>
&gt;<br>
&gt; I am having an issue with NGinx compiling on an ArchLinux system I have.<br>
&gt;<br>
&gt; The failure error is:<br>
&gt;<br>
&gt; # make<br>
&gt; make -f objs/Makefile<br>
&gt; make[1]: Entering directory `/usr/local/src/nginx-1.0.0&#39;<br>
&gt; gcc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter<br>
&gt; -Wunused-function -Wunused-variable -Wunused-value -Werror -g  -I src/core<br>
&gt; -I src/event -I src/event/modules -I src/os/unix -I objs \<br>
&gt;                 -o objs/src/core/ngx_resolver.o \<br>
&gt;                 src/core/ngx_resolver.c<br>
&gt; src/core/ngx_resolver.c: In function ‘ngx_resolver_process_ptr’:<br>
&gt; src/core/ngx_resolver.c:1425:43: error: variable ‘qclass’ set but not used<br>
&gt; [-Werror=unused-but-set-variable]<br>
&gt; src/core/ngx_resolver.c:1425:36: error: variable ‘qtype’ set but not used<br>
&gt; [-Werror=unused-but-set-variable]<br>
&gt; cc1: all warnings being treated as errors<br>
&gt;<br>
&gt; make[1]: *** [objs/src/core/ngx_resolver.o] Error 1<br>
&gt; make[1]: Leaving directory `/usr/local/src/nginx-1.0.0&#39;<br>
&gt; make: *** [build] Error 2<br>
&gt;<br>
&gt; Full details of configure.log make.log gcc --version are here,<br>
&gt;<br>
&gt; <a href="https://gist.github.com/944295" target="_blank">https://gist.github.com/944295</a><br>
&gt;<br>
&gt; 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>