Nginx 1.0.0/0.8.54 build issue

Wayne E. Seguin wayneeseguin at gmail.com
Wed Apr 27 19:39:52 MSD 2011


Thank you!

2011/4/27 Igor Sysoev <igor at sysoev.ru>

> On Wed, Apr 27, 2011 at 10:14:16AM -0400, Wayne E. Seguin wrote:
> > Hello!
> >
> > I am having an issue with NGinx compiling on an ArchLinux system I have.
> >
> > The failure error is:
> >
> > # make
> > make -f objs/Makefile
> > make[1]: Entering directory `/usr/local/src/nginx-1.0.0'
> > 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 \
> >                 -o objs/src/core/ngx_resolver.o \
> >                 src/core/ngx_resolver.c
> > src/core/ngx_resolver.c: In function ‘ngx_resolver_process_ptr’:
> > src/core/ngx_resolver.c:1425:43: error: variable ‘qclass’ set but not
> used
> > [-Werror=unused-but-set-variable]
> > src/core/ngx_resolver.c:1425:36: error: variable ‘qtype’ set but not used
> > [-Werror=unused-but-set-variable]
> > cc1: all warnings being treated as errors
> >
> > make[1]: *** [objs/src/core/ngx_resolver.o] Error 1
> > make[1]: Leaving directory `/usr/local/src/nginx-1.0.0'
> > make: *** [build] Error 2
> >
> > Full details of configure.log make.log gcc --version are here,
> >
> > https://gist.github.com/944295
> >
> > Any help is greatly appreciated. Thank you for your time!
>
> The attached patch should fix the issue.
>
>
> --
> Igor Sysoev
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>


-- 
  ~Wayne

Wayne E. Seguin
wayneeseguin at gmail.com
wayneeseguin on irc.freenode.net
http://twitter.com/wayneeseguin/
https://github.com/wayneeseguin/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110427/1b785ed7/attachment.html>


More information about the nginx mailing list