Skip to content

Instantly share code, notes, and snippets.

@barn
Created October 21, 2015 23:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save barn/b7e0ce4c3354b65aac0a to your computer and use it in GitHub Desktop.
Save barn/b7e0ce4c3354b65aac0a to your computer and use it in GitHub Desktop.
installing default objspace libraries
compiling ossl_asn1.c
In file included from ossl_asn1.c:11:
In file included from ./ossl.h:213:
./openssl_missing.h:71:6: error: conflicting types for 'HMAC_CTX_copy'
void HMAC_CTX_copy(HMAC_CTX *out, HMAC_CTX *in);
^
/usr/local/include/openssl/hmac.h:101:5: note: previous declaration is here
int HMAC_CTX_copy(HMAC_CTX *dctx, HMAC_CTX *sctx);
^
In file included from ossl_asn1.c:11:
In file included from ./ossl.h:213:
./openssl_missing.h:95:5: error: conflicting types for 'EVP_CIPHER_CTX_copy'
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, EVP_CIPHER_CTX *in);
^
/usr/local/include/openssl/evp.h:542:5: note: previous declaration is here
int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
^
ossl_asn1.c:807:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_eoc(p, hlen+length);
~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:810:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_bool(p, hlen+length);
~~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:813:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_int(p, hlen+length);
~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:816:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_bstr(p, hlen+length, &flag);
~~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:819:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_null(p, hlen+length);
~~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:822:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_enum(p, hlen+length);
~~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:825:32: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_obj(p, hlen+length);
~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:829:33: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
value = decode_time(p, hlen+length);
~~~~~~~~~~~ ~~~~^~~~~~~
ossl_asn1.c:960:14: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
hlen = p - start;
~ ~~^~~~~~~
9 warnings and 2 errors generated.
make[3]: *** [ossl_asn1.o] Error 1
make[2]: *** [ext/openssl/all] Error 2
make[1]: *** [build-ext] Error 2
make: *** [ruby/ruby] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment