grahamedgecombe / nginx-ct

Certificate Transparency module for nginx.
https://grahamedgecombe.com/projects/nginx-ct
ISC License
175 stars 27 forks source link

Make fails with nginx v1.10.3 #16

Closed ivmm closed 7 years ago

ivmm commented 7 years ago

system OS:Ubuntu 16.04 64bit

objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o: In function `ngx_ssl_ct_ext_cb':
ngx_ssl_ct_module.c:(.text+0x68): multiple definition of `ngx_ssl_ct_ext_cb'
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o:ngx_ssl_ct_module.c:(.text+0x68): first defined here
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o: In function `ngx_ssl_ct_create_srv_conf':
ngx_ssl_ct_module.c:(.text+0x11c): multiple definition of `ngx_ssl_ct_create_srv_conf'
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o:ngx_ssl_ct_module.c:(.text+0x11c): first defined here
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o: In function `ngx_ssl_ct_read_static_scts':
ngx_ssl_ct_module.c:(.text+0x146): multiple definition of `ngx_ssl_ct_read_static_scts'
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o:ngx_ssl_ct_module.c:(.text+0x146): first defined here
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o: In function `ngx_ssl_ct_merge_srv_conf':
ngx_ssl_ct_module.c:(.text+0x637): multiple definition of `ngx_ssl_ct_merge_srv_conf'
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o:ngx_ssl_ct_module.c:(.text+0x637): first defined here
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o:(.data+0x0): multiple definition of `ngx_ssl_ct_module'
objs/addon/nginx-ct-1.3.2/ngx_ssl_ct_module.o:(.data+0x0): first defined here
objs/addon/nginx-ct-1.3.2/ngx_http_ssl_ct_module.o:(.data+0x0): multiple definition of `ngx_http_ssl_ct_module'
objs/addon/nginx-ct-1.3.2/ngx_http_ssl_ct_module.o:(.data+0x0): first defined here
collect2: error: ld returned 1 exit status
objs/Makefile:318: recipe for target 'objs/nginx' failed
make[1]: *** [objs/nginx] Error 1
make[1]: Leaving directory '/root/MistackV2/oneinstack/src/nginx-1.10.3'
Makefile:8: recipe for target 'build' failed
make: *** [build] Error 2
 ./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_stub_status_module --with-http_v2_module --with-http_ssl_module --with-http_gzip_static_module --with-http_realip_module --with-http_flv_module --with-http_mp4_module --with-openssl=../openssl-1.0.2k --with-pcre-jit --with-ld-opt='-ljemalloc' --add-module=../../../ext-src/nginx-ct-1.3.2  --add-module=../../../ext-src/nginx-ct-1.3.2  --add-module=../../../ext-src/ngx_brotli-bfd2885  --add-module=../../../ext-src/ngx_cache_purge-2.3  --add-module=../../../ext-src/ngx_pagespeed-1.12.34.2-beta
ivmm commented 7 years ago

It's my own problem