Tengine版本:v3.0
openssl :3.1 ngx_devel_kit:0.3.0 - 2 ngx_http_lua_module : 已测试:v.[v0.10.17v- 24]
在编译时都报: p_lua_module/src/ngx_http_lua_ssl.c:33: 首先在这里定义 /usr/bin/ld: objs/addon/src/ngx_http_lua_ssl.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_ssl.c :16: ngx_http_lua_ssl_ctx_index'; objs/addon/src/ngx_http_lua_ssl.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_ssl.c:16: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_log_ringbuf.o: in function
ngx_http_lua_log_ringbuf_init'的多个定义: /root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:36: ngx_http_lua_log_ringbuf_init'; objs/addon/src/ngx_http_lua_log_ringbuf.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:36: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_log_ringbuf.o: in function
ngx_http_lua_log_ringbuf_reset'的多个定义: /root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf .c:52:多个ngx_http_lua_log_ringbuf_write'的定义ngx_http_lua_log_ringbuf_reset'; objs/addon/src/ngx_http_lua_log_ringbuf.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:52: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_log_ringbuf.o: in function
:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:159:ngx_http_lua_log_ringbuf_write'; objs/addon/src/ngx_http_lua_log_ringbuf.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:159: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_log_ringbuf.o: in function
ngx_http_lua_log_ringbuf_read'的多个定义:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:196 : ngx_http_lua_log_ringbuf_read'; objs/addon/src/ngx_http_lua_log_ringbuf.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_log_ringbuf.c:196: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_input_filters.o: in function
ngx_http_lua_read_bytes'的多个定义:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:20: ngx_http_lua_read_bytes'; objs/addon/src/ngx_http_lua_input_filters.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:20: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_input_filters.o: in function
ngx_http_lua_read_all'的多个定义:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:46: ngx_http_lua_read_all'; objs/addon/src/ngx_http_lua_input_filters.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:46: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_input_filters.o: in function
ngx_http_lua_read_any'的多个定义:/root/ tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:62: ngx_http_lua_read_any'; objs/addon/src/ngx_http_lua_input_filters.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:62: first defined here /usr/bin/ld: objs/addon/src/ngx_http_lua_input_filters.o: in function
ngx_http_lua_read_line'的多重定义: /root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:91: `ngx_http_lua_read_line'的多重定义; objs/addon/src/ngx_http_lua_input_filters.o:/root/tengine/modules/ngx_http_lua_module/src/ngx_http_lua_input_filters.c:91:首先在这里定义collect2:错误:ld返回1退出状态make [1]:[objs / Makefile:484 : objs/nginx] 错误 1 make[1]: 离开目录 '/root/tengine' make: [Makefile:10: build] 错误 2