Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#380 closed defect (fixed)

can't make nginx --- ngx_http_request

Reported by: larry liang Owned by:
Priority: minor Milestone: 1.5.2
Component: nginx-module Version: 1.3.x
Keywords: ngx_http_request Cc:
uname -a: Linux 2.6.32-279.el6.x86_64 #1 SMP Fri Jun 22 12:19:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
nginx -V: nginx-1.4.1

Description

OS version: Centos release 6.3

error log:
cc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -D_LARGEFILE_SOURCE -DBUILDING_NGINX -I../diymodules/nginx-rtmp-module -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

src/http/ngx_http_request.c: In function ‘ngx_http_set_virtual_server’:
src/http/ngx_http_request.c:1992: error: ‘ngx_http_ssl_srv_conf_t’ undeclared (first use in this function)
src/http/ngx_http_request.c:1992: error: (Each undeclared identifier is reported only once
src/http/ngx_http_request.c:1992: error: for each function it appears in.)
src/http/ngx_http_request.c:1992: error: ‘sscf’ undeclared (first use in this function)
src/http/ngx_http_request.c:1999: error: ‘ngx_http_ssl_module’ undeclared (first use in this function)
make[1]: * [objs/src/http/ngx_http_request.o] Error 1
make[1]: Leaving directory `/opt/lianghq/nginx-flv-rtmp-mp4/nginx-1.4.1'
make:
* [build] Error 2

Change History (5)

comment:1 by larry liang, 12 years ago

Change the nginx version to 1.2.9,it's ok now.

comment:2 by Ruslan Ermilov, 12 years ago

Resolution: fixed
Status: newclosed

This has already been fixed in 1.5.1 in [5200].
The fix will be merged in the upcoming 1.4.2 release.

Last edited 12 years ago by Ruslan Ermilov (previous) (diff)

comment:3 by Maxim Dounin, 12 years ago

Just a quick comment: an obvious workaround is to use --with-http_ssl_module configure argument.

in reply to:  3 comment:4 by larry liang, 12 years ago

Replying to Maxim Dounin:

Just a quick comment: an obvious workaround is to use --with-http_ssl_module configure argument.

I don't need to use "--with-http_ssl_module",my configurations parameters are as follows:

./configure --prefix=/usr/local/nginx --add-module=diymodules/nginx-h264-streaming --with-http_flv_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_mp4_module --add-module=diymodules/nginx-rtmp-module --with-pcre=diymodules/pcre-8.32/

Note: See TracTickets for help on using tickets.