OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"2.40014\" -DXS_VERSION=\"2.40014\" -fPIC "-I/home/perlbrew/perl5/perlbrew/perls/perl-5.26.2/lib/5.26.2/x86_64-linux/CORE" -DHAVE_S OCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.2"' -DNAR_HAVE_OPENSSL amqp_mem.c cc -c -I. -Irabbitmq-include -Irabbitmq-c/include -Irabbitmq-include/unix -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_ OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"2.40014\" -DXS_VERSION=\"2.40014\" -fPIC "-I/home/perlbrew/perl5/perlbrew/perls/perl-5.26.2/lib/5.26.2/x86_64-linux/CORE" -DHAVE_S OCKET -DHAVE_POLL -DAMQ_PLATFORM='"Perl_linux_v5.26.2"' -DNAR_HAVE_OPENSSL amqp_openssl.c amqp_openssl.c: In function ‘amqp_ssl_socket_open’: amqp_openssl.c:182:3: warning: passing argument 1 of ‘BIO_new’ discards ‘const’ qualifier from pointer target type [enabled by default] bio = BIO_new(amqp_openssl_bio()); ^ In file included from rabbitmq-include/amqp_openssl_bio.h:10:0, from amqp_openssl.c:15: /usr/include/openssl/bio.h:659:6: note: expected ‘struct BIO_METHOD *’ but argument is of type ‘BIO_METHOD_PTR’ BIO *BIO_new(BIO_METHOD *type); ^ amqp_openssl.c: In function ‘amqp_ssl_socket_new’: amqp_openssl.c:339:3: warning: passing argument 1 of ‘SSL_CTX_new’ makes pointer from integer without a cast [enabled by default] self->ctx = SSL_CTX_new(TLS_client_method()); ^ In file included from amqp_openssl.c:31:0: /usr/include/openssl/ssl.h:2087:10: note: expected ‘const struct SSL_METHOD *’ but argument is of type ‘int’ SSL_CTX *SSL_CTX_new(const SSL_METHOD *meth); ^ amqp_openssl.c: In function ‘get_tls_version’: amqp_openssl.c:547:22: error: ‘TLS1_3_VERSION’ undeclared (first use in this function) *tls_version = TLS1_3_VERSION; ^ amqp_openssl.c:547:22: note: each undeclared identifier is reported only once for each function it appears in make: *** [amqp_openssl.o] Error 1 -> FAIL Installing Net::AMQP::RabbitMQ failed. See /root/.cpanm/work/1751032905.481/build.log for details. Retry with --force to force install it.