-
Notifications
You must be signed in to change notification settings - Fork 381
unable to build with nginx #146
Description
while building nginx with this module below error is seen
/root/nginx-upload-module//ngx_http_upload_module.c:15:19: error: conflicting types for ‘MD5_CTX’; have ‘ngx_md5_t’
15 | typedef ngx_md5_t MD5_CTX;
| ^~~~~~~
In file included from /src/boringssl/include/openssl/ssl.h:145,
from src/event/ngx_event_openssl.h:17,
from src/core/ngx_core.h:85,
from /root/nginx-upload-module//ngx_http_upload_module.c:7:
/src/boringssl/include/openssl/base.h:428:29: note: previous declaration of ‘MD5_CTX’ with type ‘MD5_CTX’ {aka ‘struct md5_state_st’}
428 | typedef struct md5_state_st MD5_CTX;
| ^~~~~~~
make[1]: *** [objs/Makefile:1676: objs/addon/nginx-upload-module/ngx_http_upload_module.o] Error 1
make[1]: Leaving directory '/src/nginx-quic'
make: *** [Makefile:10: build] Error 2
nginx conf:-
auto/configure nginx -V 2>&1 | sed "s/ \-\-/ \\\ \n\t--/g" | grep -v -e 'http-geoip2' | grep "\-\-" | grep -ve opt= -e param= -e build= --build=nginx-quic --with-debug --add-module=/root/nginx-upload-module/ --with-http_v3_module --with-stream_quic_module --with-cc-opt="-I/src/boringssl/include" --with-ld-opt="-L/src/boringssl/build/ssl -L/src/boringssl/build/crypto"