Skip to content

Instantly share code, notes, and snippets.

@istiaqiut
Created March 15, 2018 12:06
Show Gist options
  • Save istiaqiut/2d87c2623b78c22459fce59c203d5ec0 to your computer and use it in GitHub Desktop.
Save istiaqiut/2d87c2623b78c22459fce59c203d5ec0 to your computer and use it in GitHub Desktop.
[2018-03-15 17:26:10] __rvm_make
__rvm_make ()
{
\make "$@" || return $?
}
current path: /home/istiaq/.rvm/src/ruby-1.8.7-p374
GEM_HOME=/home/istiaq/.rvm/gems/ruby-2.3.6
PATH=/home/istiaq/.rvm/usr/bin:/home/istiaq/.rvm/gems/ruby-2.3.6/bin:/home/istiaq/.rvm/gems/ruby-2.3.6@global/bin:/home/istiaq/.rvm/rubies/ruby-2.3.6/bin:/home/istiaq/.rvm/bin:/home/istiaq/.rbenv/shims:/home/istiaq/.rbenv/bin:/home/istiaq/bin:/home/istiaq/.local/bin:~/.composer/vendor/bin:/home/istiaq/.rbenv/plugins/ruby-build/bin:/home/istiaq/.rbenv/shims:/home/istiaq/.rbenv/bin:/home/istiaq/.rbenv/plugins/ruby-build/bin:/home/istiaq/.rbenv/shims:/home/istiaq/.rbenv/bin:/home/istiaq/bin:/home/istiaq/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
GEM_PATH=/home/istiaq/.rvm/gems/ruby-2.3.6:/home/istiaq/.rvm/gems/ruby-2.3.6@global
command(2): __rvm_make -j4
++ make -j4
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c array.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c bignum.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c class.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c compar.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dir.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dln.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enum.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c enumerator.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c error.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c eval.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c file.c
eval.c: In function ‘rb_eval_string_wrap’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:1754:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘rb_eval_cmd’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:1895:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘call_trace_func’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:2746:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘rb_raise_jump’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:4780:2: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME(); /* fake frame */
^
eval.c: In function ‘method_missing’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:5746:2: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘rb_call0’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:5904:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘rb_f_eval’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:6706:2: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘exec_under’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:6730:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘rb_load’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:7046:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c gc.c
eval.c: In function ‘load_lock’:
eval.c:7288:2: warning: implicit declaration of function ‘rb_thread_join’ [-Wimplicit-function-declaration]
rb_thread_join(owner->thread, -1.0);
^
eval.c: In function ‘call_end_proc’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:8081:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘rb_f_END’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:8094:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
eval.c: In function ‘mproc’:
eval.c:792:16: warning: assignment discards ‘volatile’ qualifier from pointer target type [-Wdiscarded-qualifiers]
ruby_frame = &_frame
^
eval.c:9870:5: note: in expansion of macro ‘PUSH_FRAME’
PUSH_FRAME();
^
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c hash.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c inits.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c io.c
io.c: In function ‘appendline’:
io.c:1574:6: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
fread(RSTRING(str)->ptr + last, 1, pending, f); /* must not fail */
^
io.c: In function ‘next_argv’:
io.c:4616:4: warning: ignoring return value of ‘fchown’, declared with attribute warn_unused_result [-Wunused-result]
fchown(fileno(fw), st.st_uid, st.st_gid);
^
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c marshal.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c math.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c numeric.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c object.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c pack.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c parse.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c process.c
In file included from parse.y:3428:0:
lex.c:125:26: warning: ‘hash’ is static but used in inline function ‘rb_reserved_word’ which is not static
register int key = hash (str, len);
^
lex.c:76:25: warning: ‘wordlist’ is static but declared in inline function ‘rb_reserved_word’ which is not static
static struct kwtable wordlist[] =
^
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c prec.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c random.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c range.c
random.c: In function ‘make_seed_value’:
random.c:306:12: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
digits = ALLOC_N(char, DEFAULT_SEED_LEN);
^
random.c: In function ‘fill_random_seed’:
random.c:284:13: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(fd, seed, DEFAULT_SEED_LEN);
^
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c re.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c regex.c
regex.c: In function ‘ruby_re_compile_pattern’:
regex.c:1368:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=]
"invalid regular expression; there's no previous pattern, to which '%c' would define cardinality at %d",
^
regex.c:1368:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long int’ [-Wformat=]
regex.c:2032:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
"invalid regular expression; there's no previous pattern, to which '{' would define cardinality at %d",
^
regex.c:2032:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c ruby.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c signal.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c sprintf.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c st.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c string.c
string.c: In function ‘get_arg_pat’:
string.c:1988:1: warning: type of ‘quote’ defaults to ‘int’ [-Wimplicit-int]
get_arg_pat(pat, quote)
^
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c struct.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c time.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c util.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c variable.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c version.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c dmyext.c
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c main.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o
ar: `u' modifier ignored since `D' is the default (see `U')
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -L. -rdynamic -Wl,-export-dynamic main.o libruby-static.a -lrt -ldl -lcrypt -lm -o miniruby
gcc -shared -Wl,-soname,libruby.so.1.8 array.o bignum.o class.o compar.o dir.o dln.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -lrt -ldl -lcrypt -lm -o libruby.so.1.8.7
rbconfig.rb updated
compiling Win32API
compiling bigdecimal
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/bigdecimal'
mkdir -p ../../.ext/x86_64-linux
gcc -I. -I../.. -I../../. -I../.././ext/bigdecimal -DBASE=1000000000UL -DBASE_FIG=9 -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c bigdecimal.c
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
gcc -shared -o ../../.ext/x86_64-linux/bigdecimal.so bigdecimal.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/bigdecimal'
compiling curses
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/curses'
gcc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_NCURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_RESIZETERM -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WRESIZE -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET -D_XOPEN_SOURCE_EXTENDED -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c curses.c
gcc -shared -o ../../.ext/x86_64-linux/curses.so curses.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lncurses -ltinfo -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/curses'
compiling dbm
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/dbm'
gcc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_TYPE_DBM -DDBM_HDR="<gdbm-ndbm.h>" -DHAVE_SYS_CDEFS_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c dbm.c
gcc -shared -o ../../.ext/x86_64-linux/dbm.so dbm.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lgdbm_compat -lgdbm -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/dbm'
compiling digest
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest'
gcc -I. -I../.. -I../../. -I../.././ext/digest -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c digest.c
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/x86_64-linux
digest.c: In function ‘rb_digest_instance_inspect’:
digest.c:280:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
cname = rb_obj_classname(self);
^
gcc -shared -o ../../.ext/x86_64-linux/digest.so digest.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest'
compiling digest/bubblebabble
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/bubblebabble'
mkdir -p ../../../.ext/x86_64-linux/digest
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c bubblebabble.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/bubblebabble.so bubblebabble.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/bubblebabble'
compiling digest/md5
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/md5'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c md5init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c md5ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/md5.so md5init.o md5ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/md5'
compiling digest/rmd160
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/rmd160'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c rmd160init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c rmd160ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/rmd160.so rmd160init.o rmd160ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/rmd160'
compiling digest/sha1
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/sha1'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c sha1init.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c sha1ossl.c
gcc -shared -o ../../../.ext/x86_64-linux/digest/sha1.so sha1init.o sha1ossl.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/sha1'
compiling digest/sha2
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/sha2'
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c sha2.c
gcc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_SYS_CDEFS_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c sha2init.c
mkdir -p ../../../.ext/common/digest
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest
gcc -shared -o ../../../.ext/x86_64-linux/digest/sha2.so sha2.o sha2init.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/digest/sha2'
compiling dl
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/dl'
Generating callback.func
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -fno-defer-pop -fno-omit-frame-pointer -c handle.c
Generating cbtable.func
Generating call.func
void
char
short
int
long
float
double
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -fno-defer-pop -fno-omit-frame-pointer -c ptr.c
mkdir -p ../../.ext/common/dl
cp dlconfig.h ../../.ext/x86_64-linux
cp ../.././ext/dl/dl.h ../../.ext/x86_64-linux
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -fno-defer-pop -fno-omit-frame-pointer -c dl.c
gcc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR -I. -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -fno-defer-pop -fno-omit-frame-pointer -c sym.c
ptr.c: In function ‘rb_dlptr_inspect’:
ptr.c:461:23: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘struct ptr_data *’ [-Wformat=]
snprintf(str, 1023, "#<%s:0x%lx ptr=0x%lx size=%ld free=0x%lx>",
^
ptr.c:461:23: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘void *’ [-Wformat=]
ptr.c:461:23: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘struct ptr_data *’ [-Wformat=]
ptr.c:461:23: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 6 has type ‘void *’ [-Wformat=]
sym.c: In function ‘rb_dlsym_inspect’:
sym.c:271:11: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘struct sym_data *’ [-Wformat=]
"#<DL::Symbol:0x%lx func=0x%lx '%s'>",
^
sym.c:271:11: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘void *’ [-Wformat=]
sym.c:271:11: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘struct sym_data *’ [-Wformat=]
sym.c:271:11: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 5 has type ‘void *’ [-Wformat=]
cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl
gcc -shared -o ../../.ext/x86_64-linux/dl.so dl.o handle.o sym.o ptr.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -ldl -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/dl'
compiling etc
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/etc'
gcc -I. -I../.. -I../../. -I../.././ext/etc -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DHAVE_ST_PW_GECOS -DHAVE_ST_PW_PASSWD -DHAVE_ST_GR_PASSWD -DHAVE_TYPE_UID_T -DPW_UID2VAL=UINT2NUM -DPW_VAL2UID=NUM2UINT -DHAVE_TYPE_GID_T -DPW_GID2VAL=UINT2NUM -DPW_VAL2GID=NUM2UINT -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c etc.c
gcc -shared -o ../../.ext/x86_64-linux/etc.so etc.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/etc'
compiling fcntl
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/fcntl'
gcc -I. -I../.. -I../../. -I../.././ext/fcntl -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c fcntl.c
gcc -shared -o ../../.ext/x86_64-linux/fcntl.so fcntl.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/fcntl'
compiling gdbm
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/gdbm'
gcc -I. -I../.. -I../../. -I../.././ext/gdbm -DHAVE_GDBM_H -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c gdbm.c
gcc -shared -o ../../.ext/x86_64-linux/gdbm.so gdbm.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lgdbm -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/gdbm'
compiling iconv
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/iconv'
gcc -I. -I../.. -I../../. -I../.././ext/iconv -DHAVE_ICONV -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c iconv.c
gcc -shared -o ../../.ext/x86_64-linux/iconv.so iconv.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/iconv'
compiling io/wait
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/io/wait'
mkdir -p ../../../.ext/x86_64-linux/io
gcc -I. -I../../.. -I../../../. -I../../.././ext/io/wait -DFIONREAD_HEADER="<sys/ioctl.h>" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c wait.c
mkdir -p ../../../.ext/common/io
cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io
wait.c: In function ‘io_wait’:
wait.c:115:30: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result [-Wunused-result]
if (!FIONREAD_POSSIBLE_P(fileno(fptr->f))) return Qfalse;
^
wait.c:34:35: note: in definition of macro ‘FIONREAD_POSSIBLE_P’
#define FIONREAD_POSSIBLE_P(fd) ((fd),Qtrue)
^
wait.c: In function ‘io_ready_p’:
wait.c:65:30: warning: ignoring return value of ‘fileno’, declared with attribute warn_unused_result [-Wunused-result]
if (!FIONREAD_POSSIBLE_P(fileno(fptr->f))) return Qfalse;
^
wait.c:34:35: note: in definition of macro ‘FIONREAD_POSSIBLE_P’
#define FIONREAD_POSSIBLE_P(fd) ((fd),Qtrue)
^
gcc -shared -o ../../../.ext/x86_64-linux/io/wait.so wait.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/io/wait'
compiling nkf
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/nkf'
gcc -I. -I../.. -I../../. -I../.././ext/nkf -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c nkf.c
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
gcc -shared -o ../../.ext/x86_64-linux/nkf.so nkf.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/nkf'
compiling openssl
make[1]: Entering directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/openssl'
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509cert.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509req.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkey_dh.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_ssl_session.c
ossl_x509cert.c: In function ‘ossl_x509_inspect’:
ossl_x509cert.c:693:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
char *cname = rb_class2name(rb_obj_class(self));
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_bn.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkcs7.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509store.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509.c
In file included from ossl.h:205:0,
from ossl_pkcs7.c:11:
ossl_pkcs7.c: In function ‘ossl_pkcs7si_new’:
openssl_missing.h:58:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_PKCS7_SIGNER_INFO, (char *)si)
^
ossl_pkcs7.c:89:20: note: in expansion of macro ‘PKCS7_SIGNER_INFO_dup’
pkcs7 = p7si ? PKCS7_SIGNER_INFO_dup(p7si) : PKCS7_SIGNER_INFO_new();
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_pkcs7.c:11:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
In file included from ossl.h:205:0,
from ossl_pkcs7.c:11:
ossl_pkcs7.c: In function ‘DupPKCS7SignerPtr’:
openssl_missing.h:58:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_PKCS7_SIGNER_INFO, (char *)si)
^
ossl_pkcs7.c:102:19: note: in expansion of macro ‘PKCS7_SIGNER_INFO_dup’
if (!(pkcs7 = PKCS7_SIGNER_INFO_dup(p7si))) {
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_pkcs7.c:11:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
In file included from ossl.h:205:0,
from ossl_pkcs7.c:11:
ossl_pkcs7.c: In function ‘ossl_pkcs7ri_new’:
openssl_missing.h:63:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_PKCS7_RECIP_INFO, (char *)ri)
^
ossl_pkcs7.c:115:20: note: in expansion of macro ‘PKCS7_RECIP_INFO_dup’
pkcs7 = p7ri ? PKCS7_RECIP_INFO_dup(p7ri) : PKCS7_RECIP_INFO_new();
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_pkcs7.c:11:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
In file included from ossl.h:205:0,
from ossl_pkcs7.c:11:
ossl_pkcs7.c: In function ‘DupPKCS7RecipientPtr’:
openssl_missing.h:63:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_PKCS7_RECIP_INFO, (char *)ri)
^
ossl_pkcs7.c:128:19: note: in expansion of macro ‘PKCS7_RECIP_INFO_dup’
if (!(pkcs7 = PKCS7_RECIP_INFO_dup(p7ri))) {
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_pkcs7.c:11:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_ocsp.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509crl.c
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’:
ossl_ocsp.c:113:56: warning: passing argument 2 of ‘d2i_OCSP_REQUEST’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!d2i_OCSP_REQUEST((OCSP_REQUEST**)&DATA_PTR(self), &p,
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_ocsp.c:12:
/usr/local/include/openssl/ocsp.h:556:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(OCSP_REQUEST)
^
ossl_ocsp.c: In function ‘ossl_ocspres_initialize’:
ossl_ocsp.c:320:58: warning: passing argument 2 of ‘d2i_OCSP_RESPONSE’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!d2i_OCSP_RESPONSE((OCSP_RESPONSE**)&DATA_PTR(self), &p,
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_ocsp.c:12:
/usr/local/include/openssl/ocsp.h:552:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(OCSP_RESPONSE)
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkey_dsa.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_ssl.c
In file included from ossl.h:205:0,
from ossl_pkey_dsa.c:13:
ossl_pkey_dsa.c: In function ‘ossl_dsa_initialize’:
openssl_missing.h:31:9: warning: passing argument 1 of ‘PEM_ASN1_read_bio’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_DSAPublicKey,PEM_STRING_DSA_PUBLIC,bp,(char **)x,cb,u)
^
ossl_pkey_dsa.c:165:12: note: in expansion of macro ‘PEM_read_bio_DSAPublicKey’
dsa = PEM_read_bio_DSAPublicKey(in, NULL, NULL, NULL);
^
In file included from /usr/local/include/openssl/ssl.h:162:0,
from ossl.h:59,
from ossl_pkey_dsa.c:13:
/usr/local/include/openssl/pem.h:407:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,
^
In file included from ossl.h:205:0,
from ossl_pkey_dsa.c:13:
openssl_missing.h:31:64: warning: passing argument 4 of ‘PEM_ASN1_read_bio’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_DSAPublicKey,PEM_STRING_DSA_PUBLIC,bp,(char **)x,cb,u)
^
ossl_pkey_dsa.c:165:12: note: in expansion of macro ‘PEM_read_bio_DSAPublicKey’
dsa = PEM_read_bio_DSAPublicKey(in, NULL, NULL, NULL);
^
In file included from /usr/local/include/openssl/ssl.h:162:0,
from ossl.h:59,
from ossl_pkey_dsa.c:13:
/usr/local/include/openssl/pem.h:407:7: note: expected ‘void **’ but argument is of type ‘char **’
void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x,
^
In file included from ossl.h:205:0,
from ossl_pkey_dsa.c:13:
ossl_pkey_dsa.c: In function ‘ossl_dsa_to_public_key’:
openssl_missing.h:48:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_DSAPublicKey,(char *)dsa)
^
ossl_pkey_dsa.c:370:11: note: in expansion of macro ‘DSAPublicKey_dup’
dsa = DSAPublicKey_dup(pkey->pkey.dsa);
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_pkey_dsa.c:13:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
ossl_ssl.c:101:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(TLSv1),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:101:27: note: (near initialization for ‘ossl_ssl_method_tab[0].func’)
OSSL_SSL_METHOD_ENTRY(TLSv1),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:102:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(TLSv1_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:102:27: note: (near initialization for ‘ossl_ssl_method_tab[1].func’)
OSSL_SSL_METHOD_ENTRY(TLSv1_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:103:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(TLSv1_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:103:27: note: (near initialization for ‘ossl_ssl_method_tab[2].func’)
OSSL_SSL_METHOD_ENTRY(TLSv1_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:108:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv2),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:108:27: note: (near initialization for ‘ossl_ssl_method_tab[3].func’)
OSSL_SSL_METHOD_ENTRY(SSLv2),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:109:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv2_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:109:27: note: (near initialization for ‘ossl_ssl_method_tab[4].func’)
OSSL_SSL_METHOD_ENTRY(SSLv2_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:110:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv2_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:110:27: note: (near initialization for ‘ossl_ssl_method_tab[5].func’)
OSSL_SSL_METHOD_ENTRY(SSLv2_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:113:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv3),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:113:27: note: (near initialization for ‘ossl_ssl_method_tab[6].func’)
OSSL_SSL_METHOD_ENTRY(SSLv3),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:114:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv3_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:114:27: note: (near initialization for ‘ossl_ssl_method_tab[7].func’)
OSSL_SSL_METHOD_ENTRY(SSLv3_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:115:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv3_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:115:27: note: (near initialization for ‘ossl_ssl_method_tab[8].func’)
OSSL_SSL_METHOD_ENTRY(SSLv3_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:116:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv23),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:116:27: note: (near initialization for ‘ossl_ssl_method_tab[9].func’)
OSSL_SSL_METHOD_ENTRY(SSLv23),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:117:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv23_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:117:27: note: (near initialization for ‘ossl_ssl_method_tab[10].func’)
OSSL_SSL_METHOD_ENTRY(SSLv23_server),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:118:27: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
OSSL_SSL_METHOD_ENTRY(SSLv23_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c:118:27: note: (near initialization for ‘ossl_ssl_method_tab[11].func’)
OSSL_SSL_METHOD_ENTRY(SSLv23_client),
^
ossl_ssl.c:100:46: note: in definition of macro ‘OSSL_SSL_METHOD_ENTRY’
#define OSSL_SSL_METHOD_ENTRY(name) { #name, name##_method }
^
ossl_ssl.c: In function ‘ossl_ssl_get_cipher’:
ossl_ssl.c:1233:12: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
cipher = SSL_get_current_cipher(ssl);
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_digest.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_asn1.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509revoked.c
ossl_asn1.c: In function ‘decode_bool’:
ossl_asn1.c:317:38: warning: passing argument 2 of ‘d2i_ASN1_BOOLEAN’ from incompatible pointer type [-Wincompatible-pointer-types]
if((val = d2i_ASN1_BOOLEAN(NULL, &p, length)) < 0)
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:833:5: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
int d2i_ASN1_BOOLEAN(int *a, const unsigned char **pp, long length);
^
ossl_asn1.c: In function ‘decode_int’:
ossl_asn1.c:332:38: warning: passing argument 2 of ‘d2i_ASN1_INTEGER’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!(ai = d2i_ASN1_INTEGER(NULL, &p, length)))
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:835:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER)
^
ossl_asn1.c: In function ‘decode_enum’:
ossl_asn1.c:372:41: warning: passing argument 2 of ‘d2i_ASN1_ENUMERATED’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!(ai = d2i_ASN1_ENUMERATED(NULL, &p, length)))
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:844:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(ASN1_ENUMERATED)
^
ossl_asn1.c: In function ‘decode_null’:
ossl_asn1.c:389:37: warning: passing argument 2 of ‘d2i_ASN1_NULL’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!(null = d2i_ASN1_NULL(NULL, &p, length)))
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:876:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(ASN1_NULL)
^
ossl_asn1.c: In function ‘decode_obj’:
ossl_asn1.c:406:38: warning: passing argument 2 of ‘d2i_ASN1_OBJECT’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!(obj = d2i_ASN1_OBJECT(NULL, &p, length)))
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:788:14: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
ASN1_OBJECT *d2i_ASN1_OBJECT(ASN1_OBJECT **a, const unsigned char **pp,
^
ossl_asn1.c: In function ‘decode_time’:
ossl_asn1.c:434:37: warning: passing argument 2 of ‘d2i_ASN1_TIME’ from incompatible pointer type [-Wincompatible-pointer-types]
if(!(time = d2i_ASN1_TIME(NULL, &p, length)))
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:892:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(ASN1_TIME)
^
ossl_asn1.c: In function ‘ossl_asn1_decode0’:
ossl_asn1.c:726:22: warning: passing argument 1 of ‘ASN1_get_object’ from incompatible pointer type [-Wincompatible-pointer-types]
j = ASN1_get_object(&p, &len, &tag, &tc, length);
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_asn1.c:11:
/usr/local/include/openssl/asn1.h:954:5: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
int ASN1_get_object(const unsigned char **pp, long *plength, int *ptag,
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkcs12.c
In file included from ossl.h:205:0,
from ossl_x509revoked.c:11:
ossl_x509revoked.c: In function ‘ossl_x509revoked_new’:
openssl_missing.h:53:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_X509_REVOKED, (char *)rev)
^
ossl_x509revoked.c:48:8: note: in expansion of macro ‘X509_REVOKED_dup’
new = X509_REVOKED_dup(rev);
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_x509revoked.c:11:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
In file included from ossl.h:205:0,
from ossl_x509revoked.c:11:
ossl_x509revoked.c: In function ‘DupX509RevokedPtr’:
openssl_missing.h:53:2: warning: passing argument 2 of ‘ASN1_dup’ from incompatible pointer type [-Wincompatible-pointer-types]
(char *(*)())d2i_X509_REVOKED, (char *)rev)
^
ossl_x509revoked.c:64:17: note: in expansion of macro ‘X509_REVOKED_dup’
if (!(new = X509_REVOKED_dup(rev))) {
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_x509revoked.c:11:
/usr/local/include/openssl/asn1.h:964:7: note: expected ‘void * (*)(void **, const unsigned char **, long int)’ but argument is of type ‘char * (*)()’
void *ASN1_dup(i2d_of_void *i2d, d2i_of_void *d2i, void *x);
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509name.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkcs5.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkey_ec.c
ossl_x509name.c: In function ‘ossl_x509name_initialize’:
ossl_x509name.c:143:31: warning: passing argument 2 of ‘d2i_X509_NAME’ from incompatible pointer type [-Wincompatible-pointer-types]
x = d2i_X509_NAME(&name, &p, RSTRING_LEN(str));
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_x509name.c:11:
/usr/local/include/openssl/x509.h:817:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(X509_NAME)
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_cipher.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509ext.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_engine.c
ossl_cipher.c: In function ‘ossl_cipher_init’:
ossl_cipher.c:191:17: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
char *cname = rb_class2name(rb_obj_class(self));
^
ossl_cipher.c: In function ‘ossl_cipher_update_deprecated’:
ossl_cipher.c:314:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
cname = rb_class2name(rb_obj_class(self));
^
ossl_x509ext.c: In function ‘ossl_x509ext_initialize’:
ossl_x509ext.c:286:11: warning: passing argument 2 of ‘d2i_X509_EXTENSION’ from incompatible pointer type [-Wincompatible-pointer-types]
&p, RSTRING_LEN(oid)))
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_x509ext.c:11:
/usr/local/include/openssl/x509.h:812:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(X509_EXTENSION)
^
ossl_engine.c: In function ‘ossl_engine_inspect’:
ossl_engine.c:347:19: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
char *cname = rb_class2name(rb_obj_class(self));
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_config.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_rand.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_x509attr.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_ns_spki.c
ossl_x509attr.c: In function ‘ossl_x509attr_initialize’:
ossl_x509attr.c:104:11: warning: passing argument 2 of ‘d2i_X509_ATTRIBUTE’ from incompatible pointer type [-Wincompatible-pointer-types]
&p, RSTRING_LEN(oid))){
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_x509attr.c:11:
/usr/local/include/openssl/x509.h:809:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(X509_ATTRIBUTE)
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c openssl_missing.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_hmac.c
ossl_ns_spki.c: In function ‘ossl_spki_initialize’:
ossl_ns_spki.c:67:39: warning: passing argument 2 of ‘d2i_NETSCAPE_SPKI’ from incompatible pointer type [-Wincompatible-pointer-types]
if (!(spki = d2i_NETSCAPE_SPKI(NULL, &p, RSTRING_LEN(buffer)))) {
^
In file included from /usr/local/include/openssl/asn1_mac.h:62:0,
from ossl.h:57,
from ossl_ns_spki.c:11:
/usr/local/include/openssl/x509.h:868:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’
DECLARE_ASN1_FUNCTIONS(NETSCAPE_SPKI)
^
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkey_rsa.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_pkey.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl.c
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -I/usr/local/include -c ossl_bio.c
mkdir -p ../../.ext/common/openssl
mkdir -p ../../.ext/common/net
cp ../.././ext/openssl/lib/openssl/bn.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/digest.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl-internal.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/pkcs7.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509-internal.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/buffering.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/config.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
cp ../.././ext/openssl/lib/net/ftptls.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/net/telnets.rb ../../.ext/common/net
gcc -shared -o ../../.ext/x86_64-linux/openssl.so ossl_x509cert.o ossl_x509req.o ossl_pkey_dh.o ossl_ssl_session.o ossl_bn.o ossl_pkcs7.o ossl_x509store.o ossl_x509.o ossl_ocsp.o ossl_x509crl.o ossl_pkey_dsa.o ossl_ssl.o ossl_digest.o ossl_asn1.o ossl_x509revoked.o ossl_pkcs12.o ossl_x509name.o ossl_pkcs5.o ossl_pkey_ec.o ossl_cipher.o ossl_x509ext.o ossl_engine.o ossl_config.o ossl_rand.o ossl_x509attr.o ossl_ns_spki.o openssl_missing.o ossl_hmac.o ossl_pkey_rsa.o ossl_pkey.o ossl.o ossl_bio.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -L/usr/local/lib -Wl,-R -Wl,/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/istiaq/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lssl -lcrypto -lrt -ldl -lcrypt -lm -lc
/usr/bin/ld: /usr/local/lib/libssl.a(s3_meth.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
Makefile:200: recipe for target '../../.ext/x86_64-linux/openssl.so' failed
make[1]: *** [../../.ext/x86_64-linux/openssl.so] Error 1
make[1]: Leaving directory '/home/istiaq/.rvm/src/ruby-1.8.7-p374/ext/openssl'
Makefile:293: recipe for target 'all' failed
make: *** [all] Error 1
++ return 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment