Joel VanderWerf <joel...@gmail.com> wrote:
> Trying to build today's snapshot (ruby-2.2.0-r45509), and:
This seems to be a bug with r45509. Reverting it helps, but there's
still warnings from r45508.
Cc-ing ruby-core.
> make[2]: Entering directory `/home/vjoel/src/ruby-2.2.0-r45509/ext/pty'> compiling pty.c> In file included from ossl.h:219:0,> from ossl_pkey.c:11:> openssl_missing.h:71:6: error: conflicting types for ‘HMAC_CTX_copy’> /usr/include/openssl/hmac.h:102:5: note: previous declaration of> ‘HMAC_CTX_copy’ was here> openssl_missing.h:95:5: error: conflicting types for ‘EVP_CIPHER_CTX_copy’> /usr/include/openssl/evp.h:503:5: note: previous declaration of> ‘EVP_CIPHER_CTX_copy’ was here> openssl_missing.h:173:5: error: conflicting types for ‘BN_rand_range’> /usr/include/openssl/bn.h:437:5: note: previous declaration of> ‘BN_rand_range’ was here> openssl_missing.h:177:5: error: conflicting types for ‘BN_pseudo_rand_range’> /usr/include/openssl/bn.h:438:5: note: previous declaration of> ‘BN_pseudo_rand_range’ was here> > > Any suggestions how to get around this? The ssl version is 1.0.1 (on> unbuntu 12.04).
Hopefully nobu knows. gcc (Debian 4.7.2-5) here.
[1] r45508 warnings: http://yhbt.net/r45508.warnings.txt