Opened 12 years ago

Closed 12 years ago

#197 closed defect (invalid)

src/http/modules/ngx_http_ssl_module.c:239: error: ‘SSL_TLSEXT_ERR_NOACK’ undeclared (first use in this function)

Reported by: Amol Pujari Owned by: somebody
Priority: blocker Milestone:
Component: nginx-core Version: 1.3.x
Keywords: Cc:
uname -a: Linux rentalroost 2.6.18-238.el5xen #1 SMP Thu Jan 13 16:41:45 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: Usage: /etc/init.d/nginx {start|stop|status|restart|condrestart|try-restart|reload|force-reload|configtest}

Description

I run the following script and got the error given below


#!/bin/sh

NGINX_VERSION=1.3.4
TMP_PATH=/tmp

# Fetch and extract Nginx
cd $TMP_PATH
wget http://nginx.org/download/nginx-$NGINX_VERSION.tar.gz
tar xvfz nginx-$NGINX_VERSION.tar.gz
cd nginx-$NGINX_VERSION

# Fetch and apply the Nginx SPDY patch
wget http://nginx.org/patches/spdy/patch.spdy.txt
patch -p0 < patch.spdy.txt

# Install the latest passenger gem
sudo gem install passenger

# Configure passenger (with ubuntu-style paths)
sudo passenger-install-nginx-module \

--auto \
--nginx-source-dir=$TMP_PATH/nginx-$NGINX_VERSION \
--prefix=/usr \
--extra-configure-flags=" \

--conf-path=/etc/nginx/nginx.conf \
--pid-path=/var/run/nginx.pid \
--sbin-path=/usr/sbin \
--error-log-path=/var/log/nginx/error.log \
--http-log-path=/var/log/nginx/access.log"

# Cleanup
sudo rm -r $TMP_PATH/nginx-$NGINX_VERSION
rm $TMP_PATH/nginx-$NGINX_VERSION.tar.gz


error =>modules \

-o objs/src/http/modules/ngx_http_map_module.o \
src/http/modules/ngx_http_map_module.c

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wno-error -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/modules/ngx_http_split_clients_module.o \
src/http/modules/ngx_http_split_clients_module.c

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wno-error -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/modules/ngx_http_referer_module.o \
src/http/modules/ngx_http_referer_module.c

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wno-error -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/modules/ngx_http_rewrite_module.o \
src/http/modules/ngx_http_rewrite_module.c

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -Wno-error -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/modules/ngx_http_ssl_module.o \
src/http/modules/ngx_http_ssl_module.c

src/http/modules/ngx_http_ssl_module.c: In function ‘ngx_http_ssl_npn_advertised’:
src/http/modules/ngx_http_ssl_module.c:239: error: ‘SSL_TLSEXT_ERR_NOACK’ undeclared (first use in this function)
src/http/modules/ngx_http_ssl_module.c:239: error: (Each undeclared identifier is reported only once
src/http/modules/ngx_http_ssl_module.c:239: error: for each function it appears in.)
src/http/modules/ngx_http_ssl_module.c:247: error: ‘SSL_TLSEXT_ERR_OK’ undeclared (first use in this function)
src/http/modules/ngx_http_ssl_module.c: In function ‘ngx_http_ssl_merge_srv_conf’:
src/http/modules/ngx_http_ssl_module.c:469: warning: implicit declaration of function ‘SSL_CTX_set_next_protos_advertised_cb’
make[1]: * [objs/src/http/modules/ngx_http_ssl_module.o] Error 1
make[1]: Leaving directory `/tmp/nginx-1.3.4'
make:
* [build] Error 2


It looks like something went wrong

Please read our Users guide for troubleshooting tips:

/usr/local/lib/ruby/gems/1.9.1/gems/passenger-3.0.15/doc/Users guide Nginx.html

If that doesn't help, please use our support facilities at:

https://www.phusionpassenger.com

We'll do our best to help you.

Change History (1)

comment:1 by Valentin V. Bartenev, 12 years ago

Resolution: invalid
Status: newclosed

http://nginx.org/patches/spdy/README.txt

How to build nginx with SPDY:

  1. Install OpenSSL 1.0.1
Note: See TracTickets for help on using tickets.