I'm trying to add http/3 support to ftp/curl and I'm getting a compile error.
Any ideas?
My edits or additions to Makefile:
The compile error:
Any ideas?
My edits or additions to Makefile:
Code:
OPTIONS_GROUP_PROTOCOL= DICT FTP GOPHER HTTP HTTP2 HTTP3 IMAP IPFS LDAP LDAPS LIBSSH LIBSSH2 MQTT POP3 RTSP SMB SMTP TELNET TFTP WEBSOCKET
HTTP3_USES= ssl
HTTP3_LIB_DEPENDS= libngtcp2.so:net/libngtcp2 \
libnghttp3.so:www/libnghttp3
HTTP3_CONFIGURE_ENABLE= http3
HTTP3_CONFIGURE_WITH= nghttp3 ngtcp2
HTTP3_BUILD_DEPENDS= ${LOCALBASE}/include/openssl/quic.h:security/openssl35
HTTP3_RUN_DEPENDS= ${LOCALBASE}/include/openssl/quic.h:security/openssl35
The compile error:
Code:
--- vquic/libcurlu_la-curl_ngtcp2.lo ---
In file included from vquic/curl_ngtcp2.c:38:
/usr/local/include/ngtcp2/ngtcp2_crypto_quictls.h:73:3: error: unknown type name 'OSSL_ENCRYPTION_LEVEL'
73 | OSSL_ENCRYPTION_LEVEL ossl_level);
| ^
/usr/local/include/ngtcp2/ngtcp2_crypto_quictls.h:82:15: error: unknown type name 'OSSL_ENCRYPTION_LEVEL'
82 | NGTCP2_EXTERN OSSL_ENCRYPTION_LEVEL
| ^
--- vquic/libcurlu_la-curl_quiche.lo ---
...
...
--- vquic/libcurlu_la-curl_ngtcp2.lo ---
vquic/curl_ngtcp2.c:2543:3: error: call to undeclared function 'SSL_set_quic_use_legacy_codepoint'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
2543 | SSL_set_quic_use_legacy_codepoint(ctx->tls.ossl.ssl, 0);
| ^
3 errors generated.
*** [vquic/libcurlu_la-curl_ngtcp2.lo] Error code 1
make[2]: stopped in /construction/xports/ftp/curl/work/curl-8.14.1/lib