Welcome! Log In Create A New Profile

Advanced

Re: QUIC preview `make` fails: `[objs/Makefile:1055: objs/src/event/quic/ngx_event_quic.o] Error 1`

Sergey Kandaurov
September 16, 2022 10:42AM
> On 16 Sep 2022, at 18:08, petecooper <nginx-forum@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-leave@nginx.org
Subject Author Posted

QUIC preview `make` fails: `[objs/Makefile:1055: objs/src/event/quic/ngx_event_quic.o] Error 1`

petecooper September 16, 2022 10:08AM

Re: QUIC preview `make` fails: `[objs/Makefile:1055: objs/src/event/quic/ngx_event_quic.o] Error 1`

Sergey Kandaurov September 16, 2022 10:42AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 319
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready