- 浏览: 981631 次
- 性别:
- 来自: 杭州
文章分类
最新评论
-
孤星119:
好熟悉的数据库字段啊, 上家公司做的项目每天都跟这些字段打招呼 ...
Oracle exp compress参数引起的空间浪费 -
itspace:
quxiaoyong 写道遇到个问题,网上一搜,全他妈这篇文章 ...
数据库连接错误ORA-28547 -
quxiaoyong:
遇到个问题,网上一搜,全他妈这篇文章。你转来转去的有意思吗?
数据库连接错误ORA-28547 -
hctech:
关于version count过高的问题,不知博主是否看过ey ...
某客户数据库性能诊断报告 -
itspace:
invalid 写道写的不错,我根据这个来安装,有点理解错误了 ...
AIX 配置vncserver
ruby调用openssl时报如下错误:
# oslevel -r
5300-07
$ irb
irb(main):001:0> require 'openssl'
LoadError: load failed - /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/powerpc-aix5.3.0.0/openssl.so
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/powerpc-aix5.3.0.0/openssl.so
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/openssl.rb:17
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from (irb):1
解决方法:
以上信息仅作记录!
引用
# oslevel -r
5300-07
$ irb
irb(main):001:0> require 'openssl'
LoadError: load failed - /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/powerpc-aix5.3.0.0/openssl.so
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/powerpc-aix5.3.0.0/openssl.so
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/openssl.rb:17
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from (irb):1
解决方法:
引用
$ pwd
/dbra/app/softs/ruby/ruby-1.8.6-p114/ext/openssl
$ rm -rf *.o,openssl.so,Makefile
$ ruby extconf.rb --with-openssl-dir=/dbra/app/lib/openssl
=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for assert.h... yes
=== Checking for required stuff... ===
checking for openssl/ssl.h... yes
checking for OpenSSL_add_all_digests() in -lcrypto... yes
checking for SSL_library_init() in -lssl... yes
checking for openssl/conf_api.h... yes
=== Checking for OpenSSL features... ===
checking for ERR_peek_last_error()... yes
checking for BN_mod_add()... yes
checking for BN_mod_sqr()... yes
checking for BN_mod_sub()... yes
checking for BN_pseudo_rand_range()... yes
checking for BN_rand_range()... yes
checking for CONF_get1_default_config_file()... yes
checking for EVP_CIPHER_CTX_copy()... no
checking for EVP_CIPHER_CTX_set_padding()... yes
checking for EVP_CipherFinal_ex()... yes
checking for EVP_CipherInit_ex()... yes
checking for EVP_DigestFinal_ex()... yes
checking for EVP_DigestInit_ex()... yes
checking for EVP_MD_CTX_cleanup()... yes
checking for EVP_MD_CTX_create()... yes
checking for EVP_MD_CTX_destroy()... yes
checking for EVP_MD_CTX_init()... yes
checking for HMAC_CTX_cleanup()... yes
checking for HMAC_CTX_copy()... no
checking for HMAC_CTX_init()... yes
checking for PEM_def_callback()... yes
checking for X509V3_set_nconf()... yes
checking for X509V3_EXT_nconf_nid()... yes
checking for X509_CRL_add0_revoked()... yes
checking for X509_CRL_set_issuer_name()... yes
checking for X509_CRL_set_version()... yes
checking for X509_CRL_sort()... yes
checking for X509_STORE_get_ex_data()... no
checking for X509_STORE_set_ex_data()... no
checking for OBJ_NAME_do_all_sorted()... yes
checking for OPENSSL_cleanse()... yes
checking for openssl/engine.h... yes
checking for ENGINE_add()... yes
checking for ENGINE_load_builtin_engines()... yes
checking for ENGINE_load_openbsd_dev_crypto()... no
checking for ENGINE_get_digest()... yes
checking for ENGINE_get_cipher()... yes
checking for ENGINE_cleanup()... yes
checking for openssl/ocsp.h... yes
checking for EVP_CIPHER_CTX.flags in openssl/evp.h... yes
checking for EVP_CIPHER_CTX.engine in openssl/evp.h... yes
checking for X509_ATTRIBUTE.single in openssl/x509.h... yes
=== Checking done. ===
creating extconf.h
creating Makefile
Done.
$ make
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509name.c
ossl_x509name.c: In function 'ossl_x509name_initialize':
ossl_x509name.c:134: warning: pointer targets in assignment differ in signedness
ossl_x509name.c:135: warning: passing argument 2 of 'd2i_X509_NAME' from incompatible pointer type
ossl_x509name.c: In function 'ossl_x509name_add_entry':
ossl_x509name.c:156: warning: pointer targets in passing argument 4 of 'X509_NAME_add_entry_by_txt' differ in signedness
ossl_x509name.c: In function 'ossl_x509name_to_a':
ossl_x509name.c:228: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
ossl_x509name.c: In function 'ossl_x509name_to_der':
ossl_x509name.c:294: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey_dsa.c
ossl_pkey_dsa.c: In function 'ossl_dsa_initialize':
ossl_pkey_dsa.c:141: warning: passing argument 1 of 'PEM_ASN1_read_bio' from incompatible pointer type
ossl_pkey_dsa.c:141: warning: passing argument 4 of 'PEM_ASN1_read_bio' from incompatible pointer type
ossl_pkey_dsa.c: In function 'ossl_dsa_to_der':
ossl_pkey_dsa.c:244: warning: pointer targets in assignment differ in signedness
ossl_pkey_dsa.c: In function 'ossl_dsa_to_public_key':
ossl_pkey_dsa.c:313: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkey_dsa.c: In function 'ossl_dsa_sign':
ossl_pkey_dsa.c:338: warning: pointer targets in passing argument 2 of 'DSA_sign' differ in signedness
ossl_pkey_dsa.c:338: warning: pointer targets in passing argument 4 of 'DSA_sign' differ in signedness
ossl_pkey_dsa.c:338: warning: pointer targets in passing argument 5 of 'DSA_sign' differ in signedness
ossl_pkey_dsa.c: In function 'ossl_dsa_verify':
ossl_pkey_dsa.c:358: warning: pointer targets in passing argument 2 of 'DSA_verify' differ in signedness
ossl_pkey_dsa.c:358: warning: pointer targets in passing argument 4 of 'DSA_verify' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey_rsa.c
ossl_pkey_rsa.c: In function 'ossl_rsa_to_der':
ossl_pkey_rsa.c:239: warning: pointer targets in assignment differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_public_encrypt':
ossl_pkey_rsa.c:263: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness
ossl_pkey_rsa.c:263: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_public_decrypt':
ossl_pkey_rsa.c:285: warning: pointer targets in passing argument 2 of 'RSA_public_decrypt' differ in signedness
ossl_pkey_rsa.c:285: warning: pointer targets in passing argument 3 of 'RSA_public_decrypt' differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_private_encrypt':
ossl_pkey_rsa.c:310: warning: pointer targets in passing argument 2 of 'RSA_private_encrypt' differ in signedness
ossl_pkey_rsa.c:310: warning: pointer targets in passing argument 3 of 'RSA_private_encrypt' differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_private_decrypt':
ossl_pkey_rsa.c:335: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness
ossl_pkey_rsa.c:335: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509store.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509revoked.c
ossl_x509revoked.c: In function 'ossl_x509revoked_new':
ossl_x509revoked.c:48: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_x509revoked.c: In function 'DupX509RevokedPtr':
ossl_x509revoked.c:64: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_engine.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey_dh.c
ossl_pkey_dh.c: In function 'ossl_dh_to_der':
ossl_pkey_dh.c:216: warning: pointer targets in assignment differ in signedness
ossl_pkey_dh.c: In function 'ossl_dh_compute_key':
ossl_pkey_dh.c:338: warning: pointer targets in passing argument 1 of 'DH_compute_key' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_config.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkcs7.c
ossl_pkcs7.c: In function 'ossl_pkcs7si_new':
ossl_pkcs7.c:90: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'DupPKCS7SignerPtr':
ossl_pkcs7.c:103: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'ossl_pkcs7ri_new':
ossl_pkcs7.c:116: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'DupPKCS7RecipientPtr':
ossl_pkcs7.c:129: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'ossl_pkcs7_to_der':
ossl_pkcs7.c:754: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_bn.c
ossl_bn.c: In function 'ossl_bn_initialize':
ossl_bn.c:127: warning: pointer targets in passing argument 1 of 'BN_mpi2bn' differ in signedness
ossl_bn.c:132: warning: pointer targets in passing argument 1 of 'BN_bin2bn' differ in signedness
ossl_bn.c: In function 'ossl_bn_to_s':
ossl_bn.c:168: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness
ossl_bn.c:174: warning: pointer targets in passing argument 2 of 'BN_bn2bin' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c openssl_missing.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkcs12.c
ossl_pkcs12.c: In function 'ossl_pkcs12_to_der':
ossl_pkcs12.c:132: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_cipher.c
ossl_cipher.c: In function 'ossl_cipher_init':
ossl_cipher.c:185: warning: pointer targets in passing argument 4 of 'EVP_BytesToKey' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_pkcs5_keyivgen':
ossl_cipher.c:226: warning: pointer targets in assignment differ in signedness
ossl_cipher.c:232: warning: pointer targets in passing argument 4 of 'EVP_BytesToKey' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_update':
ossl_cipher.c:255: warning: pointer targets in passing argument 2 of 'EVP_CipherUpdate' differ in signedness
ossl_cipher.c:255: warning: pointer targets in passing argument 4 of 'EVP_CipherUpdate' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_final':
ossl_cipher.c:283: warning: pointer targets in passing argument 2 of 'EVP_CipherFinal_ex' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_set_key':
ossl_cipher.c:313: warning: pointer targets in passing argument 4 of 'EVP_CipherInit_ex' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_set_iv':
ossl_cipher.c:330: warning: pointer targets in passing argument 5 of 'EVP_CipherInit_ex' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_asn1.c
ossl_asn1.c: In function 'asn1time_to_time':
ossl_asn1.c:37: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
ossl_asn1.c:48: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
ossl_asn1.c: In function 'asn1str_to_str':
ossl_asn1.c:83: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
ossl_asn1.c: In function 'obj_to_asn1bstr':
ossl_asn1.c:217: warning: pointer targets in passing argument 2 of 'ASN1_BIT_STRING_set' differ in signedness
ossl_asn1.c: In function 'decode_bool':
ossl_asn1.c:313: warning: passing argument 2 of 'd2i_ASN1_BOOLEAN' from incompatible pointer type
ossl_asn1.c: In function 'decode_int':
ossl_asn1.c:328: warning: passing argument 2 of 'd2i_ASN1_INTEGER' from incompatible pointer type
ossl_asn1.c: In function 'decode_bstr':
ossl_asn1.c:347: warning: passing argument 2 of 'd2i_ASN1_BIT_STRING' from incompatible pointer type
ossl_asn1.c:359: warning: pointer targets in passing argument 1 of 'ossl_buf2str' differ in signedness
ossl_asn1.c: In function 'decode_enum':
ossl_asn1.c:373: warning: passing argument 2 of 'd2i_ASN1_ENUMERATED' from incompatible pointer type
ossl_asn1.c: In function 'decode_null':
ossl_asn1.c:390: warning: passing argument 2 of 'd2i_ASN1_NULL' from incompatible pointer type
ossl_asn1.c: In function 'decode_obj':
ossl_asn1.c:407: warning: passing argument 2 of 'd2i_ASN1_OBJECT' from incompatible pointer type
ossl_asn1.c: In function 'decode_time':
ossl_asn1.c:435: warning: passing argument 2 of 'd2i_ASN1_TIME' from incompatible pointer type
ossl_asn1.c: In function 'ossl_asn1data_to_der':
ossl_asn1.c:705: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1_decode0':
ossl_asn1.c:727: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
ossl_asn1.c:762: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
ossl_asn1.c: In function 'ossl_asn1_traverse':
ossl_asn1.c:827: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1_decode':
ossl_asn1.c:843: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1_decode_all':
ossl_asn1.c:860: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1prim_to_der':
ossl_asn1.c:957: warning: pointer targets in passing argument 1 of 'ossl_buf2str' differ in signedness
ossl_asn1.c: In function 'ossl_asn1cons_to_der':
ossl_asn1.c:979: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_bio.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_ssl.c
ossl_ssl.c: In function 'ossl_sslctx_setup':
ossl_ssl.c:401: warning: pointer targets in passing argument 2 of 'SSL_CTX_set_session_id_context' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_hmac.c
ossl_hmac.c: In function 'ossl_hmac_update':
ossl_hmac.c:97: warning: pointer targets in passing argument 2 of 'HMAC_Update' differ in signedness
ossl_hmac.c: In function 'hmac_final':
ossl_hmac.c:115: warning: pointer targets in passing argument 2 of 'HMAC_Final' differ in signedness
ossl_hmac.c:115: warning: pointer targets in passing argument 3 of 'HMAC_Final' differ in signedness
ossl_hmac.c: In function 'ossl_hmac_s_digest':
ossl_hmac.c:163: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness
ossl_hmac.c:163: warning: pointer targets in passing argument 7 of 'HMAC' differ in signedness
ossl_hmac.c:163: warning: pointer targets in assignment differ in signedness
ossl_hmac.c: In function 'ossl_hmac_s_hexdigest':
ossl_hmac.c:179: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness
ossl_hmac.c:179: warning: pointer targets in passing argument 7 of 'HMAC' differ in signedness
ossl_hmac.c:179: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509crl.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509ext.c
ossl_x509ext.c: In function 'ossl_x509ext_initialize':
ossl_x509ext.c:283: warning: pointer targets in assignment differ in signedness
ossl_x509ext.c:285: warning: passing argument 2 of 'd2i_X509_EXTENSION' from incompatible pointer type
ossl_x509ext.c: In function 'ossl_x509ext_to_der':
ossl_x509ext.c:412: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509req.c
ossl_x509req.c: In function 'ossl_x509req_to_der':
ossl_x509req.c:174: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_ocsp.c
ossl_ocsp.c: In function 'ossl_ocspreq_initialize':
ossl_ocsp.c:114: warning: passing argument 2 of 'd2i_OCSP_REQUEST' from incompatible pointer type
ossl_ocsp.c: In function 'ossl_ocspreq_add_nonce':
ossl_ocsp.c:137: warning: pointer targets in passing argument 2 of 'OCSP_request_add1_nonce' differ in signedness
ossl_ocsp.c: In function 'ossl_ocspreq_to_der':
ossl_ocsp.c:268: warning: pointer targets in assignment differ in signedness
ossl_ocsp.c: In function 'ossl_ocspres_initialize':
ossl_ocsp.c:319: warning: pointer targets in assignment differ in signedness
ossl_ocsp.c:321: warning: passing argument 2 of 'd2i_OCSP_RESPONSE' from incompatible pointer type
ossl_ocsp.c: In function 'ossl_ocspres_to_der':
ossl_ocsp.c:380: warning: pointer targets in assignment differ in signedness
ossl_ocsp.c: In function 'ossl_ocspbres_add_nonce':
ossl_ocsp.c:439: warning: pointer targets in passing argument 2 of 'OCSP_basic_add1_nonce' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey.c
ossl_pkey.c: In function 'ossl_pkey_sign':
ossl_pkey.c:174: warning: pointer targets in passing argument 2 of 'EVP_SignFinal' differ in signedness
ossl_pkey.c:174: warning: pointer targets in passing argument 3 of 'EVP_SignFinal' differ in signedness
ossl_pkey.c: In function 'ossl_pkey_verify':
ossl_pkey.c:194: warning: pointer targets in passing argument 2 of 'EVP_VerifyFinal' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_rand.c
ossl_rand.c: In function 'ossl_rand_bytes':
ossl_rand.c:66: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness
ossl_rand.c: In function 'ossl_rand_pseudo_bytes':
ossl_rand.c:79: warning: pointer targets in passing argument 1 of 'RAND_pseudo_bytes' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509attr.c
ossl_x509attr.c: In function 'ossl_x509attr_initialize':
ossl_x509attr.c:98: warning: pointer targets in assignment differ in signedness
ossl_x509attr.c:100: warning: passing argument 2 of 'd2i_X509_ATTRIBUTE' from incompatible pointer type
ossl_x509attr.c: In function 'ossl_x509attr_get_value':
ossl_x509attr.c:195: warning: pointer targets in assignment differ in signedness
ossl_x509attr.c:203: warning: pointer targets in assignment differ in signedness
ossl_x509attr.c: In function 'ossl_x509attr_to_der':
ossl_x509attr.c:225: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509cert.c
ossl_x509cert.c: In function 'ossl_x509_to_der':
ossl_x509cert.c:184: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_digest.c
ossl_digest.c: In function 'digest_final':
ossl_digest.c:156: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal_ex' differ in signedness
ossl_digest.c:156: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal_ex' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_ns_spki.c
ossl_ns_spki.c: In function 'ossl_spki_initialize':
ossl_ns_spki.c:66: warning: pointer targets in assignment differ in signedness
ossl_ns_spki.c:67: warning: passing argument 2 of 'd2i_NETSCAPE_SPKI' from incompatible pointer type
ossl_ns_spki.c: In function 'ossl_spki_to_der':
ossl_ns_spki.c:90: warning: pointer targets in assignment differ in signedness
ossl_ns_spki.c: In function 'ossl_spki_get_challenge':
ossl_ns_spki.c:176: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
gcc -shared -o openssl.so ossl_x509name.o ossl_pkey_dsa.o ossl_pkey_rsa.o ossl_x509store.o ossl_x509revoked.o ossl_engine.o ossl_pkey_dh.o ossl_config.o ossl_pkcs7.o ossl_bn.o openssl_missing.o ossl_pkcs12.o ossl_cipher.o ossl_asn1.o ossl_bio.o ossl_ssl.o ossl.o ossl_hmac.o ossl_x509crl.o ossl_x509ext.o ossl_x509req.o ossl_ocsp.o ossl_pkey.o ossl_rand.o ossl_x509.o ossl_x509attr.o ossl_x509cert.o ossl_digest.o ossl_ns_spki.o -L"." -L"/dbra/app/lib/ruby/lib" -L"/dbra/app/lib/openssl/lib" -L. -Wl,-brtl -Wl,-G -eInit_openssl -lssl -lcrypto -ldl -lcrypt -lm -lc
Target "all" is up to date.
$ su
root's Password:
# pwd
/dbra/app/softs/ruby/ruby-1.8.6-p114/ext/openssl
# make install
install -c -p -m 0755 openssl.so /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/powerpc-aix5.3.0.0
Target "install" is up to date.
# irb
irb(main):001:0> require 'openssl'
=> true
irb(main):002:0> exit
/dbra/app/softs/ruby/ruby-1.8.6-p114/ext/openssl
$ rm -rf *.o,openssl.so,Makefile
$ ruby extconf.rb --with-openssl-dir=/dbra/app/lib/openssl
=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for assert.h... yes
=== Checking for required stuff... ===
checking for openssl/ssl.h... yes
checking for OpenSSL_add_all_digests() in -lcrypto... yes
checking for SSL_library_init() in -lssl... yes
checking for openssl/conf_api.h... yes
=== Checking for OpenSSL features... ===
checking for ERR_peek_last_error()... yes
checking for BN_mod_add()... yes
checking for BN_mod_sqr()... yes
checking for BN_mod_sub()... yes
checking for BN_pseudo_rand_range()... yes
checking for BN_rand_range()... yes
checking for CONF_get1_default_config_file()... yes
checking for EVP_CIPHER_CTX_copy()... no
checking for EVP_CIPHER_CTX_set_padding()... yes
checking for EVP_CipherFinal_ex()... yes
checking for EVP_CipherInit_ex()... yes
checking for EVP_DigestFinal_ex()... yes
checking for EVP_DigestInit_ex()... yes
checking for EVP_MD_CTX_cleanup()... yes
checking for EVP_MD_CTX_create()... yes
checking for EVP_MD_CTX_destroy()... yes
checking for EVP_MD_CTX_init()... yes
checking for HMAC_CTX_cleanup()... yes
checking for HMAC_CTX_copy()... no
checking for HMAC_CTX_init()... yes
checking for PEM_def_callback()... yes
checking for X509V3_set_nconf()... yes
checking for X509V3_EXT_nconf_nid()... yes
checking for X509_CRL_add0_revoked()... yes
checking for X509_CRL_set_issuer_name()... yes
checking for X509_CRL_set_version()... yes
checking for X509_CRL_sort()... yes
checking for X509_STORE_get_ex_data()... no
checking for X509_STORE_set_ex_data()... no
checking for OBJ_NAME_do_all_sorted()... yes
checking for OPENSSL_cleanse()... yes
checking for openssl/engine.h... yes
checking for ENGINE_add()... yes
checking for ENGINE_load_builtin_engines()... yes
checking for ENGINE_load_openbsd_dev_crypto()... no
checking for ENGINE_get_digest()... yes
checking for ENGINE_get_cipher()... yes
checking for ENGINE_cleanup()... yes
checking for openssl/ocsp.h... yes
checking for EVP_CIPHER_CTX.flags in openssl/evp.h... yes
checking for EVP_CIPHER_CTX.engine in openssl/evp.h... yes
checking for X509_ATTRIBUTE.single in openssl/x509.h... yes
=== Checking done. ===
creating extconf.h
creating Makefile
Done.
$ make
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509name.c
ossl_x509name.c: In function 'ossl_x509name_initialize':
ossl_x509name.c:134: warning: pointer targets in assignment differ in signedness
ossl_x509name.c:135: warning: passing argument 2 of 'd2i_X509_NAME' from incompatible pointer type
ossl_x509name.c: In function 'ossl_x509name_add_entry':
ossl_x509name.c:156: warning: pointer targets in passing argument 4 of 'X509_NAME_add_entry_by_txt' differ in signedness
ossl_x509name.c: In function 'ossl_x509name_to_a':
ossl_x509name.c:228: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
ossl_x509name.c: In function 'ossl_x509name_to_der':
ossl_x509name.c:294: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey_dsa.c
ossl_pkey_dsa.c: In function 'ossl_dsa_initialize':
ossl_pkey_dsa.c:141: warning: passing argument 1 of 'PEM_ASN1_read_bio' from incompatible pointer type
ossl_pkey_dsa.c:141: warning: passing argument 4 of 'PEM_ASN1_read_bio' from incompatible pointer type
ossl_pkey_dsa.c: In function 'ossl_dsa_to_der':
ossl_pkey_dsa.c:244: warning: pointer targets in assignment differ in signedness
ossl_pkey_dsa.c: In function 'ossl_dsa_to_public_key':
ossl_pkey_dsa.c:313: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkey_dsa.c: In function 'ossl_dsa_sign':
ossl_pkey_dsa.c:338: warning: pointer targets in passing argument 2 of 'DSA_sign' differ in signedness
ossl_pkey_dsa.c:338: warning: pointer targets in passing argument 4 of 'DSA_sign' differ in signedness
ossl_pkey_dsa.c:338: warning: pointer targets in passing argument 5 of 'DSA_sign' differ in signedness
ossl_pkey_dsa.c: In function 'ossl_dsa_verify':
ossl_pkey_dsa.c:358: warning: pointer targets in passing argument 2 of 'DSA_verify' differ in signedness
ossl_pkey_dsa.c:358: warning: pointer targets in passing argument 4 of 'DSA_verify' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey_rsa.c
ossl_pkey_rsa.c: In function 'ossl_rsa_to_der':
ossl_pkey_rsa.c:239: warning: pointer targets in assignment differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_public_encrypt':
ossl_pkey_rsa.c:263: warning: pointer targets in passing argument 2 of 'RSA_public_encrypt' differ in signedness
ossl_pkey_rsa.c:263: warning: pointer targets in passing argument 3 of 'RSA_public_encrypt' differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_public_decrypt':
ossl_pkey_rsa.c:285: warning: pointer targets in passing argument 2 of 'RSA_public_decrypt' differ in signedness
ossl_pkey_rsa.c:285: warning: pointer targets in passing argument 3 of 'RSA_public_decrypt' differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_private_encrypt':
ossl_pkey_rsa.c:310: warning: pointer targets in passing argument 2 of 'RSA_private_encrypt' differ in signedness
ossl_pkey_rsa.c:310: warning: pointer targets in passing argument 3 of 'RSA_private_encrypt' differ in signedness
ossl_pkey_rsa.c: In function 'ossl_rsa_private_decrypt':
ossl_pkey_rsa.c:335: warning: pointer targets in passing argument 2 of 'RSA_private_decrypt' differ in signedness
ossl_pkey_rsa.c:335: warning: pointer targets in passing argument 3 of 'RSA_private_decrypt' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509store.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509revoked.c
ossl_x509revoked.c: In function 'ossl_x509revoked_new':
ossl_x509revoked.c:48: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_x509revoked.c: In function 'DupX509RevokedPtr':
ossl_x509revoked.c:64: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_engine.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey_dh.c
ossl_pkey_dh.c: In function 'ossl_dh_to_der':
ossl_pkey_dh.c:216: warning: pointer targets in assignment differ in signedness
ossl_pkey_dh.c: In function 'ossl_dh_compute_key':
ossl_pkey_dh.c:338: warning: pointer targets in passing argument 1 of 'DH_compute_key' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_config.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkcs7.c
ossl_pkcs7.c: In function 'ossl_pkcs7si_new':
ossl_pkcs7.c:90: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'DupPKCS7SignerPtr':
ossl_pkcs7.c:103: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'ossl_pkcs7ri_new':
ossl_pkcs7.c:116: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'DupPKCS7RecipientPtr':
ossl_pkcs7.c:129: warning: passing argument 2 of 'ASN1_dup' from incompatible pointer type
ossl_pkcs7.c: In function 'ossl_pkcs7_to_der':
ossl_pkcs7.c:754: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_bn.c
ossl_bn.c: In function 'ossl_bn_initialize':
ossl_bn.c:127: warning: pointer targets in passing argument 1 of 'BN_mpi2bn' differ in signedness
ossl_bn.c:132: warning: pointer targets in passing argument 1 of 'BN_bin2bn' differ in signedness
ossl_bn.c: In function 'ossl_bn_to_s':
ossl_bn.c:168: warning: pointer targets in passing argument 2 of 'BN_bn2mpi' differ in signedness
ossl_bn.c:174: warning: pointer targets in passing argument 2 of 'BN_bn2bin' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c openssl_missing.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkcs12.c
ossl_pkcs12.c: In function 'ossl_pkcs12_to_der':
ossl_pkcs12.c:132: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_cipher.c
ossl_cipher.c: In function 'ossl_cipher_init':
ossl_cipher.c:185: warning: pointer targets in passing argument 4 of 'EVP_BytesToKey' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_pkcs5_keyivgen':
ossl_cipher.c:226: warning: pointer targets in assignment differ in signedness
ossl_cipher.c:232: warning: pointer targets in passing argument 4 of 'EVP_BytesToKey' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_update':
ossl_cipher.c:255: warning: pointer targets in passing argument 2 of 'EVP_CipherUpdate' differ in signedness
ossl_cipher.c:255: warning: pointer targets in passing argument 4 of 'EVP_CipherUpdate' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_final':
ossl_cipher.c:283: warning: pointer targets in passing argument 2 of 'EVP_CipherFinal_ex' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_set_key':
ossl_cipher.c:313: warning: pointer targets in passing argument 4 of 'EVP_CipherInit_ex' differ in signedness
ossl_cipher.c: In function 'ossl_cipher_set_iv':
ossl_cipher.c:330: warning: pointer targets in passing argument 5 of 'EVP_CipherInit_ex' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_asn1.c
ossl_asn1.c: In function 'asn1time_to_time':
ossl_asn1.c:37: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
ossl_asn1.c:48: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness
ossl_asn1.c: In function 'asn1str_to_str':
ossl_asn1.c:83: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
ossl_asn1.c: In function 'obj_to_asn1bstr':
ossl_asn1.c:217: warning: pointer targets in passing argument 2 of 'ASN1_BIT_STRING_set' differ in signedness
ossl_asn1.c: In function 'decode_bool':
ossl_asn1.c:313: warning: passing argument 2 of 'd2i_ASN1_BOOLEAN' from incompatible pointer type
ossl_asn1.c: In function 'decode_int':
ossl_asn1.c:328: warning: passing argument 2 of 'd2i_ASN1_INTEGER' from incompatible pointer type
ossl_asn1.c: In function 'decode_bstr':
ossl_asn1.c:347: warning: passing argument 2 of 'd2i_ASN1_BIT_STRING' from incompatible pointer type
ossl_asn1.c:359: warning: pointer targets in passing argument 1 of 'ossl_buf2str' differ in signedness
ossl_asn1.c: In function 'decode_enum':
ossl_asn1.c:373: warning: passing argument 2 of 'd2i_ASN1_ENUMERATED' from incompatible pointer type
ossl_asn1.c: In function 'decode_null':
ossl_asn1.c:390: warning: passing argument 2 of 'd2i_ASN1_NULL' from incompatible pointer type
ossl_asn1.c: In function 'decode_obj':
ossl_asn1.c:407: warning: passing argument 2 of 'd2i_ASN1_OBJECT' from incompatible pointer type
ossl_asn1.c: In function 'decode_time':
ossl_asn1.c:435: warning: passing argument 2 of 'd2i_ASN1_TIME' from incompatible pointer type
ossl_asn1.c: In function 'ossl_asn1data_to_der':
ossl_asn1.c:705: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1_decode0':
ossl_asn1.c:727: warning: passing argument 1 of 'ASN1_get_object' from incompatible pointer type
ossl_asn1.c:762: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
ossl_asn1.c: In function 'ossl_asn1_traverse':
ossl_asn1.c:827: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1_decode':
ossl_asn1.c:843: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1_decode_all':
ossl_asn1.c:860: warning: pointer targets in assignment differ in signedness
ossl_asn1.c: In function 'ossl_asn1prim_to_der':
ossl_asn1.c:957: warning: pointer targets in passing argument 1 of 'ossl_buf2str' differ in signedness
ossl_asn1.c: In function 'ossl_asn1cons_to_der':
ossl_asn1.c:979: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_bio.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_ssl.c
ossl_ssl.c: In function 'ossl_sslctx_setup':
ossl_ssl.c:401: warning: pointer targets in passing argument 2 of 'SSL_CTX_set_session_id_context' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_hmac.c
ossl_hmac.c: In function 'ossl_hmac_update':
ossl_hmac.c:97: warning: pointer targets in passing argument 2 of 'HMAC_Update' differ in signedness
ossl_hmac.c: In function 'hmac_final':
ossl_hmac.c:115: warning: pointer targets in passing argument 2 of 'HMAC_Final' differ in signedness
ossl_hmac.c:115: warning: pointer targets in passing argument 3 of 'HMAC_Final' differ in signedness
ossl_hmac.c: In function 'ossl_hmac_s_digest':
ossl_hmac.c:163: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness
ossl_hmac.c:163: warning: pointer targets in passing argument 7 of 'HMAC' differ in signedness
ossl_hmac.c:163: warning: pointer targets in assignment differ in signedness
ossl_hmac.c: In function 'ossl_hmac_s_hexdigest':
ossl_hmac.c:179: warning: pointer targets in passing argument 4 of 'HMAC' differ in signedness
ossl_hmac.c:179: warning: pointer targets in passing argument 7 of 'HMAC' differ in signedness
ossl_hmac.c:179: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509crl.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509ext.c
ossl_x509ext.c: In function 'ossl_x509ext_initialize':
ossl_x509ext.c:283: warning: pointer targets in assignment differ in signedness
ossl_x509ext.c:285: warning: passing argument 2 of 'd2i_X509_EXTENSION' from incompatible pointer type
ossl_x509ext.c: In function 'ossl_x509ext_to_der':
ossl_x509ext.c:412: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509req.c
ossl_x509req.c: In function 'ossl_x509req_to_der':
ossl_x509req.c:174: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_ocsp.c
ossl_ocsp.c: In function 'ossl_ocspreq_initialize':
ossl_ocsp.c:114: warning: passing argument 2 of 'd2i_OCSP_REQUEST' from incompatible pointer type
ossl_ocsp.c: In function 'ossl_ocspreq_add_nonce':
ossl_ocsp.c:137: warning: pointer targets in passing argument 2 of 'OCSP_request_add1_nonce' differ in signedness
ossl_ocsp.c: In function 'ossl_ocspreq_to_der':
ossl_ocsp.c:268: warning: pointer targets in assignment differ in signedness
ossl_ocsp.c: In function 'ossl_ocspres_initialize':
ossl_ocsp.c:319: warning: pointer targets in assignment differ in signedness
ossl_ocsp.c:321: warning: passing argument 2 of 'd2i_OCSP_RESPONSE' from incompatible pointer type
ossl_ocsp.c: In function 'ossl_ocspres_to_der':
ossl_ocsp.c:380: warning: pointer targets in assignment differ in signedness
ossl_ocsp.c: In function 'ossl_ocspbres_add_nonce':
ossl_ocsp.c:439: warning: pointer targets in passing argument 2 of 'OCSP_basic_add1_nonce' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_pkey.c
ossl_pkey.c: In function 'ossl_pkey_sign':
ossl_pkey.c:174: warning: pointer targets in passing argument 2 of 'EVP_SignFinal' differ in signedness
ossl_pkey.c:174: warning: pointer targets in passing argument 3 of 'EVP_SignFinal' differ in signedness
ossl_pkey.c: In function 'ossl_pkey_verify':
ossl_pkey.c:194: warning: pointer targets in passing argument 2 of 'EVP_VerifyFinal' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_rand.c
ossl_rand.c: In function 'ossl_rand_bytes':
ossl_rand.c:66: warning: pointer targets in passing argument 1 of 'RAND_bytes' differ in signedness
ossl_rand.c: In function 'ossl_rand_pseudo_bytes':
ossl_rand.c:79: warning: pointer targets in passing argument 1 of 'RAND_pseudo_bytes' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509.c
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509attr.c
ossl_x509attr.c: In function 'ossl_x509attr_initialize':
ossl_x509attr.c:98: warning: pointer targets in assignment differ in signedness
ossl_x509attr.c:100: warning: passing argument 2 of 'd2i_X509_ATTRIBUTE' from incompatible pointer type
ossl_x509attr.c: In function 'ossl_x509attr_get_value':
ossl_x509attr.c:195: warning: pointer targets in assignment differ in signedness
ossl_x509attr.c:203: warning: pointer targets in assignment differ in signedness
ossl_x509attr.c: In function 'ossl_x509attr_to_der':
ossl_x509attr.c:225: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_x509cert.c
ossl_x509cert.c: In function 'ossl_x509_to_der':
ossl_x509cert.c:184: warning: pointer targets in assignment differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_digest.c
ossl_digest.c: In function 'digest_final':
ossl_digest.c:156: warning: pointer targets in passing argument 2 of 'EVP_DigestFinal_ex' differ in signedness
ossl_digest.c:156: warning: pointer targets in passing argument 3 of 'EVP_DigestFinal_ex' differ in signedness
gcc -I. -I. -I/dbra/app/lib/ruby/lib/ruby/1.8/powerpc-aix5.3.0.0 -I. -DRUBY_EXTCONF_H=\"extconf.h\" -I/dbra/app/lib/openssl/include -g -O2 -c ossl_ns_spki.c
ossl_ns_spki.c: In function 'ossl_spki_initialize':
ossl_ns_spki.c:66: warning: pointer targets in assignment differ in signedness
ossl_ns_spki.c:67: warning: passing argument 2 of 'd2i_NETSCAPE_SPKI' from incompatible pointer type
ossl_ns_spki.c: In function 'ossl_spki_to_der':
ossl_ns_spki.c:90: warning: pointer targets in assignment differ in signedness
ossl_ns_spki.c: In function 'ossl_spki_get_challenge':
ossl_ns_spki.c:176: warning: pointer targets in passing argument 1 of 'rb_str_new' differ in signedness
gcc -shared -o openssl.so ossl_x509name.o ossl_pkey_dsa.o ossl_pkey_rsa.o ossl_x509store.o ossl_x509revoked.o ossl_engine.o ossl_pkey_dh.o ossl_config.o ossl_pkcs7.o ossl_bn.o openssl_missing.o ossl_pkcs12.o ossl_cipher.o ossl_asn1.o ossl_bio.o ossl_ssl.o ossl.o ossl_hmac.o ossl_x509crl.o ossl_x509ext.o ossl_x509req.o ossl_ocsp.o ossl_pkey.o ossl_rand.o ossl_x509.o ossl_x509attr.o ossl_x509cert.o ossl_digest.o ossl_ns_spki.o -L"." -L"/dbra/app/lib/ruby/lib" -L"/dbra/app/lib/openssl/lib" -L. -Wl,-brtl -Wl,-G -eInit_openssl -lssl -lcrypto -ldl -lcrypt -lm -lc
Target "all" is up to date.
$ su
root's Password:
# pwd
/dbra/app/softs/ruby/ruby-1.8.6-p114/ext/openssl
# make install
install -c -p -m 0755 openssl.so /dbra/app/lib/ruby/lib/ruby/site_ruby/1.8/powerpc-aix5.3.0.0
Target "install" is up to date.
# irb
irb(main):001:0> require 'openssl'
=> true
irb(main):002:0> exit
以上信息仅作记录!
发表评论
-
记一次rsync在nfs环境下错误处理
2011-05-26 13:44 2512公司有一应用,即利用rsync开源工具从生产机拉归档日志至备份 ... -
浅谈AIX /var/adm/wtmp
2010-12-11 18:42 5058今天登陆系统时报如下错误 引用telnet (mcsvr) ... -
AIX和linux之间挂载nfs错误
2010-11-25 12:12 1902linux作为nfs服务器,其/etc/exports文件为 ... -
记一次存储不可读修复
2010-08-31 14:05 2204同事告诉我一AIX主机文件系统不可写 引用# touch ll ... -
记一次AIX平台存储脏块处理
2010-08-06 13:36 2571客户数据库出现问题,归档日志不可读,具体表现为 引用$ du ... -
AIX 配置vncserver
2010-06-08 09:40 8363我们安装数据库时,很多情况下客户现场并没有配置图形界面,这是就 ... -
vi替换文本中的^M
2010-04-16 13:27 3071工作中经常碰到^M结尾的文本,可以用以下方法替换 引用:%s/ ... -
AIX 挂载NFS错误nfsmnthelp: 1831-019之解决
2010-04-10 12:56 11848介绍解决方法之前,先简单说明系统环境,共涉及到4台主机。为了保 ... -
AIX 查看网卡是否做绑定
2010-04-08 11:49 5141可以通过lsattr命令查看网卡是否做过绑定,以下仅作记录 引 ... -
AIX查看rootvg是否做镜像
2010-04-08 11:22 2952因工作需要,仅作记录 AIX查看rootvg是否做镜像,只需要 ... -
AIX 使用lsof查看端口占用进程
2010-03-12 10:05 10824lsof功能很强大,这里主要介绍使用lsof查看端口占用进程, ... -
AIX 关闭ftp服务
2010-03-12 09:29 6500很多情况下,比如处于安全考虑,我们需要关闭ftp服务。在AIX ... -
AIX working with the LDR_CNTRL environment variable
2010-03-11 08:48 2486The LDR_CNTRL environment varia ... -
AIX 查看aio状态
2010-03-10 15:31 9542Aix平台打开异步io需要fileset支持 引用# lslp ... -
Aix 查看进程占用内存大小(按从大小排列)
2010-03-08 13:43 14874主要通过以下两条命令进行观察,单位为K RSS表示the am ... -
AIX 6L虚拟内存参数变化
2010-02-08 14:31 2013操作系统版本为: 引用P590_lpar1/>oslev ... -
AIX 查看HA脚本位置
2010-01-20 09:14 2896#smitty hacmp =>Initializati ... -
AIX 虚拟内存管理(VMM)优化
2010-01-14 16:17 2471AIX版本为 引用#oslevel -r 5300-04 查看 ... -
AIX 域名解析顺序
2010-01-07 15:55 3020AIX 主机IP地址的解析顺序依次是dns/bind,nis, ... -
AIX 平台ruby卸载
2010-01-05 16:27 1471ruby在AIX平台下默认安装路径如下,将以下文件删除即可 引 ...
相关推荐
本主题聚焦于一个这样的案例:如何在Delphi 7环境中有效地调用OpenSSL库,特别是针对RSA加密算法的修正版。Delphi 7是一款经典的Object Pascal集成开发环境,而OpenSSL则是一个强大的开源密码学库,包含了各种安全...
本文将详细讨论如何在C语言项目中集成和调用OpenSSL库,以及它所提供的核心功能。 OpenSSL是一个强大的安全套接层(SSL)和传输层安全(TLS)协议实现,同时包括了各种密码算法、常用的密钥和证书封装管理功能,...
在这个过程中,我们通常会使用OpenSSL命令行工具,然后通过Java程序来调用这些系统命令。下面将详细讲解这个过程以及涉及的相关知识点。 首先,OpenSSL是一个强大的安全套接层(SSL)和传输层安全(TLS)协议实现...
在"直接调用OpenSSL.rar"这个压缩包中,我们有libeay32.dll和一个名为"直接调用OpenSSL.e"的执行文件,以及"openssl编程帮助文档.pdf",这将为开发者提供关于如何直接使用OpenSSL进行编程的指导。 1. **OpenSSL库**...
在AIX 5.3操作系统环境下,安装和配置OpenSSL和OpenSSH是系统管理员常见的任务,这涉及到网络安全、远程访问以及服务器之间的加密通信。OpenSSL是一个强大的安全套接层(SSL)和传输层安全(TLS)协议实现,而...
在本文中,我们将探讨在Ubuntu 16.04系统上安装Ruby 2.7.0时遇到的一个常见问题:`cannot load such file — openssl (LoadError)`。这是一个与Ruby和OpenSSL库集成有关的问题,通常发生在试图安装或运行依赖于...
适用于 AIX 5.3、6.1、7.1 和 7.2 的 OpenSSL 1.1.2.1200 openssl-1.1.2.1200
`no such file to load — openssl (LoadError)` 原因很简单就是 ruby 的 openssl 支持模块没有安装,在 openSUSE 下面安装: 代码如下: sudo zypper in libopenssl-devel 然后编译 openssl 模块,
这是适用于 AIX 5.3、6.1、7.1 和 7.2 的Openssh_8.1p1 ,其中包含OpenSSL 1.0.2.2102版本和Openssh_8.1p1。加压后使用smit installp安装即可 解决了在Openssh_8.1版本之前报告的所有漏洞。 openssh_8.1p1,openssl-...
在IBM AIX 5.3操作系统中,安装和配置OpenSSL和OpenSSH是提升系统安全性的重要步骤。这两个软件包主要用于加密通信和远程访问,OpenSSL提供了安全套接字层(SSL)和传输层安全(TLS)协议的实现,而OpenSSH则是一个用于...
AIX系统安装ssh服务时所需的包:openssl
aix6.1 openssl 升级包 openssl-1.0.1.511.tar.tgz
AIX上最新的openSSL和openSSH 安装方法 1.通过FTP(传送模式要选择二进制方式)上传安装包 2.解压缩安装包 uncompress OpenSSH_6.0.0.6102.tar.Z tar -xvf OpenSSH_6.0.0.6102.tar uncompress openssl-0.9.8.2500....
OpenSSL 0.9.8y for AIX 5.3, 6.1 & 7.1 VRMF: 0.9.8.2507 openssl-0.9.8.2507.tar.Z (17728780 B) .9.8 OpenSSL version is End of Support from Jan 2016
Java基于command调用openssl生成私钥证书 Java是一种广泛使用的编程语言,而openssl是一种加密工具。今天,我们将介绍如何使用Java基于command调用openssl生成私钥证书。 什么是私钥证书? 私钥证书是一种数字...
OpenSSL提供了一套错误处理机制,可以通过`SSL_load_error_strings`加载错误字符串,以便在遇到问题时能够输出详细的错误信息。当发生错误时,可以通过`ERR_get_error`获取错误代码,然后使用`ERR_error_string`将...
在AIX 5.3上安装 与openssh4.1测试安装成功 光盘版本直接安装
openssl aix patch
【openssl生成证书】知识点详解 在IT领域,OpenSSL是一个强大的安全套接字层密码库,包含各种主要的密码算法、常用的密钥和证书封装管理功能以及SSL协议,并提供丰富的应用程序用于测试或其他目的。生成证书是网络...
用于在AIX 5 6 7 小型机上安装SSH所依赖的基础类。。。