Created
March 1, 2020 19:52
-
-
Save khiav223577/b414a6002c96414bf840bd72a36b99d6 to your computer and use it in GitHub Desktop.
error log when trying to install ruby 1.8.7 via `rvm install 1.8.7`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2020-03-02 03:45:28] __rvm_make | |
__rvm_make () | |
{ | |
\make "$@" || return $? | |
} | |
current path: /home/khiav/.rvm/src/ruby-1.8.7-p374 | |
GEM_HOME=/home/khiav/.rvm/gems/ruby-2.5.5 | |
GEM_PATH=/home/khiav/.rvm/gems/ruby-2.5.5:/home/khiav/.rvm/gems/ruby-2.5.5@global | |
PATH=/home/khiav/.rvm/gems/ruby-2.5.5/bin:/home/khiav/.rvm/gems/ruby-2.5.5@global/bin:/home/khiav/.rvm/rubies/ruby-2.5.5/bin:/home/khiav/.rvm/bin:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/mnt/c/Program Files (x86)/Razer/ChromaBroadcast/bin:/mnt/c/Program Files/Razer/ChromaBroadcast/bin:/mnt/c/Program Files (x86)/Common Files/Oracle/Java/javapath:/mnt/c/Program Files (x86)/Razer Chroma SDK/bin:/mnt/c/Program Files/Razer Chroma SDK/bin:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/iCLS:/mnt/c/Windows/system32:/mnt/c/Windows:/mnt/c/Windows/System32/Wbem:/mnt/c/Windows/System32/WindowsPowerShell/v1.0:/mnt/c/Windows/System32/OpenSSH:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/DAL:/mnt/c/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/Intel(R) Management Engine Components/IPT:/mnt/c/Program Files/Intel/WiFi/bin:/mnt/c/Program Files/Common Files/Intel/WirelessCommon:/mnt/c/Users/Administrator/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files/NVIDIA Corporation/NVIDIA NvDLISR:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Program Files/PuTTY:/mnt/c/Program Files (x86)/NVIDIA Corporation/PhysX/Common:/mnt/c/Program Files/Git/cmd:/mnt/c/WINDOWS/system32:/mnt/c/WINDOWS:/mnt/c/WINDOWS/System32/Wbem:/mnt/c/WINDOWS/System32/WindowsPowerShell/v1.0:/mnt/c/WINDOWS/System32/OpenSSH:/mnt/c/Ruby26-x64/bin:/mnt/c/Users/b9990/AppData/Local/Microsoft/WindowsApps:/mnt/c/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit:/mnt/c/Users/b9990/AppData/Local/GitHubDesktop/bin | |
command(2): __rvm_make -j12 | |
+++ make -j12 | |
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 | |
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 ‘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(); | |
^~~~~~~~~~ | |
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 | |
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 | |
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 | |
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 re.c | |
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c regex.c | |
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c ruby.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); | |
^ | |
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 | |
gcc -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -DRUBY_EXPORT -D_GNU_SOURCE=1 -I. -I. -c struct.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 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/khiav/.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/jacobian.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal | |
cp ../.././ext/bigdecimal/lib/bigdecimal/util.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/bigdecimal' | |
compiling curses | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lncurses -ltinfo -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/curses' | |
compiling dbm | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lgdbm_compat -lgdbm -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/dbm' | |
compiling digest | |
make[1]: Entering directory '/home/khiav/.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/md5.rb ../../.ext/common | |
cp ../.././ext/digest/lib/sha1.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/digest' | |
compiling digest/bubblebabble | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/digest/bubblebabble' | |
compiling digest/md5 | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/digest/md5' | |
compiling digest/rmd160 | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/digest/rmd160' | |
compiling digest/sha1 | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lcrypto -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/digest/sha1' | |
compiling digest/sha2 | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/digest/sha2' | |
compiling dl | |
make[1]: Entering directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/dl' | |
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 callback.func | |
Generating cbtable.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 ptr.c | |
mkdir -p ../../.ext/common/dl | |
Generating call.func | |
cp dlconfig.h ../../.ext/x86_64-linux | |
cp ../.././ext/dl/dl.h ../../.ext/x86_64-linux | |
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/types.rb ../../.ext/common/dl | |
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl | |
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 | |
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 sym.c | |
gcc -shared -o ../../.ext/x86_64-linux/dl.so dl.o handle.o ptr.o sym.o -L. -L../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -ldl -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/dl' | |
compiling etc | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/etc' | |
compiling fcntl | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/fcntl' | |
compiling gdbm | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lgdbm -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/gdbm' | |
compiling iconv | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/iconv' | |
compiling io/wait | |
make[1]: Entering directory '/home/khiav/.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 | |
gcc -shared -o ../../../.ext/x86_64-linux/io/wait.so wait.o -L. -L../../.. -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/io/wait' | |
compiling nkf | |
make[1]: Entering directory '/home/khiav/.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/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -L/home/khiav/.rvm/rubies/ruby-1.8.7-p374/lib -lruby -lrt -ldl -lcrypt -lm -lc | |
make[1]: Leaving directory '/home/khiav/.rvm/src/ruby-1.8.7-p374/ext/nkf' | |
compiling openssl | |
make[1]: Entering directory '/home/khiav/.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 -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 -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 -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 -c ossl_bio.c | |
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -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 -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 -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 -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 -c ossl_engine.c | |
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c ossl_hmac.c | |
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c ossl_ns_spki.c | |
gcc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -O2 -fno-tree-dce -fno-optimize-sibling-calls -fPIC -c ossl_ocsp.c | |
In file included from ossl.h:57:0, | |
from ossl_cipher.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_bio.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_config.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_engine.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_bn.c:12: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_hmac.c:13: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_ns_spki.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_digest.c:11: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from ossl.h:57:0, | |
from ossl_ocsp.c:12: | |
/usr/include/openssl/asn1_mac.h:10:2: error: #error "This file is obsolete; please update your software." | |
#error "This file is obsolete; please update your software." | |
^~~~~ | |
In file included from openssl_missing.c:22:0: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509_vfy.h:17, | |
from openssl_missing.c:16: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.c:53:23: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX_create(void) | |
^ | |
openssl_missing.c:54:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token | |
{ | |
^ | |
openssl_missing.c: In function ‘EVP_MD_CTX_cleanup’: | |
openssl_missing.c:69:27: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_MD_CTX {aka struct evp_md_ctx_st}’ | |
memset(ctx, 0, sizeof(EVP_MD_CTX)); | |
^~~~~~~~~~ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509_vfy.h:17, | |
from openssl_missing.c:16: | |
openssl_missing.c: At top level: | |
openssl_missing.c:77:1: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
EVP_MD_CTX_destroy(EVP_MD_CTX *ctx) | |
^ | |
openssl_missing.c:86:1: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
EVP_MD_CTX_init(EVP_MD_CTX *ctx) | |
^ | |
openssl_missing.c: In function ‘HMAC_CTX_init’: | |
openssl_missing.c:96:25: error: dereferencing pointer to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’ | |
EVP_MD_CTX_init(&ctx->i_ctx); | |
^ | |
openssl_missing.c: In function ‘HMAC_CTX_cleanup’: | |
openssl_missing.c:109:27: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’ | |
memset(ctx, 0, sizeof(HMAC_CTX)); | |
^~~~~~~~ | |
Makefile:197: recipe for target 'openssl_missing.o' failed | |
make[1]: *** [openssl_missing.o] Error 1 | |
make[1]: *** Waiting for unfinished jobs.... | |
In file included from ossl.h:205:0, | |
from ossl_bn.c:12: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_bn.c:12: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_engine.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_hmac.c:13: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_engine.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_hmac.c:13: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_asn1.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_bio.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_bio.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_config.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_config.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_cipher.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_cipher.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_ns_spki.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_ns_spki.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_ocsp.c:12: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_ocsp.c:12: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:205:0, | |
from ossl_digest.c:11: | |
openssl_missing.h:79:35: error: macro "EVP_MD_CTX_create" passed 1 arguments, but takes just 0 | |
EVP_MD_CTX *EVP_MD_CTX_create(void); | |
^ | |
In file included from /usr/include/openssl/x509.h:23:0, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_digest.c:11: | |
openssl_missing.h:83:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_init(EVP_MD_CTX *ctx); | |
^ | |
openssl_missing.h:91:6: error: expected declaration specifiers or ‘...’ before ‘(’ token | |
void EVP_MD_CTX_destroy(EVP_MD_CTX *ctx); | |
^ | |
In file included from ossl.h:31:0, | |
from ossl_hmac.c:13: | |
ossl_hmac.c: In function ‘ossl_hmac_alloc’: | |
ossl_ns_spki.c: In function ‘ossl_spki_initialize’: | |
In file included from ossl.h:31:0, | |
from ossl_digest.c:11: | |
ossl_digest.c: In function ‘ossl_digest_alloc’: | |
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)))) { | |
^ | |
ossl_ocsp.c: In function ‘ossl_ocspreq_initialize’: | |
In file included from ossl.h:31:0, | |
from ossl_cipher.c:11: | |
ossl_cipher.c: In function ‘ossl_cipher_alloc’: | |
ossl_hmac.c:16:35: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’ | |
obj = Data_Make_Struct(klass, HMAC_CTX, 0, ossl_hmac_free, ctx) | |
^ | |
../../ruby.h:512:43: note: in definition of macro ‘ALLOC’ | |
#define ALLOC(type) (type*)xmalloc(sizeof(type)) | |
^~~~ | |
ossl_hmac.c:16:11: note: in expansion of macro ‘Data_Make_Struct’ | |
obj = Data_Make_Struct(klass, HMAC_CTX, 0, ossl_hmac_free, ctx) | |
^~~~~~~~~~~~~~~~ | |
ossl_hmac.c:54:5: note: in expansion of macro ‘MakeHMAC’ | |
MakeHMAC(obj, klass, ctx); | |
^~~~~~~~ | |
In file included from /usr/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_ns_spki.c:11: | |
/usr/include/openssl/x509.h:584:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ | |
DECLARE_ASN1_FUNCTIONS(NETSCAPE_SPKI) | |
^ | |
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, | |
^ | |
ossl_hmac.c:16:35: error: invalid application of ‘sizeof’ to incomplete type ‘HMAC_CTX {aka struct hmac_ctx_st}’ | |
obj = Data_Make_Struct(klass, HMAC_CTX, 0, ossl_hmac_free, ctx) | |
^ | |
../../ruby.h:431:28: note: in definition of macro ‘Data_Make_Struct’ | |
memset(sval, 0, sizeof(type)),\ | |
^~~~ | |
ossl_hmac.c:54:5: note: in expansion of macro ‘MakeHMAC’ | |
MakeHMAC(obj, klass, ctx); | |
^~~~~~~~ | |
ossl_digest.c:84:38: error: ‘EVP_MD_CTX_destroy’ undeclared (first use in this function) | |
obj = Data_Wrap_Struct(klass, 0, EVP_MD_CTX_destroy, ctx); | |
^ | |
../../ruby.h:427:74: note: in definition of macro ‘Data_Wrap_Struct’ | |
rb_data_object_alloc(klass,sval,(RUBY_DATA_FUNC)mark,(RUBY_DATA_FUNC)free) | |
^~~~ | |
ossl_digest.c:84:38: note: each undeclared identifier is reported only once for each function it appears in | |
obj = Data_Wrap_Struct(klass, 0, EVP_MD_CTX_destroy, ctx); | |
^ | |
../../ruby.h:427:74: note: in definition of macro ‘Data_Wrap_Struct’ | |
rb_data_object_alloc(klass,sval,(RUBY_DATA_FUNC)mark,(RUBY_DATA_FUNC)free) | |
^~~~ | |
In file included from /usr/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_ocsp.c:12: | |
/usr/include/openssl/ocsp.h:322:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ | |
DECLARE_ASN1_FUNCTIONS(OCSP_REQUEST) | |
^ | |
ossl_cipher.c:14:35: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’ | |
obj = Data_Make_Struct(klass, EVP_CIPHER_CTX, 0, ossl_cipher_free, ctx) | |
^ | |
../../ruby.h:512:43: note: in definition of macro ‘ALLOC’ | |
#define ALLOC(type) (type*)xmalloc(sizeof(type)) | |
^~~~ | |
ossl_cipher.c:14:11: note: in expansion of macro ‘Data_Make_Struct’ | |
obj = Data_Make_Struct(klass, EVP_CIPHER_CTX, 0, ossl_cipher_free, ctx) | |
^~~~~~~~~~~~~~~~ | |
ossl_cipher.c:80:5: note: in expansion of macro ‘MakeCipher’ | |
MakeCipher(obj, klass, ctx); | |
^~~~~~~~~~ | |
ossl_cipher.c:14:35: error: invalid application of ‘sizeof’ to incomplete type ‘EVP_CIPHER_CTX {aka struct evp_cipher_ctx_st}’ | |
obj = Data_Make_Struct(klass, EVP_CIPHER_CTX, 0, ossl_cipher_free, ctx) | |
^ | |
../../ruby.h:431:28: note: in definition of macro ‘Data_Make_Struct’ | |
memset(sval, 0, sizeof(type)),\ | |
^~~~ | |
ossl_cipher.c:80:5: note: in expansion of macro ‘MakeCipher’ | |
MakeCipher(obj, klass, ctx); | |
^~~~~~~~~~ | |
ossl_hmac.c: In function ‘ossl_hmac_initialize’: | |
ossl_hmac.c:73:5: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations] | |
HMAC_Init_ex(ctx, RSTRING_PTR(key), RSTRING_LEN(key), | |
^~~~~~~~~~~~ | |
In file included from /usr/include/openssl/e_os2.h:13:0, | |
from /usr/include/openssl/err.h:13, | |
from ossl.h:56, | |
from ossl_hmac.c:13: | |
/usr/include/openssl/hmac.h:28:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, | |
^ | |
ossl.c: In function ‘ossl_verify_cb’: | |
ossl_hmac.c: In function ‘hmac_final’: | |
ossl_hmac.c:114:14: error: storage size of ‘final’ isn’t known | |
HMAC_CTX final; | |
^~~~~ | |
ossl.c:209:42: error: dereferencing pointer to incomplete type ‘X509_STORE_CTX {aka struct x509_store_ctx_st}’ | |
proc = (VALUE)X509_STORE_get_ex_data(ctx->ctx, ossl_verify_cb_idx); | |
^~ | |
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_asn1.c: In function ‘decode_bool’: | |
ossl_asn1.c:317:15: warning: implicit declaration of function ‘d2i_ASN1_BOOLEAN’ [-Wimplicit-function-declaration] | |
if((val = d2i_ASN1_BOOLEAN(NULL, &p, length)) < 0) | |
^~~~~~~~~~~~~~~~ | |
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))) | |
^ | |
ossl_hmac.c: In function ‘ossl_hmac_reset’: | |
ossl_hmac.c:182:5: warning: ‘HMAC_Init’ is deprecated [-Wdeprecated-declarations] | |
HMAC_Init_ex(ctx, NULL, 0, NULL, NULL); | |
^~~~~~~~~~~~ | |
In file included from /usr/include/openssl/e_os2.h:13:0, | |
from /usr/include/openssl/err.h:13, | |
from ossl.h:56, | |
from ossl_hmac.c:13: | |
/usr/include/openssl/hmac.h:28:1: note: declared here | |
DEPRECATEDIN_1_1_0(__owur int HMAC_Init(HMAC_CTX *ctx, const void *key, int len, | |
^ | |
In file included from /usr/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1.h:569:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ | |
DECLARE_ASN1_FUNCTIONS(ASN1_INTEGER) | |
^ | |
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_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/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1.h:575: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/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1.h:604: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/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1.h:530: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_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/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_ocsp.c:12: | |
/usr/include/openssl/ocsp.h:318:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ | |
DECLARE_ASN1_FUNCTIONS(OCSP_RESPONSE) | |
^ | |
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/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1.h:620:1: note: expected ‘const unsigned char **’ but argument is of type ‘unsigned char **’ | |
DECLARE_ASN1_FUNCTIONS(ASN1_TIME) | |
^ | |
ossl_ocsp.c: In function ‘ossl_ocspbres_add_status’: | |
ossl_ocsp.c:491:35: error: dereferencing pointer to incomplete type ‘OCSP_SINGLERESP {aka struct ocsp_single_response_st}’ | |
sk_X509_EXTENSION_pop_free(single->singleExtensions, X509_EXTENSION_free); | |
^~ | |
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/include/openssl/objects.h:916:0, | |
from /usr/include/openssl/evp.h:27, | |
from /usr/include/openssl/x509.h:23, | |
from /usr/include/openssl/x509v3.h:14, | |
from ossl.h:58, | |
from ossl_asn1.c:11: | |
/usr/include/openssl/asn1.h:671: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, | |
^~~~~~~~~~~~~~~ | |
ossl_ocsp.c: In function ‘ossl_ocspcid_get_serial’: | |
ossl_ocsp.c:676:33: error: dereferencing pointer to incomplete type ‘OCSP_CERTID {aka struct ocsp_cert_id_st}’ | |
return asn1integer_to_num(id->serialNumber); | |
^~ | |
ossl_bn.c: In function ‘ossl_bn_s_generate_prime’: | |
ossl_bn.c:589:5: warning: ‘BN_generate_prime’ is deprecated [-Wdeprecated-declarations] | |
if (!BN_generate_prime(result, num, safe, add, rem, NULL, NULL)) { | |
^~ | |
In file included from /usr/include/openssl/e_os2.h:13:0, | |
from /usr/include/openssl/err.h:13, | |
from ossl.h:56, | |
from ossl_bn.c:12: | |
/usr/include/openssl/bn.h:336:1: note: declared here | |
DEPRECATEDIN_0_9_8(BIGNUM *BN_generate_prime(BIGNUM *ret, int bits, int safe, | |
^ | |
Makefile:197: recipe for target 'ossl_config.o' failed | |
make[1]: *** [ossl_config.o] Error 1 | |
ossl_bn.c: In function ‘ossl_bn_is_prime’: | |
ossl_bn.c:676:5: warning: ‘BN_is_prime’ is deprecated [-Wdeprecated-declarations] | |
switch (BN_is_prime(bn, checks, NULL, ossl_bn_ctx, NULL)) { | |
^~~~~~ | |
In file included from /usr/include/openssl/e_os2.h:13:0, | |
from /usr/include/openssl/err.h:13, | |
from ossl.h:56, | |
from ossl_bn.c:12: | |
/usr/include/openssl/bn.h:342:1: note: declared here | |
DEPRECATEDIN_0_9_8(int | |
^ | |
ossl_bn.c: In function ‘ossl_bn_is_prime_fasttest’: | |
ossl_bn.c:715:5: warning: ‘BN_is_prime_fasttest’ is deprecated [-Wdeprecated-declarations] | |
switch (BN_is_prime_fasttest(bn, checks, NULL, ossl_bn_ctx, NULL, do_trial_division)) { | |
^~~~~~ | |
In file included from /usr/include/openssl/e_os2.h:13:0, | |
from /usr/include/openssl/err.h:13, | |
from ossl.h:56, | |
from ossl_bn.c:12: | |
/usr/include/openssl/bn.h:346:1: note: declared here | |
DEPRECATEDIN_0_9_8(int | |
^ | |
Makefile:197: recipe for target 'ossl_engine.o' failed | |
make[1]: *** [ossl_engine.o] Error 1 | |
Makefile:197: recipe for target 'ossl_ns_spki.o' failed | |
make[1]: *** [ossl_ns_spki.o] Error 1 | |
Makefile:197: recipe for target 'ossl.o' failed | |
make[1]: *** [ossl.o] Error 1 | |
Makefile:197: recipe for target 'ossl_bio.o' failed | |
make[1]: *** [ossl_bio.o] Error 1 | |
Makefile:197: recipe for target 'ossl_cipher.o' failed | |
make[1]: *** [ossl_cipher.o] Error 1 | |
Makefile:197: recipe for target 'ossl_hmac.o' failed | |
make[1]: *** [ossl_hmac.o] Error 1 | |
Makefile:197: recipe for target 'ossl_digest.o' failed | |
make[1]: *** [ossl_digest.o] Error 1 | |
Makefile:197: recipe for target 'ossl_ocsp.o' failed | |
make[1]: *** [ossl_ocsp.o] Error 1 | |
Makefile:197: recipe for target 'ossl_asn1.o' failed | |
make[1]: *** [ossl_asn1.o] Error 1 | |
Makefile:197: recipe for target 'ossl_bn.o' failed | |
make[1]: *** [ossl_bn.o] Error 1 | |
make[1]: Leaving directory '/home/khiav/.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
Fixed by using this command:
rvm pkg install openssl rvm install 1.8.7 --with-openssl-dir=$HOME/.rvm/usr
reference: http://stdout.in/en/post/fix-issues-with-ruby-installation-via-rvm-in-ubuntu-1510