Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to install on Ubuntu 18 with gcc 10.1 #4

Open
philiprbrenan opened this issue Nov 19, 2020 · 2 comments
Open

Fails to install on Ubuntu 18 with gcc 10.1 #4

philiprbrenan opened this issue Nov 19, 2020 · 2 comments

Comments

@philiprbrenan
Copy link

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
@timlegge
Copy link

@timlegge
Copy link

@philiprbrenan should be resolved by latest 0.14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants