Skip to content

Fails to install on Ubuntu 18 with gcc 10.1 #4

@philiprbrenan

Description

@philiprbrenan
x86_64-linux-gnu-gcc -c  -I/usr/include/openssl -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -Wall -Werror   -DVERSION=\"0.10\" -DXS_VERSION=\"0.10\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.26/CORE"   VerifyX509.c
VerifyX509.xs: In function ‘verify_cb’:
VerifyX509.xs:20:16: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’
     switch (ctx->error) {
                ^~
VerifyX509.xs: In function ‘XS_Crypt__OpenSSL__VerifyX509___X509_cleanup’:
VerifyX509.xs:143:3: error: ‘ERR_remove_state’ is deprecated [-Werror=deprecated-declarations]
   ERR_remove_state(0);
   ^~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/e_os2.h:13:0,
                 from /usr/include/openssl/asn1.h:14,
                 from VerifyX509.xs:5:
/usr/include/openssl/err.h:260:1: note: declared here
 DEPRECATEDIN_1_0_0(void ERR_remove_state(unsigned long pid))
 ^
VerifyX509.xs: In function ‘ctx_error’:
VerifyX509.xs:41:1: error: control reaches end of non-void function [-Werror=return-type]
 }
 ^
cc1: all warnings being treated as errors
Makefile:344: recipe for target 'VerifyX509.o' failed
make: *** [VerifyX509.o] Error 1
  CHRISA/Crypt-OpenSSL-VerifyX509-0.10.tar.gz
  /usr/bin/make -- NOT OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions