HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-2.7.4/ext/openssl/mkmf.log
=== OpenSSL for Ruby configurator ===
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC  -Werror=deprecated-declarations -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
/* end */

=== Checking for system dependent stuff... ===
have_library: checking for t_open() in -lnsl... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lnsl  -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘t_open’ undeclared (first use in this function); did you mean ‘popen’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; }
                                                         ^~~~~~
                                                         popen
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lnsl  -lm   -lc"
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void t_open();
15: int t(void) { t_open(); return 0; }
/* end */

--------------------

have_library: checking for socket() in -lsocket... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lsocket  -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘socket’ undeclared (first use in this function); did you mean ‘lockf’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))socket; return !p; }
                                                         ^~~~~~
                                                         lockf
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))socket; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lsocket  -lm   -lc"
/usr/bin/ld: cannot find -lsocket
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void socket();
15: int t(void) { socket(); return 0; }
/* end */

--------------------

=== Checking for required stuff... ===
"pkg-config --exists openssl"
| pkg-config --libs openssl
=> "-lssl -lcrypto \n"
"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl    -g -O2 -fPIC conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic     -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: int main(int argc, char **argv)
4: {
5:   return !!argv[argc];
6: }
/* end */

| pkg-config --cflags-only-I openssl
=> "\n"
| pkg-config --cflags-only-other openssl
=> "\n"
| pkg-config --libs-only-l openssl
=> "-lssl -lcrypto \n"
package configuration for openssl
incflags: 
cflags: 
ldflags: 
libs: -lssl -lcrypto

have_header: checking for openssl/ssl.h... -------------------- yes

"gcc -E -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC   conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/ssl.h>
/* end */

--------------------

checking for OpenSSL version is 1.0.1 or later... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/opensslv.h>
4: 
5: /*top*/
6: int conftest_const[(OPENSSL_VERSION_NUMBER >= 0x10001000L) ? 1 : -1];
/* end */

--------------------

