Welcome! Log In Create A New Profile

Advanced

Re: syslog patch and 0.7.x

Marlon de Boer
September 03, 2009 05:58PM
Joe Williams wrote:
> Marlon,
>
> I am trying this patch again 0.7.61 and getting a build error:
>
> make -f objs/Makefile
> make[1]: Entering directory `/root/nginx-0.7.61'
> gcc -c -O -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/nginx.o \ src/core/nginx.c gcc -c -O -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_log.o \ src/core/ngx_log.c cc1: warnings being
> treated as errors src/core/ngx_log.c: In function 'ngx_error_log':
> src/core/ngx_log.c:456: error: pointer targets in assignment differ in
> signedness make[1]: *** [objs/src/core/ngx_log.o] Error 1 make[1]:
> Leaving directory `/root/nginx-0.7.61' make: *** [build] Error 2
>

I created this patch on a gentoo system and haven't tested building it
without ebuild and emerge. It seems that building it from scratch uses
gcc -Wall being much more strict.

If you want to test the test quickly open up objs/Makefile and remove
the -Wall and -Werro in the CFLAGS.

I'll try to take a look tomorrow to make the patch working with more
strict gcc rules.

Regards
Marlon
Subject Author Posted

syslog patch and 0.7.x

Joe Williams September 03, 2009 01:04PM

Re: syslog patch and 0.7.x

Joe Williams September 03, 2009 03:28PM

Re: syslog patch and 0.7.x

Marlon de Boer September 03, 2009 04:02PM

Re: syslog patch and 0.7.x

Joe Williams September 03, 2009 04:30PM

Re: syslog patch and 0.7.x

Joe Williams September 03, 2009 04:58PM

Re: syslog patch and 0.7.x

Marlon de Boer September 03, 2009 05:58PM

Re: syslog patch and 0.7.x

Joe Williams September 03, 2009 07:54PM

Re: syslog patch and 0.7.x

Marlon de Boer September 04, 2009 11:38AM

Re: syslog patch and 0.7.x

Joe Williams September 04, 2009 01:56PM

Re: syslog patch and 0.7.x

Marlon de Boer September 04, 2009 03:30PM

Re: syslog patch and 0.7.x

Nam November 17, 2009 02:05AM

Re: syslog patch and 0.7.x

Marlon de Boer November 17, 2009 03:18AM

Re: syslog patch and 0.7.x

Nam November 17, 2009 05:34AM

Re: syslog patch and 0.7.x

Jean-Baptiste Quenot November 23, 2009 06:16AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
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