> On 16 Sep 2022, at 18:08, petecooper <nginx-fo...@forum.nginx.org> wrote: > > Hello. > I am adapting my stable Nginx compile script to road test the QUIC preview. > Per the readme, I am using `quictls`, specifically v3.0.3. I have not yet > tried BoringSSL. > > My `configure` command completes successfully, but my `make` command fails. > I have included output below, and there is a (safe for work) GitHub gist for > the `make` output to retain formatting. > > I would be very grateful for any advice or feedback as to what I am (or > might be) doing wrong. > > Thank you for your consideration. > > Best wishes. > > ==8<== > > [..] > Here is my `configure` script: > > [..] > --with-cc-opt="-m64 -march=native -mtune=native -DTCP_FASTOPEN=23 -g -O3 > -fstack-protector-strong -flto -ffat-lto-objects -fuse-ld=gold > --param=ssp-buffer-size=4 -Wformat -Werror=format-security > -Wimplicit-fallthrough=0 -Wno-deprecated-declarations -fcode-hoisting > -Wp,-D_FORTIFY_SOURCE=2 > -I../quictls-source/openssl-openssl-$quictls_source_version/apps/include" \ > [..] > --with-openssl=../quictls-source/openssl-openssl-$quictls_source_version \ >
You're supposed to provide compiler paths with --with-cc-opt/--with-ld-opt or point to OpenSSL source distribution with --with-openssl=, not both. > > In file included from src/event/quic/ngx_event_quic_connection.h:28, > from src/event/quic/ngx_event_quic.c:10: > src/event/quic/ngx_event_quic_transport.h:266:49: error: field ‘level’ has > incomplete type > 266 | enum ssl_encryption_level_t level; > | ^~~~~ > src/event/quic/ngx_event_quic_transport.h:314:49: error: field ‘level’ has > incomplete type > 314 | enum ssl_encryption_level_t level; > | ^~~~~ Make sure to provide correct OpenSSL path(s). -- Sergey Kandaurov _______________________________________________ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@nginx.org