yaoweibin/nginx_tcp_proxy_module — Issue #13: TCP SSL Support
Author: CMGS
Created: 2011-10-14 07:31:58+00:00
State: open

I don't know why when I making nginx with tcp module (websocket branch) it will raise the follow exceptions:

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 ../ngx_tcp_proxy//modules -I ../ngx_tcp_proxy/ -I /opt/local/include -I objs -I src/http -I src/http/modules -I src/mail \
-o objs/addon/ngx_tcp_proxy/ngx_tcp.o \
../ngx_tcp_proxy//ngx_tcp.c
In file included from ../ngx_tcp_proxy/ngx_tcp.h:32,
from ../ngx_tcp_proxy//ngx_tcp.c:5:
../ngx_tcp_proxy/ngx_tcp_upstream_round_robin.h:30: error: expected specifier-qualifier-list before ‘ngx_ssl_session_t’
In file included from ../ngx_tcp_proxy/ngx_tcp.h:35,
from ../ngx_tcp_proxy//ngx_tcp.c:5:
../ngx_tcp_proxy//modules/ngx_tcp_ssl_module.h:14: error: expected specifier-qualifier-list before ‘ngx_ssl_t’
make[1]: *** [objs/addon/ngx_tcp_proxy/ngx_tcp.o] Error 1
make: *** [build] Error 2

and then I commented out all ssl configures in config file, the problem is solved.

nginx version 0.8.53~1.1.5, OSX 10.7.2