Welcome! Log In Create A New Profile

Advanced

1.0.2+ wont build

OQ
June 29, 2011 04:44PM
In auto/cc/gcc, you have:

CFLAGS="$CFLAGS -Werror"

and

CFLAGS="$CFLAGS -Wunused-variable"

so when building 1.0.2+ you receive this error:

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter
-Wunused-function -Wunused-variable -Wunused-value -Werror -g -O2 -I
src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.c: In function ‘ngx_ssl_get_cached_session’:
src/event/ngx_event_openssl.c:1690:31: error: variable ‘c’ set but not
used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

make[1]: *** [objs/src/event/ngx_event_openssl.o] Error 1

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

1.0.2+ wont build

OQ June 29, 2011 04:44PM

Re: 1.0.2+ wont build

agentzh June 30, 2011 07:24AM

Re: 1.0.2+ wont build

Maxim Dounin June 30, 2011 08:08AM

Re: 1.0.2+ wont build

Maxim Dounin June 30, 2011 08:08AM

Re: 1.0.2+ wont build

Maxim Dounin June 30, 2011 08:10AM

Re: 1.0.2+ wont build

OQ June 30, 2011 10:44AM

Re: 1.0.2+ wont build

Maxim Dounin June 30, 2011 12:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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