Welcome! Log In Create A New Profile

Advanced

Re: Nginx 1.0.0/0.8.54 build issue

Wayne E. Seguin
April 27, 2011 11:42AM
Thank you!

2011/4/27 Igor Sysoev <igor@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>


--
~Wayne

Wayne E. Seguin
wayneeseguin@gmail.com
wayneeseguin on irc.freenode.net
http://twitter.com/wayneeseguin/
https://github.com/wayneeseguin/
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx 1.0.0/0.8.54 build issue

Wayne E. Seguin April 27, 2011 10:16AM

Re: Nginx 1.0.0/0.8.54 build issue

Igor Sysoev April 27, 2011 11:20AM

Re: Nginx 1.0.0/0.8.54 build issue

Wayne E. Seguin April 27, 2011 11:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready