It seems that BoringSSL has updated some of its interfaces, causing the
following issues during the compilation of Nginx. Is there currently any
solution to resolve this problem? Or are there other libraries that can
perfectly replace BoringSSL? The commands and error messages are as follows:
root@vultr ~ # cd nginx root@vultr ~/nginx # ./auto/configure --user=www-data
--group=www-data --prefix=/www/server/nginx --with-pcre
--add-module=../ngx_brotli --with-http_v2_module --with-stream
--with-stream_ssl_module --with-http_ssl_module --with-http_gzip_static_module
--with-http_gunzip_module --with-http_sub_module --with-http_flv_module
--with-http_addition_module --with-http_realip_module --with-http_mp4_module
--with-ld-opt=-Wl,-E --with-cc-opt=-Wno-error --with-ld-opt=-ljemalloc
--with-http_dav_module --with-http_v3_module --with-cc=c++
--with-cc-opt="-I../boringssl/include -x c"
--with-ld-opt="-L../boringssl/build/ssl -L../boringssl/build/crypto" checking
for OS + Linux 6.1.0-34-amd64 x86_64 checking for C compiler ... found + using
GNU C compiler + gcc version: 12.2.0 (Debian 12.2.0-14) checking for gcc -pipe
switch ... found checking for --with-ld-opt="-L../boringssl/build/ssl
-L../boringssl/build/crypto" ... found checking for -Wl,-E switch ... found
checking for gcc builtin atomic operations ... found checking for C99 variadic
macros ... found checking for gcc variadic macros ... found checking for gcc
builtin 64 bit byteswap ... found checking for unistd.h ... found checking for
inttypes.h ... found checking for limits.h ... found checking for sys/filio.h
... not found checking for sys/param.h ... found checking for sys/mount.h ...
found checking for sys/statvfs.h ... found checking for crypt.h ... found
checking for Linux specific features checking for epoll ... found checking for
EPOLLRDHUP ... found checking for EPOLLEXCLUSIVE ... found checking for
eventfd() ... found checking for O_PATH ... found checking for sendfile() ...
found checking for sendfile64() ... found checking for sys/prctl.h ... found
checking for prctl(PR_SET_DUMPABLE) ... found checking for
prctl(PR_SET_KEEPCAPS) ... found checking for capabilities ... found checking
for crypt_r() ... found checking for sys/vfs.h ... found checking for BPF
sockhash ... found checking for SO_COOKIE ... found checking for UDP_SEGMENT
... found checking for poll() ... found checking for /dev/poll ... not found
checking for kqueue ... not found checking for crypt() ... not found checking
for crypt() in libcrypt ... found checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found checking for O_DIRECT ... found checking
for F_NOCACHE ... not found checking for directio() ... not found checking for
statfs() ... found checking for statvfs() ... found checking for dlopen() ...
found checking for sched_yield() ... found checking for sched_setaffinity() ...
found checking for SO_SETFIB ... not found checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... not found checking for SO_BINDANY ... not
found checking for IP_TRANSPARENT ... found checking for IP_BINDANY ... not
found checking for IP_BIND_ADDRESS_NO_PORT ... found checking for
IP_RECVDSTADDR ... not found checking for IP_SENDSRCADDR ... not found checking
for IP_PKTINFO ... found checking for IPV6_RECVPKTINFO ... found checking for
IP_MTU_DISCOVER ... found checking for IPV6_MTU_DISCOVER ... found checking for
IP_DONTFRAG ... not found checking for IPV6_DONTFRAG ... found checking for
TCP_DEFER_ACCEPT ... found checking for TCP_KEEPIDLE ... found checking for
TCP_FASTOPEN ... found checking for TCP_INFO ... found checking for accept4()
... found checking for int size ... 4 bytes checking for long size ... 8 bytes
checking for long long size ... 8 bytes checking for void * size ... 8 bytes
checking for uint32_t ... found checking for uint64_t ... found checking for
sig_atomic_t ... found checking for sig_atomic_t size ... 4 bytes checking for
socklen_t ... found checking for in_addr_t ... found checking for in_port_t ...
found checking for rlim_t ... found checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian checking for size_t size
... 8 bytes checking for off_t size ... 8 bytes checking for time_t size ... 8
bytes checking for AF_INET6 ... found checking for setproctitle() ... not found
checking for pread() ... found checking for pwrite() ... found checking for
pwritev() ... found checking for strerrordesc_np() ... found checking for
localtime_r() ... found checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for posix_memalign() ... found checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found checking for mmap("/dev/zero",
MAP_SHARED) ... found checking for System V shared memory ... found checking
for POSIX semaphores ... found checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found checking for ioctl(FIONREAD) ... found
checking for struct tm.tm_gmtoff ... found checking for struct dirent.d_namlen
... not found checking for struct dirent.d_type ... found checking for
sysconf(_SC_NPROCESSORS_ONLN) ... found checking for
sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found checking for openat(), fstatat()
... found checking for getaddrinfo() ... found configuring additional modules
adding module in ../ngx_brotli + ngx_brotli was configured checking for PCRE2
library ... not found checking for PCRE library ... found checking for PCRE JIT
support ... found checking for OpenSSL library ... found checking for OpenSSL
QUIC support ... not found checking for OpenSSL QUIC compatibility ... found
checking for zlib library ... found creating objs/Makefile Configuration
summary + using system PCRE library + using system OpenSSL library + using
system zlib library nginx path prefix: "/www/server/nginx" nginx binary file:
"/www/server/nginx/sbin/nginx" nginx modules path: "/www/server/nginx/modules"
nginx configuration prefix: "/www/server/nginx/conf" nginx configuration file:
"/www/server/nginx/conf/nginx.conf" nginx pid file:
"/www/server/nginx/logs/nginx.pid" nginx error log file:
"/www/server/nginx/logs/error.log" nginx http access log file:
"/www/server/nginx/logs/access.log" nginx http client request body temporary
files: "client_body_temp" nginx http proxy temporary files: "proxy_temp" nginx
http fastcgi temporary files: "fastcgi_temp" nginx http uwsgi temporary files:
"uwsgi_temp" nginx http scgi temporary files: "scgi_temp" root@vultr ~/nginx #
make make -f objs/Makefile make[1]: Entering directory '/root/nginx' c++ -c
-pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
-I../boringssl/include -x c -Wno-deprecated-declarations -I src/core -I
src/event -I src/event/modules -I src/event/quic -I src/os/unix -I objs \ -o
objs/src/core/nginx.o \ src/core/nginx.c c++ -c -pipe -O -W -Wall
-Wpointer-arith -Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_log.o \
src/core/ngx_log.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_palloc.o \
src/core/ngx_palloc.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_array.o \
src/core/ngx_array.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_list.o \
src/core/ngx_list.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_hash.o \
src/core/ngx_hash.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_buf.o \
src/core/ngx_buf.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_queue.o \
src/core/ngx_queue.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_output_chain.o \
src/core/ngx_output_chain.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_string.o \
src/core/ngx_string.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_parse.o \
src/core/ngx_parse.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_parse_time.o \
src/core/ngx_parse_time.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_inet.o \
src/core/ngx_inet.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_file.o \
src/core/ngx_file.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_crc32.o \
src/core/ngx_crc32.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_murmurhash.o \
src/core/ngx_murmurhash.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_md5.o \
src/core/ngx_md5.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_sha1.o \
src/core/ngx_sha1.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_rbtree.o \
src/core/ngx_rbtree.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_radix_tree.o \
src/core/ngx_radix_tree.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_slab.o \
src/core/ngx_slab.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_times.o \
src/core/ngx_times.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_shmtx.o \
src/core/ngx_shmtx.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_connection.o \
src/core/ngx_connection.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_cycle.o \
src/core/ngx_cycle.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_spinlock.o \
src/core/ngx_spinlock.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_rwlock.o \
src/core/ngx_rwlock.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_cpuinfo.o \
src/core/ngx_cpuinfo.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_conf_file.o \
src/core/ngx_conf_file.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_module.o \
src/core/ngx_module.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_resolver.o \
src/core/ngx_resolver.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_open_file_cache.o
\ src/core/ngx_open_file_cache.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_crypt.o \
src/core/ngx_crypt.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_proxy_protocol.o \
src/core/ngx_proxy_protocol.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_syslog.o \
src/core/ngx_syslog.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event.o \
src/event/ngx_event.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_timer.o \
src/event/ngx_event_timer.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_posted.o \
src/event/ngx_event_posted.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_accept.o \
src/event/ngx_event_accept.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_udp.o \
src/event/ngx_event_udp.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_connect.o \
src/event/ngx_event_connect.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_pipe.o \
src/event/ngx_event_pipe.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_time.o \
src/os/unix/ngx_time.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_errno.o \
src/os/unix/ngx_errno.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_alloc.o \
src/os/unix/ngx_alloc.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_files.o \
src/os/unix/ngx_files.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_socket.o \
src/os/unix/ngx_socket.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_recv.o \
src/os/unix/ngx_recv.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_readv_chain.o \
src/os/unix/ngx_readv_chain.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_recv.o \
src/os/unix/ngx_udp_recv.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_send.o \
src/os/unix/ngx_send.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_writev_chain.o
\ src/os/unix/ngx_writev_chain.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_udp_send.o \
src/os/unix/ngx_udp_send.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o
objs/src/os/unix/ngx_udp_sendmsg_chain.o \ src/os/unix/ngx_udp_sendmsg_chain.c
c++ -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
-I../boringssl/include -x c -Wno-deprecated-declarations -I src/core -I
src/event -I src/event/modules -I src/event/quic -I src/os/unix -I objs \ -o
objs/src/os/unix/ngx_channel.o \ src/os/unix/ngx_channel.c c++ -c -pipe -O -W
-Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -I../boringssl/include
-x c -Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules
-I src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_shmem.o \
src/os/unix/ngx_shmem.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process.o \
src/os/unix/ngx_process.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_daemon.o \
src/os/unix/ngx_daemon.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setaffinity.o \
src/os/unix/ngx_setaffinity.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_setproctitle.o
\ src/os/unix/ngx_setproctitle.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_posix_init.o \
src/os/unix/ngx_posix_init.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_user.o \
src/os/unix/ngx_user.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_dlopen.o \
src/os/unix/ngx_dlopen.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_process_cycle.o
\ src/os/unix/ngx_process_cycle.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/os/unix/ngx_linux_init.o \
src/os/unix/ngx_linux_init.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o
objs/src/event/modules/ngx_epoll_module.o \
src/event/modules/ngx_epoll_module.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o
objs/src/os/unix/ngx_linux_sendfile_chain.o \
src/os/unix/ngx_linux_sendfile_chain.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/core/ngx_bpf.o \
src/core/ngx_bpf.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/ngx_event_openssl.o \
src/event/ngx_event_openssl.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o
objs/src/event/ngx_event_openssl_cache.o \ src/event/ngx_event_openssl_cache.c
c++ -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g
-I../boringssl/include -x c -Wno-deprecated-declarations -I src/core -I
src/event -I src/event/modules -I src/event/quic -I src/os/unix -I objs \ -o
objs/src/event/ngx_event_openssl_stapling.o \
src/event/ngx_event_openssl_stapling.c c++ -c -pipe -O -W -Wall -Wpointer-arith
-Wno-unused-parameter -Werror -g -I../boringssl/include -x c
-Wno-deprecated-declarations -I src/core -I src/event -I src/event/modules -I
src/event/quic -I src/os/unix -I objs \ -o objs/src/event/quic/ngx_event_quic.o
\ src/event/quic/ngx_event_quic.c In file included from
src/event/quic/ngx_event_quic_connection.h:29, from
src/event/quic/ngx_event_quic.c:10:
src/event/quic/ngx_event_quic_openssl_compat.h:23:6: error: redeclaration of
‘enum ssl_encryption_level_t’ 23 | enum ssl_encryption_level_t { |
^~~~~~~~~~~~~~~~~~~~~~ In file included from src/event/ngx_event_openssl.h:17,
from src/core/ngx_core.h:86, from src/event/quic/ngx_event_quic.c:8:
../boringssl/include/openssl/ssl.h:3855:6: note: originally defined here 3855 |
enum ssl_encryption_level_t BORINGSSL_ENUM_INT { | ^~~~~~~~~~~~~~~~~~~~~~
src/event/quic/ngx_event_quic_openssl_compat.h:24:5: error: redeclaration of
enumerator ‘ssl_encryption_initial’ 24 | ssl_encryption_initial = 0, |
^~~~~~~~~~~~~~~~~~~~~~ ../boringssl/include/openssl/ssl.h:3856:3: note:
previous definition of ‘ssl_encryption_initial’ with type ‘enum
ssl_encryption_level_t’ 3856 | ssl_encryption_initial = 0, |
^~~~~~~~~~~~~~~~~~~~~~ src/event/quic/ngx_event_quic_openssl_compat.h:25:5:
error: redeclaration of enumerator ‘ssl_encryption_early_data’ 25 |
ssl_encryption_early_data, | ^~~~~~~~~~~~~~~~~~~~~~~~~
../boringssl/include/openssl/ssl.h:3857:3: note: previous definition of
‘ssl_encryption_early_data’ with type ‘enum ssl_encryption_level_t’ 3857 |
ssl_encryption_early_data = 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~
src/event/quic/ngx_event_quic_openssl_compat.h:26:5: error: redeclaration of
enumerator ‘ssl_encryption_handshake’ 26 | ssl_encryption_handshake, |
^~~~~~~~~~~~~~~~~~~~~~~~ ../boringssl/include/openssl/ssl.h:3858:3: note:
previous definition of ‘ssl_encryption_handshake’ with type ‘enum
ssl_encryption_level_t’ 3858 | ssl_encryption_handshake = 2, |
^~~~~~~~~~~~~~~~~~~~~~~~ src/event/quic/ngx_event_quic_openssl_compat.h:27:5:
error: redeclaration of enumerator ‘ssl_encryption_application’ 27 |
ssl_encryption_application | ^~~~~~~~~~~~~~~~~~~~~~~~~~
../boringssl/include/openssl/ssl.h:3859:3: note: previous definition of
‘ssl_encryption_application’ with type ‘enum ssl_encryption_level_t’ 3859 |
ssl_encryption_application = 3, | ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/event/quic/ngx_event_quic_openssl_compat.h:31:16: error: redefinition of
‘struct ssl_quic_method_st’ 31 | typedef struct ssl_quic_method_st { |
^~~~~~~~~~~~~~~~~~ ../boringssl/include/openssl/ssl.h:3863:8: note: originally
defined here 3863 | struct ssl_quic_method_st { | ^~~~~~~~~~~~~~~~~~
src/event/quic/ngx_event_quic_openssl_compat.h:43:3: error: conflicting types
for ‘SSL_QUIC_METHOD’; have ‘struct ssl_quic_method_st’ 43 | } SSL_QUIC_METHOD;
| ^~~~~~~~~~~~~~~ In file included from ../boringssl/include/openssl/ssl.h:20:
../boringssl/include/openssl/base.h:351:35: note: previous declaration of
‘SSL_QUIC_METHOD’ with type ‘SSL_QUIC_METHOD’ {aka ‘struct ssl_quic_method_st’}
351 | typedef struct ssl_quic_method_st SSL_QUIC_METHOD; | ^~~~~~~~~~~~~~~
src/event/quic/ngx_event_quic_openssl_compat.h:48:5: error: conflicting types
for ‘SSL_set_quic_method’; have ‘int(SSL *, const SSL_QUIC_METHOD *)’ {aka
‘int(struct ssl_st *, const struct ssl_quic_method_st *)’} 48 | int
SSL_set_quic_method(SSL *ssl, const SSL_QUIC_METHOD *quic_method); |
^~~~~~~~~~~~~~~~~~~ ../boringssl/include/openssl/ssl.h:3977:20: note: previous
declaration of ‘SSL_set_quic_method’ with type ‘int(SSL *, const
SSL_QUIC_METHOD *)’ {aka ‘int(struct ssl_st *, const struct ssl_quic_method_st
*)’} 3977 | OPENSSL_EXPORT int SSL_set_quic_method(SSL *ssl, |
^~~~~~~~~~~~~~~~~~~ make[1]: *** [objs/Makefile:1050:
objs/src/event/quic/ngx_event_quic.o] Error 1 make[1]: Leaving directory
'/root/nginx' make: *** [Makefile:10: build] Error 2 root@vultr ~/nginx # _______________________________________________
nginx mailing list
[email protected]
https://mailman.nginx.org/mailman/listinfo/nginx