Project

General

Profile

Bug #13080 » bad_mkmf_2.4.log

jonforums (Jon Forums), 12/27/2016 07:46 PM

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

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lmsvcrt-ruby240-static -lnsl -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:57: error: 't_open' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; }
^~~~~~
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; }
/* end */

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lmsvcrt-ruby240-static -lnsl -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/6.2.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lnsl
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: extern void t_open();
17: int t(void) { t_open(); return 0; }
/* end */

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

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

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lmsvcrt-ruby240-static -lsocket -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/6.2.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lsocket
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))socket; return !p; }
/* end */

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lmsvcrt-ruby240-static -lsocket -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c:16:13: error: conflicting types for 'socket'
extern void socket();
^~~~~~
In file included from ../../../../../ruby-git/include/ruby/win32.h:41:0,
from ../../../../../ruby-git/include/ruby/defines.h:243,
from ../../../../../ruby-git/include/ruby/ruby.h:36,
from ../../../../../ruby-git/include/ruby.h:33,
from conftest.c:1:
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/devkit/mingw/i686-w64-mingw32/include/winsock2.h:1001:37: note: previous declaration of 'socket' was here
WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
^~~~~~
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: extern void socket();
17: int t(void) { socket(); return 0; }
/* end */

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

=== Checking for required stuff... ===
package configuration for openssl is not found
have_header: checking for openssl/ssl.h... -------------------- yes

"gcc -E -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: #include <openssl/ssl.h>
/* end */

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

have_library: checking for CRYPTO_malloc() in -lcrypto... -------------------- yes

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lmsvcrt-ruby240-static -lcrypto -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:57: error: 'CRYPTO_malloc' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))CRYPTO_malloc; return !p; }
^~~~~~~~~~~~~
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))CRYPTO_malloc; return !p; }
/* end */

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lmsvcrt-ruby240-static -lcrypto -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: extern void CRYPTO_malloc();
17: int t(void) { CRYPTO_malloc(); return 0; }
/* end */

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

have_library: checking for SSL_new() in -lssl... -------------------- no

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lcrypto -lmsvcrt-ruby240-static -lssl -lcrypto -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:57: error: 'SSL_new' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
^~~~~~~
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
/* end */

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lcrypto -lmsvcrt-ruby240-static -lssl -lcrypto -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xe9d): undefined reference to `_imp__GetDeviceCaps@8'
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xecb): undefined reference to `_imp__CreateCompatibleBitmap@12'
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xeed): undefined reference to `_imp__GetObjectA@12'
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0xfe0): undefined reference to `_imp__GetDIBits@28'
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib/libcrypto.a(rand_win.o):rand_win.c:(.text+0x1048): undefined reference to `_imp__DeleteObject@4'
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: extern void SSL_new();
17: int t(void) { SSL_new(); return 0; }
/* end */

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

have_library: checking for SSL_new() in -lssleay32... -------------------- no

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lcrypto -lmsvcrt-ruby240-static -lssleay32 -lcrypto -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
conftest.c: In function 't':
conftest.c:16:57: error: 'SSL_new' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
^~~~~~~
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
conftest.c: At top level:
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
/* end */

"gcc -o conftest.exe -I../../.ext/include/i386-mingw32 -I../../../../../ruby-git/include -I../../../../../ruby-git/ext/openssl -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0501 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-omit-frame-pointer -fno-fast-math -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wno-maybe-uninitialized conftest.c -L. -L../.. -L. -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/zlib/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libyaml/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/openssl/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/iconv/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/gdbm/lib -LC:/Users/Jon/Documents/RubyDev/ri-git/sandbox/libffi/lib -lcrypto -lmsvcrt-ruby240-static -lssleay32 -lcrypto -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
C:/Users/Jon/Documents/RubyDev/ri-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/6.2.0/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lssleay32
collect2.exe: error: ld returned 1 exit status
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <winsock2.h>
4: #include <windows.h>
5:
6: /*top*/
7: extern int t(void);
8: int main(int argc, char **argv)
9: {
10: if (argc > 1000000) {
11: printf("%p", &t);
12: }
13:
14: return 0;
15: }
16: extern void SSL_new();
17: int t(void) { SSL_new(); return 0; }
/* end */

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

=== Checking for required stuff failed. ===
Makefile wasn't created. Fix the errors above.
Failed to configure openssl. It will not be installed.
(1-1/2)