In file included from src/core/ngx_core.h:49:0,
from ../echo-nginx-module/src/ddebug.h:4,
from ../echo-nginx-module/src/ngx_http_echo_module.c:10:
src/os/unix/ngx_files.h:387:25: error: unknown type name ‘ngx_thread_task_t’
ssize_t ngx_thread_read(ngx_thread_task_t **taskp, ngx_file_t *file,
^
In file included from src/core/ngx_core.h:57:0,
from ../echo-nginx-module/src/ddebug.h:4,
from ../echo-nginx-module/src/ngx_http_echo_module.c:10:
src/core/ngx_buf.h:105:50: error: unknown type name ‘ngx_thread_task_t’
ngx_int_t (*thread_handler)(ngx_thread_task_t *task,
^
src/core/ngx_buf.h:107:5: error: expected ‘;’ before ‘ngx_thread_task_t’
ngx_thread_task_t *thread_task;
^
In file included from src/core/ngx_core.h:62:0,
from ../echo-nginx-module/src/ddebug.h:4,
from ../echo-nginx-module/src/ngx_http_echo_module.c:10:
src/core/ngx_file.h:27:48: error: unknown type name ‘ngx_thread_task_t’
ngx_int_t (*thread_handler)(ngx_thread_task_t *task,
^
In file included from src/core/ngx_core.h:83:0,
我不确定是否个例,麻烦春哥试试看下