# Build error. SSL

**URL:** <https://www.ruby-forum.com/t/build-error-ssl/134089>\
**Category:** Ruby\
**Created:** [April 7, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/build-error-ssl/134089 "2008-04-07T20:32:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asplake](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/2bfe46/32.png) [@asplake](https://www.ruby-forum.com/u/asplake)\
**Post date:** [April 7, 2008, 8:32pm UTC](https://www.ruby-forum.com/t/build-error-ssl/134089/1 "2008-04-07T20:32:08Z")

</div>

The following error occurs when trying to build ruby on two of my  
systems. They are both older RedHat systems. Ruby seems to build fine  
on the z/Linux system I have. Any hints?

compiling openssl  
make[1]: Entering directory `/opt/ruby-1.8.6-p114/ext/openssl' gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_x509name.c gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkey_dsa.c gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -g -O2 -c ossl_pkey_rsa.c ossl_pkey_rsa.c: In function `ossl\_rsa\_to\_der’:  
ossl\_pkey\_rsa.c:233: warning: assignment from incompatible pointer type  
ossl\_pkey\_rsa.c:235: warning: assignment from incompatible pointer type  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_x509store.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_x509revoked.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_engine.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_pkey\_dh.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_config.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_pkcs7.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_bn.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c openssl\_missing.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_pkcs12.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_cipher.c  
ossl\_cipher.c: In function `ossl_cipher_pkcs5_keyivgen': ossl_cipher.c:232: warning: passing arg 2 of `EVP\_BytesToKey’ discards  
qualifiers from pointer target type  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_asn1.c  
gcc -I. -I…/… -I…/…/. -I…/…/./ext/openssl  
-DRUBY\_EXTCONF\_H="extconf.h" -fPIC -g -O2 -c ossl\_bio.c  
ossl\_bio.c: In function `ossl_obj2bio': ossl_bio.c:23: called object is not a function make[1]: *** [ossl_bio.o] Error 1 make[1]: Leaving directory `/opt/ruby-1.8.6-p114/ext/openssl’  
make: \*\*\* [all] Error 1

----- Original Message ----  
From: Roger P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: ruby-talk ML [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Monday, April 7, 2008 1:02:48 PM  
Subject: Re: ruby wish-list

> See Facets Kernel#as.
> 
> [http://facets.rubyforge.org](http://facets.rubyforge.org)
> 
> T.

Wow facets looks really nice! It even has the multi-hash that was a  
wish a few posts ago, plus some other utilities that I’ve had to write  
from scratch before [but not anymore]. Rock on.  
-R
