xiaokai-wang / nginx-stream-upsync-module

For stream protocol. syncing upstreams from etcd or consul and so on, dynamically updating backend servers attribute, not need to reload nginx for tcp protocol, stream configure.
175 stars 48 forks source link

build 报错 #10

Closed skymaze closed 8 years ago

skymaze commented 8 years ago

objs/ngx_modules.o \ -lpthread -lcrypt -lm -lpcre -lcrypto -lcrypto -lz objs/addon/src/ngx_stream_upsync_module.o: In functionngx_stream_upsync_set': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.c:3587: undefined reference to ngx_stream_core_module' objs/addon/src/ngx_stream_upsync_module.o: In functionngx_stream_upsync_least_conn_init': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.h:108: undefined reference to ngx_stream_upstream_least_conn_module' objs/addon/src/ngx_stream_upsync_module.o: In functionngx_stream_upsync_chash_init': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.h:269: undefined reference to ngx_stream_upstream_hash_module' objs/addon/src/ngx_stream_upsync_module.o: In functionngx_stream_upsync_init_main_conf': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.c:1747: undefined reference to ngx_stream_upstream_module' objs/addon/src/ngx_stream_upsync_module.o: In functionngx_stream_upsync_show': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.c:3693: undefined reference to ngx_stream_module' /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.c:3693: undefined reference tongx_stream_upstream_module' /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.c:3704: undefined reference to ngx_stream_close_connection' /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.c:3733: undefined reference tongx_stream_close_connection' objs/addon/src/ngx_stream_upsync_module.o: In function ngx_stream_upsync_del_peer_least_conn': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.h:146: undefined reference tongx_stream_upstream_least_conn_module' objs/addon/src/ngx_stream_upsync_module.o: In function ngx_stream_upsync_del_chash_peer': /tmp/nginx-1.9.10/../nginx-stream-upsync-module-master/src/ngx_stream_upsync_module.h:345: undefined reference tongx_stream_upstream_hash_module' collect2: error: ld returned 1 exit status make[1]: * [objs/nginx] Error 1 objs/Makefile:221: recipe for target 'objs/nginx' failed make[1]: Leaving directory '/tmp/nginx-1.9.10' Makefile:8: recipe for target 'build' failed make: * [build] Error 2 ` debian,1.9.10和1.10.1都报同样错误 请问可能是什么问题?

skymaze commented 8 years ago

解决了

mayou33 commented 7 years ago

请问你是怎么解决的?

skymaze commented 7 years ago

检查模块依赖全不全

2017-09-22 17:59 GMT+08:00 mayou33 notifications@github.com:

请问你是怎么解决的?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/xiaokai-wang/nginx-stream-upsync-module/issues/10#issuecomment-331405556, or mute the thread https://github.com/notifications/unsubscribe-auth/AEC5hq2T_QIDDt-btsKsDkzV78O3Tif_ks5sk4UbgaJpZM4KTQLc .

-- Best Regards 蒋阅 Yue Jiang +86-159-5118-1558