=== Checking for OpenSSL features... ===
have_func: checking for RAND_egd()... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘RAND_egd’ undeclared (first use in this function); did you mean ‘RAND_MAX’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))RAND_egd; return !p; }
                                                         ^~~~~~~~
                                                         RAND_MAX
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))RAND_egd; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
/tmp/cc5uJ9Ul.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:15: undefined reference to `RAND_egd'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void RAND_egd();
15: int t(void) { RAND_egd(); return 0; }
/* end */

--------------------

have_func: checking for ENGINE_load_builtin_engines() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_builtin_engines; return !p; }
/* end */

--------------------

have_func: checking for ENGINE_load_openbsd_dev_crypto() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_openbsd_dev_crypto’ undeclared (first use in this function); did you mean ‘ENGINE_load_openssl’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_openbsd_dev_crypto; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_openssl
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_openbsd_dev_crypto; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/cc0ag5Xo.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_openbsd_dev_crypto'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_openbsd_dev_crypto();
17: int t(void) { ENGINE_load_openbsd_dev_crypto(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_openbsd_dev_crypto in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_openbsd_dev_crypto undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_openbsd_dev_crypto
6: # error
7: |:/ === ENGINE_load_openbsd_dev_crypto undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_dynamic() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_dynamic’ undeclared (first use in this function); did you mean ‘ENGINE_get_name’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_dynamic; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~
                                                         ENGINE_get_name
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_dynamic; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
In file included from /usr/include/openssl/bn.h:20,
                 from /usr/include/openssl/engine.h:18,
                 from conftest.c:3:
conftest.c:16:13: error: expected declaration specifiers or ‘...’ before numeric constant
 extern void ENGINE_load_dynamic();
             ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sched.h:29,
                 from /usr/include/pthread.h:23,
                 from /usr/include/openssl/crypto.h:420,
                 from /usr/include/openssl/bn.h:20,
                 from /usr/include/openssl/engine.h:18,
                 from conftest.c:3:
conftest.c:16:13: error: expected declaration specifiers or ‘...’ before ‘(’ token
 extern void ENGINE_load_dynamic();
             ^~~~~~~~~~~~~~~~~~~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_dynamic();
17: int t(void) { ENGINE_load_dynamic(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_dynamic in openssl/engine.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_dynamic
6: # error
7: |:/ === ENGINE_load_dynamic undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_4758cca() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_4758cca’ undeclared (first use in this function); did you mean ‘ENGINE_load_openssl’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_4758cca; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_openssl
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_4758cca; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/cc7JwEzi.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_4758cca'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_4758cca();
17: int t(void) { ENGINE_load_4758cca(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_4758cca in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_4758cca undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_4758cca
6: # error
7: |:/ === ENGINE_load_4758cca undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_aep() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_aep’ undeclared (first use in this function); did you mean ‘ENGINE_load_rdrand’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_aep; return !p; }
                                                         ^~~~~~~~~~~~~~~
                                                         ENGINE_load_rdrand
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_aep; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccI3mJhI.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_aep'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_aep();
17: int t(void) { ENGINE_load_aep(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_aep in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_aep undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_aep
6: # error
7: |:/ === ENGINE_load_aep undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_atalla() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_atalla’ undeclared (first use in this function); did you mean ‘ENGINE_load_rdrand’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_atalla; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_rdrand
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_atalla; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/cc06vSKD.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_atalla'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_atalla();
17: int t(void) { ENGINE_load_atalla(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_atalla in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_atalla undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_atalla
6: # error
7: |:/ === ENGINE_load_atalla undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_chil() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_chil’ undeclared (first use in this function); did you mean ‘ENGINE_load_openssl’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_chil; return !p; }
                                                         ^~~~~~~~~~~~~~~~
                                                         ENGINE_load_openssl
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_chil; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccivxo0k.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_chil'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_chil();
17: int t(void) { ENGINE_load_chil(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_chil in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_chil undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_chil
6: # error
7: |:/ === ENGINE_load_chil undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_cswift() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_cswift’ undeclared (first use in this function); did you mean ‘ENGINE_load_rdrand’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_cswift; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_rdrand
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_cswift; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccxHQ1n0.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_cswift'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_cswift();
17: int t(void) { ENGINE_load_cswift(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_cswift in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_cswift undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_cswift
6: # error
7: |:/ === ENGINE_load_cswift undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_nuron() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_nuron’ undeclared (first use in this function); did you mean ‘ENGINE_load_rdrand’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_nuron; return !p; }
                                                         ^~~~~~~~~~~~~~~~~
                                                         ENGINE_load_rdrand
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_nuron; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/cclEDxL9.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_nuron'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_nuron();
17: int t(void) { ENGINE_load_nuron(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_nuron in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_nuron undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_nuron
6: # error
7: |:/ === ENGINE_load_nuron undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_sureware() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_sureware’ undeclared (first use in this function); did you mean ‘ENGINE_load_rdrand’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_sureware; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_rdrand
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_sureware; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccIZsZA8.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_sureware'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_sureware();
17: int t(void) { ENGINE_load_sureware(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_sureware in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_sureware undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_sureware
6: # error
7: |:/ === ENGINE_load_sureware undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_ubsec() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_ubsec’ undeclared (first use in this function); did you mean ‘ENGINE_load_openssl’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_ubsec; return !p; }
                                                         ^~~~~~~~~~~~~~~~~
                                                         ENGINE_load_openssl
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_ubsec; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/cc08MJRU.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_ubsec'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_ubsec();
17: int t(void) { ENGINE_load_ubsec(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_ubsec in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_ubsec undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_ubsec
6: # error
7: |:/ === ENGINE_load_ubsec undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_padlock() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_padlock’ undeclared (first use in this function); did you mean ‘ENGINE_load_public_key’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_padlock; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_public_key
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_padlock; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccuebwNz.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_padlock'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_padlock();
17: int t(void) { ENGINE_load_padlock(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_padlock in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_padlock undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_padlock
6: # error
7: |:/ === ENGINE_load_padlock undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_capi() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_capi’ undeclared (first use in this function); did you mean ‘ENGINE_load_rdrand’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_capi; return !p; }
                                                         ^~~~~~~~~~~~~~~~
                                                         ENGINE_load_rdrand
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_capi; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/cck6y0Om.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_capi'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_capi();
17: int t(void) { ENGINE_load_capi(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_capi in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_capi undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_capi
6: # error
7: |:/ === ENGINE_load_capi undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_gmp() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_gmp’ undeclared (first use in this function); did you mean ‘ENGINE_ctrl_cmd’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_gmp; return !p; }
                                                         ^~~~~~~~~~~~~~~
                                                         ENGINE_ctrl_cmd
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_gmp; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccRcYuO1.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_gmp'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_gmp();
17: int t(void) { ENGINE_load_gmp(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_gmp in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_gmp undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_gmp
6: # error
7: |:/ === ENGINE_load_gmp undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_gost() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_gost’ undeclared (first use in this function); did you mean ‘ENGINE_get_digest’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_gost; return !p; }
                                                         ^~~~~~~~~~~~~~~~
                                                         ENGINE_get_digest
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_gost; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccifmn5z.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_gost'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_gost();
17: int t(void) { ENGINE_load_gost(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_gost in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_gost undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_gost
6: # error
7: |:/ === ENGINE_load_gost undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_cryptodev() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_cryptodev’ undeclared (first use in this function); did you mean ‘ENGINE_load_private_key’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_cryptodev; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~
                                                         ENGINE_load_private_key
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_cryptodev; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
In file included from /usr/include/openssl/bn.h:20,
                 from /usr/include/openssl/engine.h:18,
                 from conftest.c:3:
conftest.c:16:13: error: expected declaration specifiers or ‘...’ before numeric constant
 extern void ENGINE_load_cryptodev();
             ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/sched.h:29,
                 from /usr/include/pthread.h:23,
                 from /usr/include/openssl/crypto.h:420,
                 from /usr/include/openssl/bn.h:20,
                 from /usr/include/openssl/engine.h:18,
                 from conftest.c:3:
conftest.c:16:13: error: expected declaration specifiers or ‘...’ before ‘(’ token
 extern void ENGINE_load_cryptodev();
             ^~~~~~~~~~~~~~~~~~~~~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_cryptodev();
17: int t(void) { ENGINE_load_cryptodev(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_cryptodev in openssl/engine.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_cryptodev
6: # error
7: |:/ === ENGINE_load_cryptodev undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for ENGINE_load_aesni() in openssl/engine.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘ENGINE_load_aesni’ undeclared (first use in this function); did you mean ‘ENGINE_load_openssl’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_aesni; return !p; }
                                                         ^~~~~~~~~~~~~~~~~
                                                         ENGINE_load_openssl
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))ENGINE_load_aesni; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccUjvH5F.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `ENGINE_load_aesni'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/engine.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void ENGINE_load_aesni();
17: int t(void) { ENGINE_load_aesni(); return 0; }
/* end */

