Re: spdy-patch ошибка при компиляции

Maxim Dounin mdounin на mdounin.ru
Ср Июн 20 05:20:16 UTC 2012


Hello!

On Wed, Jun 20, 2012 at 11:15:01AM +0600, Marat Bediev wrote:

> Решил попробовать подключить spdy.
> nginx-1.3.1
> patch.spdy-37
> ./configure --with-http_ssl_module
> 
> при компиляции получаю:
> 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 -I src/http -I
> src/http/modules \
>  -o objs/src/http/ngx_http_request.o \
> src/http/ngx_http_request.c
> cc1: warnings being treated as errors
> src/http/ngx_http_request.c: In function 'ngx_http_ssl_handshake_handler':
> src/http/ngx_http_request.c:634: error: implicit declaration of function
> 'SSL_get0_next_proto_negotiated'
> make[1]: *** [objs/src/http/ngx_http_request.o] Error 1
> make[1]: Leaving directory `/usr/src/nginx-1.3.1'
> make: *** [build] Error 2

Что как бы говорит: нужен более свежий openssl.  Next protocol 
negotiation, который нужен для работы spdy, есть только в openssl 
1.0.1+.

Maxim Dounin



Подробная информация о списке рассылки nginx-ru