From: "Awijeet Mr." Date: 2010-09-20T19:23:11+09:00 Subject: installation of Ruby 1.8.7 on fedora . I got this [2010-09-20 21:17:09] make eval.c: In function ‘rb_eval_string_wrap’: eval.c:1742: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘rb_eval_cmd’: eval.c:1883: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘call_trace_func’: eval.c:2734: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘rb_raise_jump’: eval.c:4765: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘method_missing’: eval.c:5720: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘rb_call0’: eval.c:5883: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘rb_f_eval’: eval.c:6676: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘exec_under’: eval.c:6700: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘rb_load’: eval.c:7016: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘call_end_proc’: eval.c:8046: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘rb_f_END’: eval.c:8059: warning: assignment discards qualifiers from pointer target type eval.c: In function ‘mproc’: eval.c:9835: warning: assignment discards qualifiers from pointer target type digest.c: In function ‘rb_digest_instance_inspect’: digest.c:271: warning: assignment discards qualifiers from pointer target type void char short long float double ossl_x509cert.c: In function ‘ossl_x509_inspect’: ossl_x509cert.c:693: warning: initialization discards qualifiers from pointer target type ossl_x509crl.c: In function ‘ossl_x509crl_get_revoked’: ossl_x509crl.c:265: warning: pointer type mismatch in conditional expression ossl_x509crl.c:273: warning: pointer type mismatch in conditional expression ossl_config.c: In function ‘ossl_config_get_sections’: ossl_config.c:313: warning: passing argument 1 of ‘lh_doall_arg’ from incompatible pointer type /usr/include/openssl/lhash.h:181: note: expected ‘struct _LHASH *’ but argument is of type ‘struct lhash_st_CONF_VALUE *’ ossl_config.c: In function ‘dump_conf’: ossl_config.c:349: warning: passing argument 1 of ‘lh_doall_arg’ from incompatible pointer type /usr/include/openssl/lhash.h:181: note: expected ‘struct _LHASH *’ but argument is of type ‘struct lhash_st_CONF_VALUE *’ ossl_config.c: In function ‘ossl_config_each’: ossl_config.c:393: warning: passing argument 1 of ‘lh_doall_arg’ from incompatible pointer type /usr/include/openssl/lhash.h:181: note: expected ‘struct _LHASH *’ but argument is of type ‘struct lhash_st_CONF_VALUE *’ ossl_config.c: In function ‘ossl_config_inspect’: ossl_config.c:424: warning: initialization discards qualifiers from pointer target type ossl_cipher.c: In function ‘ossl_cipher_init’: ossl_cipher.c:189: warning: initialization discards qualifiers from pointer target type ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’: ossl_cipher.c:312: warning: assignment discards qualifiers from pointer target type ossl_asn1.c: In function ‘decode_bool’: ossl_asn1.c:313: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type /usr/include/openssl/asn1.h:830: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘decode_int’: ossl_asn1.c:328: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type /usr/include/openssl/asn1.h:832: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘decode_bstr’: ossl_asn1.c:347: warning: passing argument 2 of ‘d2i_ASN1_BIT_STRING’ from incompatible pointer type /usr/include/openssl/asn1.h:810: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘decode_enum’: ossl_asn1.c:373: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type /usr/include/openssl/asn1.h:841: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘decode_null’: ossl_asn1.c:390: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type /usr/include/openssl/asn1.h:867: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘decode_obj’: ossl_asn1.c:407: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type /usr/include/openssl/asn1.h:787: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘decode_time’: ossl_asn1.c:435: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type /usr/include/openssl/asn1.h:883: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_asn1.c: In function ‘ossl_asn1_decode0’: ossl_asn1.c:727: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type /usr/include/openssl/asn1.h:945: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ ossl_engine.c: In function ‘ossl_engine_inspect’: ossl_engine.c:329: warning: initialization discards qualifiers from pointer target type ossl_ssl.c:101: warning: initialization from incompatible pointer type ossl_ssl.c:102: warning: initialization from incompatible pointer type ossl_ssl.c:103: warning: initialization from incompatible pointer type ossl_ssl.c:104: warning: initialization from incompatible pointer type ossl_ssl.c:105: warning: initialization from incompatible pointer type ossl_ssl.c:106: warning: initialization from incompatible pointer type ossl_ssl.c:107: warning: initialization from incompatible pointer type ossl_ssl.c:108: warning: initialization from incompatible pointer type ossl_ssl.c:109: warning: initialization from incompatible pointer type ossl_ssl.c:110: warning: initialization from incompatible pointer type ossl_ssl.c:111: warning: initialization from incompatible pointer type ossl_ssl.c:112: warning: initialization from incompatible pointer type ossl_ssl.c: In function ‘ossl_sslctx_get_ciphers’: ossl_ssl.c:626: error: ‘STACK’ undeclared (first use in this function) ossl_ssl.c:626: error: (Each undeclared identifier is reported only once ossl_ssl.c:626: error: for each function it appears in.) ossl_ssl.c:626: error: expected expression before ‘)’ token ossl_ssl.c:629: error: expected expression before ‘)’ token ossl_ssl.c:629: error: too few arguments to function ‘sk_value’ ossl_ssl.c: In function ‘ossl_ssl_get_peer_cert_chain’: ossl_ssl.c:1199: warning: passing argument 1 of ‘sk_num’ from incompatible pointer type /usr/include/openssl/stack.h:79: note: expected ‘const struct _STACK *’ but argument is of type ‘struct stack_st_X509 *’ ossl_ssl.c:1202: warning: passing argument 1 of ‘sk_value’ from incompatible pointer type /usr/include/openssl/stack.h:80: note: expected ‘const struct _STACK *’ but argument is of type ‘struct stack_st_X509 *’ ossl_ssl.c: In function ‘ossl_ssl_get_cipher’: ossl_ssl.c:1224: warning: assignment discards qualifiers from pointer target type make[1]: *** [ossl_ssl.o] Error 1 make: *** [all] Error 1 at /usr/local/rvm/log/ruby-1.8.7-p174/make.error.log when was following rvm install 1.8.7-p174 command in fedora can any one tell me why I am getting this and how can I solve it. Thanks -- Posted via http://www.ruby-forum.com/.