--------------------

have_macro: checking for ENGINE_load_aesni in openssl/engine.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === ENGINE_load_aesni undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/engine.h>
4: /*top*/
5: #ifndef ENGINE_load_aesni
6: # error
7: |:/ === ENGINE_load_aesni undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for EC_curve_nist2nid()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘EC_curve_nist2nid’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))EC_curve_nist2nid; return !p; }
                                                         ^~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))EC_curve_nist2nid; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void EC_curve_nist2nid();
15: int t(void) { EC_curve_nist2nid(); return 0; }
/* end */

--------------------

have_func: checking for X509_REVOKED_dup()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_REVOKED_dup’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REVOKED_dup; return !p; }
                                                         ^~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REVOKED_dup; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_REVOKED_dup();
15: int t(void) { X509_REVOKED_dup(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_CTX_get0_store()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_CTX_get0_store’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_store; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_store; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_CTX_get0_store();
15: int t(void) { X509_STORE_CTX_get0_store(); return 0; }
/* end */

--------------------

have_func: checking for SSL_CTX_set_alpn_select_cb()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘SSL_CTX_set_alpn_select_cb’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_alpn_select_cb; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_alpn_select_cb; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void SSL_CTX_set_alpn_select_cb();
15: int t(void) { SSL_CTX_set_alpn_select_cb(); return 0; }
/* end */

--------------------

have_func: checking for SSL_CTX_set1_curves_list() in openssl/ssl.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
In file included from conftest.c:3:
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘SSL_CTX_set1_groups_list’ undeclared (first use in this function); did you mean ‘SSL_CTX_set0_CA_list’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set1_curves_list; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set1_curves_list; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c:16:38: error: macro "SSL_CTX_set1_groups_list" requires 2 arguments, but only 1 given
 extern void SSL_CTX_set1_curves_list();
                                      ^
conftest.c: In function ‘t’:
conftest.c:17:40: error: macro "SSL_CTX_set1_groups_list" requires 2 arguments, but only 1 given
 int t(void) { SSL_CTX_set1_curves_list(); return 0; }
                                        ^
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void SSL_CTX_set1_curves_list();
17: int t(void) { SSL_CTX_set1_curves_list(); return 0; }
/* end */

--------------------

have_macro: checking for SSL_CTX_set1_curves_list in openssl/ssl.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/ssl.h>
4: /*top*/
5: #ifndef SSL_CTX_set1_curves_list
6: # error
7: |:/ === SSL_CTX_set1_curves_list undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for SSL_CTX_set_ecdh_auto() in openssl/ssl.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘SSL_CTX_set_ecdh_auto’ undeclared (first use in this function); did you mean ‘SSL_CTX_set_ex_data’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_ecdh_auto; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~
                                                         SSL_CTX_set_ex_data
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_ecdh_auto; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c:16:35: error: macro "SSL_CTX_set_ecdh_auto" requires 2 arguments, but only 1 given
 extern void SSL_CTX_set_ecdh_auto();
                                   ^
conftest.c: In function ‘t’:
conftest.c:17:37: error: macro "SSL_CTX_set_ecdh_auto" requires 2 arguments, but only 1 given
 int t(void) { SSL_CTX_set_ecdh_auto(); return 0; }
                                     ^
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void SSL_CTX_set_ecdh_auto();
17: int t(void) { SSL_CTX_set_ecdh_auto(); return 0; }
/* end */

--------------------

have_macro: checking for SSL_CTX_set_ecdh_auto in openssl/ssl.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/ssl.h>
4: /*top*/
5: #ifndef SSL_CTX_set_ecdh_auto
6: # error
7: |:/ === SSL_CTX_set_ecdh_auto undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for SSL_get_server_tmp_key() in openssl/ssl.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘SSL_get_server_tmp_key’ undeclared (first use in this function); did you mean ‘SSL_get_servername’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_get_server_tmp_key; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~
                                                         SSL_get_servername
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_get_server_tmp_key; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c:16:36: error: macro "SSL_get_server_tmp_key" requires 2 arguments, but only 1 given
 extern void SSL_get_server_tmp_key();
                                    ^
conftest.c: In function ‘t’:
conftest.c:17:38: error: macro "SSL_get_server_tmp_key" requires 2 arguments, but only 1 given
 int t(void) { SSL_get_server_tmp_key(); return 0; }
                                      ^
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void SSL_get_server_tmp_key();
17: int t(void) { SSL_get_server_tmp_key(); return 0; }
/* end */

--------------------

have_macro: checking for SSL_get_server_tmp_key in openssl/ssl.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/ssl.h>
4: /*top*/
5: #ifndef SSL_get_server_tmp_key
6: # error
7: |:/ === SSL_get_server_tmp_key undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for SSL_is_server()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘SSL_is_server’ undeclared (first use in this function); did you mean ‘st_is_member’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_is_server; return !p; }
                                                         ^~~~~~~~~~~~~
                                                         st_is_member
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_is_server; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void SSL_is_server();
15: int t(void) { SSL_is_server(); return 0; }
/* end */

--------------------

have_struct_member: checking for SSL.ctx in openssl/ssl.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:27: error: dereferencing pointer to incomplete type ‘SSL’ {aka ‘struct ssl_st’}
 int s = (char *)&((SSL*)0)->ctx - (char *)0;
                           ^~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: int s = (char *)&((SSL*)0)->ctx - (char *)0;
 7: int main(int argc, char **argv)
 8: {
 9:   return !!argv[argc];
10: }
/* end */

--------------------

have_func: checking for CRYPTO_lock()... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘CRYPTO_lock’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))CRYPTO_lock; return !p; }
                                                         ^~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))CRYPTO_lock; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
/tmp/ccrQsXo2.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:15: undefined reference to `CRYPTO_lock'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void CRYPTO_lock();
15: int t(void) { CRYPTO_lock(); return 0; }
/* end */

--------------------

have_func: checking for BN_GENCB_new()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘BN_GENCB_new’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))BN_GENCB_new; return !p; }
                                                         ^~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))BN_GENCB_new; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void BN_GENCB_new();
15: int t(void) { BN_GENCB_new(); return 0; }
/* end */

--------------------

have_func: checking for BN_GENCB_free()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘BN_GENCB_free’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))BN_GENCB_free; return !p; }
                                                         ^~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))BN_GENCB_free; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void BN_GENCB_free();
15: int t(void) { BN_GENCB_free(); return 0; }
/* end */

--------------------

have_func: checking for BN_GENCB_get_arg()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘BN_GENCB_get_arg’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))BN_GENCB_get_arg; return !p; }
                                                         ^~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))BN_GENCB_get_arg; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void BN_GENCB_get_arg();
15: int t(void) { BN_GENCB_get_arg(); return 0; }
/* end */

--------------------

have_func: checking for EVP_MD_CTX_new()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘EVP_MD_CTX_new’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_MD_CTX_new; return !p; }
                                                         ^~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_MD_CTX_new; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void EVP_MD_CTX_new();
15: int t(void) { EVP_MD_CTX_new(); return 0; }
/* end */

--------------------

have_func: checking for EVP_MD_CTX_free()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘EVP_MD_CTX_free’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_MD_CTX_free; return !p; }
                                                         ^~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_MD_CTX_free; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void EVP_MD_CTX_free();
15: int t(void) { EVP_MD_CTX_free(); return 0; }
/* end */

--------------------

have_func: checking for HMAC_CTX_new()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘HMAC_CTX_new’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))HMAC_CTX_new; return !p; }
                                                         ^~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))HMAC_CTX_new; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void HMAC_CTX_new();
15: int t(void) { HMAC_CTX_new(); return 0; }
/* end */

--------------------

have_func: checking for HMAC_CTX_free()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘HMAC_CTX_free’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))HMAC_CTX_free; return !p; }
                                                         ^~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))HMAC_CTX_free; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void HMAC_CTX_free();
15: int t(void) { HMAC_CTX_free(); return 0; }
/* end */

--------------------

have_func: checking for RAND_pseudo_bytes() in openssl/rand.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:1: error: ‘RAND_pseudo_bytes’ is deprecated [-Werror=deprecated-declarations]
 int t(void) { void ((*volatile p)()); p = (void ((*)()))RAND_pseudo_bytes; return !p; }
 ^~~
In file included from /usr/include/openssl/opensslconf.h:42,
                 from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/ossl_typ.h:19,
                 from /usr/include/openssl/rand.h:14,
                 from conftest.c:3:
/usr/include/openssl/rand.h:44:1: note: declared here
 DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
 ^~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/rand.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))RAND_pseudo_bytes; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c:16:13: error: conflicting types for ‘RAND_pseudo_bytes’
 extern void RAND_pseudo_bytes();
             ^~~~~~~~~~~~~~~~~
In file included from /usr/include/openssl/opensslconf.h:42,
                 from /usr/include/openssl/e_os2.h:13,
                 from /usr/include/openssl/ossl_typ.h:19,
                 from /usr/include/openssl/rand.h:14,
                 from conftest.c:3:
/usr/include/openssl/rand.h:44:1: note: previous declaration of ‘RAND_pseudo_bytes’ was here
 DEPRECATEDIN_1_1_0(int RAND_pseudo_bytes(unsigned char *buf, int num))
 ^~~~~~~~~~~~~~~~~~
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/rand.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void RAND_pseudo_bytes();
17: int t(void) { RAND_pseudo_bytes(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_get_ex_data()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_get_ex_data’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_get_ex_data; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_get_ex_data; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_get_ex_data();
15: int t(void) { X509_STORE_get_ex_data(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_set_ex_data()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_set_ex_data’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_set_ex_data; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_set_ex_data; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_set_ex_data();
15: int t(void) { X509_STORE_set_ex_data(); return 0; }
/* end */

--------------------

have_func: checking for X509_CRL_get0_signature()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_CRL_get0_signature’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_CRL_get0_signature; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_CRL_get0_signature; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_CRL_get0_signature();
15: int t(void) { X509_CRL_get0_signature(); return 0; }
/* end */

--------------------

have_func: checking for X509_REQ_get0_signature()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_REQ_get0_signature’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REQ_get0_signature; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REQ_get0_signature; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_REQ_get0_signature();
15: int t(void) { X509_REQ_get0_signature(); return 0; }
/* end */

--------------------

have_func: checking for X509_REVOKED_get0_serialNumber()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_REVOKED_get0_serialNumber’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REVOKED_get0_serialNumber; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REVOKED_get0_serialNumber; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_REVOKED_get0_serialNumber();
15: int t(void) { X509_REVOKED_get0_serialNumber(); return 0; }
/* end */

--------------------

have_func: checking for X509_REVOKED_get0_revocationDate()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_REVOKED_get0_revocationDate’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REVOKED_get0_revocationDate; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_REVOKED_get0_revocationDate; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_REVOKED_get0_revocationDate();
15: int t(void) { X509_REVOKED_get0_revocationDate(); return 0; }
/* end */

--------------------

have_func: checking for X509_get0_tbs_sigalg()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_get0_tbs_sigalg’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_get0_tbs_sigalg; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_get0_tbs_sigalg; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_get0_tbs_sigalg();
15: int t(void) { X509_get0_tbs_sigalg(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_CTX_get0_untrusted()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_CTX_get0_untrusted’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_untrusted; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_untrusted; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_CTX_get0_untrusted();
15: int t(void) { X509_STORE_CTX_get0_untrusted(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_CTX_get0_cert()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_CTX_get0_cert’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_cert; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_cert; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_CTX_get0_cert();
15: int t(void) { X509_STORE_CTX_get0_cert(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_CTX_get0_chain()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_CTX_get0_chain’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_chain; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_CTX_get0_chain; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_CTX_get0_chain();
15: int t(void) { X509_STORE_CTX_get0_chain(); return 0; }
/* end */

--------------------

have_func: checking for OCSP_SINGLERESP_get0_id()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘OCSP_SINGLERESP_get0_id’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))OCSP_SINGLERESP_get0_id; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))OCSP_SINGLERESP_get0_id; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void OCSP_SINGLERESP_get0_id();
15: int t(void) { OCSP_SINGLERESP_get0_id(); return 0; }
/* end */

--------------------

have_func: checking for SSL_CTX_get_ciphers()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘SSL_CTX_get_ciphers’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_get_ciphers; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_get_ciphers; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void SSL_CTX_get_ciphers();
15: int t(void) { SSL_CTX_get_ciphers(); return 0; }
/* end */

--------------------

have_func: checking for X509_up_ref()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_up_ref’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_up_ref; return !p; }
                                                         ^~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_up_ref; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_up_ref();
15: int t(void) { X509_up_ref(); return 0; }
/* end */

--------------------

have_func: checking for X509_CRL_up_ref()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_CRL_up_ref’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_CRL_up_ref; return !p; }
                                                         ^~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_CRL_up_ref; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_CRL_up_ref();
15: int t(void) { X509_CRL_up_ref(); return 0; }
/* end */

--------------------

have_func: checking for X509_STORE_up_ref()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_STORE_up_ref’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_up_ref; return !p; }
                                                         ^~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_STORE_up_ref; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_STORE_up_ref();
15: int t(void) { X509_STORE_up_ref(); return 0; }
/* end */

--------------------

have_func: checking for SSL_SESSION_up_ref()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘SSL_SESSION_up_ref’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_SESSION_up_ref; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_SESSION_up_ref; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void SSL_SESSION_up_ref();
15: int t(void) { SSL_SESSION_up_ref(); return 0; }
/* end */

--------------------

have_func: checking for EVP_PKEY_up_ref()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘EVP_PKEY_up_ref’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_PKEY_up_ref; return !p; }
                                                         ^~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_PKEY_up_ref; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void EVP_PKEY_up_ref();
15: int t(void) { EVP_PKEY_up_ref(); return 0; }
/* end */

--------------------

have_func: checking for SSL_CTX_set_tmp_ecdh_callback() in openssl/ssl.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘SSL_CTX_set_tmp_ecdh_callback’ undeclared (first use in this function); did you mean ‘SSL_CTX_set_tmp_dh_callback’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_tmp_ecdh_callback; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                         SSL_CTX_set_tmp_dh_callback
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_tmp_ecdh_callback; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
/tmp/ccGnd7ZH.o: In function `t':
/usr/local/rvm/src/ruby-2.7.4/ext/openssl/conftest.c:17: undefined reference to `SSL_CTX_set_tmp_ecdh_callback'
collect2: error: ld returned 1 exit status
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void SSL_CTX_set_tmp_ecdh_callback();
17: int t(void) { SSL_CTX_set_tmp_ecdh_callback(); return 0; }
/* end */

--------------------

have_macro: checking for SSL_CTX_set_tmp_ecdh_callback in openssl/ssl.h... -------------------- no

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
conftest.c:6:3: error: #error 
 # error
   ^~~~~
conftest.c:7:1: error: expected identifier or ‘(’ before ‘|’ token
 |:/ === SSL_CTX_set_tmp_ecdh_callback undefined === /:|
 ^
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/ssl.h>
4: /*top*/
5: #ifndef SSL_CTX_set_tmp_ecdh_callback
6: # error
7: |:/ === SSL_CTX_set_tmp_ecdh_callback undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for SSL_CTX_set_min_proto_version() in openssl/ssl.h with -Werror=deprecated-declarations... -------------------- no

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:16:57: error: ‘SSL_CTX_set_min_proto_version’ undeclared (first use in this function); did you mean ‘SSL_CTX_set_ssl_version’?
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_min_proto_version; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                         SSL_CTX_set_ssl_version
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_set_min_proto_version; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm  -Werror=deprecated-declarations  -lssl -lcrypto -lm   -lc"
conftest.c:16:43: error: macro "SSL_CTX_set_min_proto_version" requires 2 arguments, but only 1 given
 extern void SSL_CTX_set_min_proto_version();
                                           ^
conftest.c: In function ‘t’:
conftest.c:17:45: error: macro "SSL_CTX_set_min_proto_version" requires 2 arguments, but only 1 given
 int t(void) { SSL_CTX_set_min_proto_version(); return 0; }
                                             ^
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: #include <openssl/ssl.h>
 4: 
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     int (* volatile tp)(void)=(int (*)(void))&t;
11:     printf("%d", (*tp)());
12:   }
13: 
14:   return !!argv[argc];
15: }
16: extern void SSL_CTX_set_min_proto_version();
17: int t(void) { SSL_CTX_set_min_proto_version(); return 0; }
/* end */

--------------------

have_macro: checking for SSL_CTX_set_min_proto_version in openssl/ssl.h... -------------------- yes

"gcc -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC    -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2: 
3: #include <openssl/ssl.h>
4: /*top*/
5: #ifndef SSL_CTX_set_min_proto_version
6: # error
7: |:/ === SSL_CTX_set_min_proto_version undefined === /:|
8: #endif
/* end */

--------------------

have_func: checking for SSL_CTX_get_security_level()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘SSL_CTX_get_security_level’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_get_security_level; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_CTX_get_security_level; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void SSL_CTX_get_security_level();
15: int t(void) { SSL_CTX_get_security_level(); return 0; }
/* end */

--------------------

have_func: checking for X509_get0_notBefore()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘X509_get0_notBefore’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_get0_notBefore; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))X509_get0_notBefore; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void X509_get0_notBefore();
15: int t(void) { X509_get0_notBefore(); return 0; }
/* end */

--------------------

have_func: checking for SSL_SESSION_get_protocol_version()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘SSL_SESSION_get_protocol_version’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_SESSION_get_protocol_version; return !p; }
                                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_SESSION_get_protocol_version; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void SSL_SESSION_get_protocol_version();
15: int t(void) { SSL_SESSION_get_protocol_version(); return 0; }
/* end */

--------------------

have_func: checking for EVP_PBE_scrypt()... -------------------- yes

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
conftest.c: In function ‘t’:
conftest.c:14:57: error: ‘EVP_PBE_scrypt’ undeclared (first use in this function)
 int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_PBE_scrypt; return !p; }
                                                         ^~~~~~~~~~~~~~
conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: int t(void) { void ((*volatile p)()); p = (void ((*)()))EVP_PBE_scrypt; return !p; }
/* end */

"gcc -o conftest -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/openssl     -g -O2 -fPIC  conftest.c  -L. -L../.. -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic      -lssl -lcrypto -Wl,-rpath,/usr/local/rvm/rubies/ruby-2.7.4/lib -L/usr/local/rvm/rubies/ruby-2.7.4/lib -lruby-static -lz -lpthread -lrt -lrt -ldl -lcrypt -lm   -lssl -lcrypto -lm   -lc"
checked program was:
/* begin */
 1: #include "ruby.h"
 2: 
 3: /*top*/
 4: extern int t(void);
 5: int main(int argc, char **argv)
 6: {
 7:   if (argc > 1000000) {
 8:     int (* volatile tp)(void)=(int (*)(void))&t;
 9:     printf("%d", (*tp)());
10:   }
11: 
12:   return !!argv[argc];
13: }
14: extern void EVP_PBE_scrypt();
15: int t(void) { EVP_PBE_scrypt(); return 0; }
/* end */

--------------------

=== Checking done. ===
extconf.h is:
/* begin */
 1: #ifndef EXTCONF_H
 2: #define EXTCONF_H
 3: #define HAVE_OPENSSL_SSL_H 1
 4: #define HAVE_ENGINE_LOAD_BUILTIN_ENGINES 1
 5: #define HAVE_ENGINE_LOAD_DYNAMIC 1
 6: #define HAVE_ENGINE_LOAD_CRYPTODEV 1
 7: #define HAVE_EC_CURVE_NIST2NID 1
 8: #define HAVE_X509_REVOKED_DUP 1
 9: #define HAVE_X509_STORE_CTX_GET0_STORE 1
10: #define HAVE_SSL_CTX_SET_ALPN_SELECT_CB 1
11: #define HAVE_SSL_CTX_SET1_CURVES_LIST 1
12: #define HAVE_SSL_CTX_SET_ECDH_AUTO 1
13: #define HAVE_SSL_GET_SERVER_TMP_KEY 1
14: #define HAVE_SSL_IS_SERVER 1
15: #define HAVE_OPAQUE_OPENSSL 1
16: #define HAVE_OPENSSL_110_THREADING_API 1
17: #define HAVE_BN_GENCB_NEW 1
18: #define HAVE_BN_GENCB_FREE 1
19: #define HAVE_BN_GENCB_GET_ARG 1
20: #define HAVE_EVP_MD_CTX_NEW 1
21: #define HAVE_EVP_MD_CTX_FREE 1
22: #define HAVE_HMAC_CTX_NEW 1
23: #define HAVE_HMAC_CTX_FREE 1
24: #define HAVE_X509_STORE_GET_EX_DATA 1
25: #define HAVE_X509_STORE_SET_EX_DATA 1
26: #define HAVE_X509_CRL_GET0_SIGNATURE 1
27: #define HAVE_X509_REQ_GET0_SIGNATURE 1
28: #define HAVE_X509_REVOKED_GET0_SERIALNUMBER 1
29: #define HAVE_X509_REVOKED_GET0_REVOCATIONDATE 1
30: #define HAVE_X509_GET0_TBS_SIGALG 1
31: #define HAVE_X509_STORE_CTX_GET0_UNTRUSTED 1
32: #define HAVE_X509_STORE_CTX_GET0_CERT 1
33: #define HAVE_X509_STORE_CTX_GET0_CHAIN 1
34: #define HAVE_OCSP_SINGLERESP_GET0_ID 1
35: #define HAVE_SSL_CTX_GET_CIPHERS 1
36: #define HAVE_X509_UP_REF 1
37: #define HAVE_X509_CRL_UP_REF 1
38: #define HAVE_X509_STORE_UP_REF 1
39: #define HAVE_SSL_SESSION_UP_REF 1
40: #define HAVE_EVP_PKEY_UP_REF 1
41: #define HAVE_SSL_CTX_SET_MIN_PROTO_VERSION 1
42: #define HAVE_SSL_CTX_GET_SECURITY_LEVEL 1
43: #define HAVE_X509_GET0_NOTBEFORE 1
44: #define HAVE_SSL_SESSION_GET_PROTOCOL_VERSION 1
45: #define HAVE_EVP_PBE_SCRYPT 1
46: #endif
/* end */

Done.