Hi there,
I'm trying to build www/nginx (1.4.1) which always fails regardless of any compiler (4.2.1, 4.6.4, 4.8.1) that I've tried.
Any help will be appreciated.
I'm trying to build www/nginx (1.4.1) which always fails regardless of any compiler (4.2.1, 4.6.4, 4.8.1) that I've tried.
Any help will be appreciated.
Code:
cc -c -O2 -pipe -march=native -DNO_IDEA -fno-strict-aliasing -I /usr/local/include -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)
*** [objs/src/http/ngx_http_request.o] Error code 1
Stop in /usr/ports/www/nginx/work/nginx-1.4.1.
*** [build] Error code 1
Stop in /usr/ports/www/nginx/work/nginx-1.4.1.
*** [do-build] Error code 1
Stop in /usr/ports/www/nginx.
*** [install] Error code 1
Stop in /usr/ports/www/nginx.