Skip to content

Instantly share code, notes, and snippets.

@didicodethat
Last active June 24, 2020 19:11
Show Gist options
  • Save didicodethat/1cfe7bc3b4b2c9c25688a31a83ee4fcf to your computer and use it in GitHub Desktop.
Save didicodethat/1cfe7bc3b4b2c9c25688a31a83ee4fcf to your computer and use it in GitHub Desktop.
current directory: /home/computador/.rvm/gems/ruby-2.4.0/gems/puma-3.4.0/ext/puma_http11
/home/computador/.rvm/rubies/ruby-2.4.0/bin/ruby -I /home/computador/.rvm/rubies/ruby-2.4.0/lib/ruby/site_ruby/2.4.0 -r ./siteconf20200624-27830-bam6wn.rb extconf.rb --with-cppflags\=-I/home/computador/.rvm/src/openssl-1.0.1i --with-ldflags\=-L/home/computador/.rvm/src/openssl-1.0.1i
checking for BIO_read() in -lcrypto... yes
checking for SSL_CTX_new() in -lssl... yes
checking for openssl/bio.h... yes
creating Makefile
current directory: /home/computador/.rvm/gems/ruby-2.4.0/gems/puma-3.4.0/ext/puma_http11
make "DESTDIR=" clean
current directory: /home/computador/.rvm/gems/ruby-2.4.0/gems/puma-3.4.0/ext/puma_http11
make "DESTDIR="
compiling http11_parser.c
In file included from ext/http11/http11_parser.rl:7:0:
ext/http11/http11_parser.rl: In function ‘puma_parser_execute’:
ext/http11/http11_parser.rl:111:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ext/http11/http11_parser.rl: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
compiling io_buffer.c
compiling mini_ssl.c
mini_ssl.c: In function ‘get_dh1024’:
mini_ssl.c:90:5: error: dereferencing pointer to incomplete type ‘DH {aka struct dh_st}’
dh->p = BN_bin2bn(dh1024_p, sizeof(dh1024_p), NULL);
^~
mini_ssl.c: In function ‘engine_init_server’:
mini_ssl.c:161:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
DH *dh = get_dh1024();
^~
mini_ssl.c:165:3: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
EC_KEY *ecdh = EC_KEY_new_by_curve_name(NID_secp521r1);
^~~~~~
mini_ssl.c: In function ‘engine_init_client’:
mini_ssl.c:192:3: warning: ‘DTLSv1_method’ is deprecated [-Wdeprecated-declarations]
conn->ctx = SSL_CTX_new(DTLSv1_method());
^~~~
In file included from /usr/include/openssl/e_os2.h:13:0,
from /usr/include/openssl/bio.h:13,
from mini_ssl.c:14:
/usr/include/openssl/ssl.h:1895:1: note: declared here
DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *DTLSv1_method(void)) /* DTLSv1.0 */
^
mini_ssl.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
Makefile:241: recipe for target 'mini_ssl.o' failed
make: *** [mini_ssl.o] Error 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment