Make error #19

Open
ggd543 opened this Issue Nov 16, 2011 · 1 comment

Comments

Projects
None yet
2 participants
@ggd543

ggd543 commented Nov 16, 2011

After I do the ./configure --add-module=../yaoweibin-nginx_tcp_proxy_module-e312d8d/ --with-pcre=../pcre-8.11 --with-zlib=../zlib-1.2.5.1 --with-openssl=../openssl-1.0.0e and then make, I get the follow error at the end:

../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_connect’:
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:355: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:356: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_finalize_session’:
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:551: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:552: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:553: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
make[1]: *** [objs/addon/yaoweibin-nginx_tcp_proxy_module-e312d8d/ngx_tcp_upstream.o] 错误 1
make[1]: Leaving directory `/root/tmp/nginx-1.1.0'
make: *** [build] 错误 2

Note: I did not do a patch like patch -p1 < tcp.patch for there is an error for the patch operation . see issue: #17

@yaoweibin

This comment has been minimized.

Show comment
Hide comment
@yaoweibin

yaoweibin Nov 16, 2011

Owner

Hi,

You should do the patching first.

Go to the Nginx source directory, and do the patch work.

cd Nginx-source-file

patch -p1 < ../yaoweibin-nginx_tcp_proxy_module-e312d8d/tcp.patch

On 2011-11-16 12:25, 刘永健 wrote:

After I do the ./configure --add-module=../yaoweibin-nginx_tcp_proxy_module-e312d8d/ --with-pcre=../pcre-8.11 --with-zlib=../zlib-1.2.5.1 --with-openssl=../openssl-1.0.0e and then make, I get the follow error at the end:

../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_connect’:
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:355: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:356: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_finalize_session’:
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:551: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:552: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:553: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
make[1]: *** [objs/addon/yaoweibin-nginx_tcp_proxy_module-e312d8d/ngx_tcp_upstream.o] 错误 1
make[1]: Leaving directory `/root/tmp/nginx-1.1.0'
make: *** [build] 错误 2

Note: I did not do a patch like patch -p1< tcp.patch for there is an error for the patch operation . see issue: #17


Reply to this email directly or view it on GitHub:
#19

Weibin Yao

Owner

yaoweibin commented Nov 16, 2011

Hi,

You should do the patching first.

Go to the Nginx source directory, and do the patch work.

cd Nginx-source-file

patch -p1 < ../yaoweibin-nginx_tcp_proxy_module-e312d8d/tcp.patch

On 2011-11-16 12:25, 刘永健 wrote:

After I do the ./configure --add-module=../yaoweibin-nginx_tcp_proxy_module-e312d8d/ --with-pcre=../pcre-8.11 --with-zlib=../zlib-1.2.5.1 --with-openssl=../openssl-1.0.0e and then make, I get the follow error at the end:

../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_connect’:
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:355: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:356: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c: In function ‘ngx_tcp_upstream_finalize_session’:
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:551: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:552: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
../yaoweibin-nginx_tcp_proxy_module-e312d8d//ngx_tcp_upstream.c:553: 错误:‘ngx_peer_connection_t’ 没有名为 ‘check_index’ 的成员
make[1]: *** [objs/addon/yaoweibin-nginx_tcp_proxy_module-e312d8d/ngx_tcp_upstream.o] 错误 1
make[1]: Leaving directory `/root/tmp/nginx-1.1.0'
make: *** [build] 错误 2

Note: I did not do a patch like patch -p1< tcp.patch for there is an error for the patch operation . see issue: #17


Reply to this email directly or view it on GitHub:
#19

Weibin Yao

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment