alibaba / tengine

A distribution of Nginx with some advanced features
https://tengine.taobao.org
BSD 2-Clause "Simplified" License
12.75k stars 2.52k forks source link

collect2: error: ld returned 1 exit status #1857

Closed ancenye closed 1 year ago

ancenye commented 1 year ago

Question

objs/addon/ngx_http_xquic_module/ngx_http_v3_stream.o: In function ngx_http_v3_recv_body': ngx_http_v3_stream.c:(.text+0x1e54): undefined reference toxqc_h3_request_recv_body' objs/addon/ngx_http_xquic_module/ngx_http_v3_stream.o: In function ngx_http_v3_request_read_notify': ngx_http_v3_stream.c:(.text+0x20ca): undefined reference toxqc_h3_request_recv_headers' objs/addon/ngx_http_xquic_module/ngx_http_v3_stream.o: In function ngx_http_v3_stream_cancel': ngx_http_v3_stream.c:(.text+0x2994): undefined reference toxqc_h3_request_close' objs/addon/ngx_http_xquic_module/ngx_http_xquic_filter_module.o: In function ngx_http_xquic_stream_send_header': ngx_http_xquic_filter_module.c:(.text+0x43): undefined reference toxqc_h3_request_send_headers' objs/addon/ngx_http_xquic_module/ngx_http_xquic_filter_module.o: In function ngx_http_xquic_stream_send_body': ngx_http_xquic_filter_module.c:(.text+0x136): undefined reference toxqc_h3_request_send_body' objs/addon/ngx_healthcheck_module-master/ngx_stream_upstream_check_module.o: In function ngx_stream_upstream_check_init_main_conf': ngx_stream_upstream_check_module.c:(.text+0x3479): undefined reference tongx_stream_upstream_module' objs/addon/ngx_healthcheck_module-master/ngx_stream_upstream_check_module.o: In function ngx_stream_upstream_check_init_process': ngx_stream_upstream_check_module.c:(.text+0x4201): undefined reference tongx_stream_module' ngx_stream_upstream_check_module.c:(.text+0x421e): undefined reference to ngx_stream_module' collect2: error: ld returned 1 exit status make[1]: *** [objs/nginx] Error 1 make[1]: Leaving directory/home/Tengine/tengine-3.0.0' make: *** [build] Error 2

lianglli commented 1 year ago

The tengine ngx_http_xquic_module is depends on xquic library.

Pls. check ( https://github.com/alibaba/tengine/blob/master/modules/ngx_http_xquic_module/README.md ) for your information specifically.