Project

General

Profile

Bug #13080 ยป bad_mkmf_2.4.log

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

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

    
5
"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  "
6
conftest.c: In function 't':
7
conftest.c:16:57: error: 't_open' undeclared (first use in this function)
8
 int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; }
9
                                                         ^~~~~~
10
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
11
conftest.c: At top level:
12
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
13
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
14
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
15
checked program was:
16
/* begin */
17
 1: #include "ruby.h"
18
 2: 
19
 3: #include <winsock2.h>
20
 4: #include <windows.h>
21
 5: 
22
 6: /*top*/
23
 7: extern int t(void);
24
 8: int main(int argc, char **argv)
25
 9: {
26
10:   if (argc > 1000000) {
27
11:     printf("%p", &t);
28
12:   }
29
13: 
30
14:   return 0;
31
15: }
32
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))t_open; return !p; }
33
/* end */
34

    
35
"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  "
36
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
37
collect2.exe: error: ld returned 1 exit status
38
checked program was:
39
/* begin */
40
 1: #include "ruby.h"
41
 2: 
42
 3: #include <winsock2.h>
43
 4: #include <windows.h>
44
 5: 
45
 6: /*top*/
46
 7: extern int t(void);
47
 8: int main(int argc, char **argv)
48
 9: {
49
10:   if (argc > 1000000) {
50
11:     printf("%p", &t);
51
12:   }
52
13: 
53
14:   return 0;
54
15: }
55
16: extern void t_open();
56
17: int t(void) { t_open(); return 0; }
57
/* end */
58

    
59
--------------------
60

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

    
63
"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  "
64
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
65
collect2.exe: error: ld returned 1 exit status
66
checked program was:
67
/* begin */
68
 1: #include "ruby.h"
69
 2: 
70
 3: #include <winsock2.h>
71
 4: #include <windows.h>
72
 5: 
73
 6: /*top*/
74
 7: extern int t(void);
75
 8: int main(int argc, char **argv)
76
 9: {
77
10:   if (argc > 1000000) {
78
11:     printf("%p", &t);
79
12:   }
80
13: 
81
14:   return 0;
82
15: }
83
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))socket; return !p; }
84
/* end */
85

    
86
"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  "
87
conftest.c:16:13: error: conflicting types for 'socket'
88
 extern void socket();
89
             ^~~~~~
90
In file included from ../../../../../ruby-git/include/ruby/win32.h:41:0,
91
                 from ../../../../../ruby-git/include/ruby/defines.h:243,
92
                 from ../../../../../ruby-git/include/ruby/ruby.h:36,
93
                 from ../../../../../ruby-git/include/ruby.h:33,
94
                 from conftest.c:1:
95
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
96
   WINSOCK_API_LINKAGE SOCKET WSAAPI socket(int af,int type,int protocol);
97
                                     ^~~~~~
98
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
99
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
100
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
101
checked program was:
102
/* begin */
103
 1: #include "ruby.h"
104
 2: 
105
 3: #include <winsock2.h>
106
 4: #include <windows.h>
107
 5: 
108
 6: /*top*/
109
 7: extern int t(void);
110
 8: int main(int argc, char **argv)
111
 9: {
112
10:   if (argc > 1000000) {
113
11:     printf("%p", &t);
114
12:   }
115
13: 
116
14:   return 0;
117
15: }
118
16: extern void socket();
119
17: int t(void) { socket(); return 0; }
120
/* end */
121

    
122
--------------------
123

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

    
128
"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"
129
checked program was:
130
/* begin */
131
1: #include "ruby.h"
132
2: 
133
3: #include <winsock2.h>
134
4: #include <windows.h>
135
5: #include <openssl/ssl.h>
136
/* end */
137

    
138
--------------------
139

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

    
142
"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  "
143
conftest.c: In function 't':
144
conftest.c:16:57: error: 'CRYPTO_malloc' undeclared (first use in this function)
145
 int t(void) { void ((*volatile p)()); p = (void ((*)()))CRYPTO_malloc; return !p; }
146
                                                         ^~~~~~~~~~~~~
147
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
148
conftest.c: At top level:
149
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
150
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
151
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
152
checked program was:
153
/* begin */
154
 1: #include "ruby.h"
155
 2: 
156
 3: #include <winsock2.h>
157
 4: #include <windows.h>
158
 5: 
159
 6: /*top*/
160
 7: extern int t(void);
161
 8: int main(int argc, char **argv)
162
 9: {
163
10:   if (argc > 1000000) {
164
11:     printf("%p", &t);
165
12:   }
166
13: 
167
14:   return 0;
168
15: }
169
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))CRYPTO_malloc; return !p; }
170
/* end */
171

    
172
"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  "
173
checked program was:
174
/* begin */
175
 1: #include "ruby.h"
176
 2: 
177
 3: #include <winsock2.h>
178
 4: #include <windows.h>
179
 5: 
180
 6: /*top*/
181
 7: extern int t(void);
182
 8: int main(int argc, char **argv)
183
 9: {
184
10:   if (argc > 1000000) {
185
11:     printf("%p", &t);
186
12:   }
187
13: 
188
14:   return 0;
189
15: }
190
16: extern void CRYPTO_malloc();
191
17: int t(void) { CRYPTO_malloc(); return 0; }
192
/* end */
193

    
194
--------------------
195

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

    
198
"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  "
199
conftest.c: In function 't':
200
conftest.c:16:57: error: 'SSL_new' undeclared (first use in this function)
201
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
202
                                                         ^~~~~~~
203
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
204
conftest.c: At top level:
205
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
206
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
207
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
208
checked program was:
209
/* begin */
210
 1: #include "ruby.h"
211
 2: 
212
 3: #include <winsock2.h>
213
 4: #include <windows.h>
214
 5: 
215
 6: /*top*/
216
 7: extern int t(void);
217
 8: int main(int argc, char **argv)
218
 9: {
219
10:   if (argc > 1000000) {
220
11:     printf("%p", &t);
221
12:   }
222
13: 
223
14:   return 0;
224
15: }
225
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
226
/* end */
227

    
228
"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  "
229
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'
230
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'
231
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'
232
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'
233
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'
234
collect2.exe: error: ld returned 1 exit status
235
checked program was:
236
/* begin */
237
 1: #include "ruby.h"
238
 2: 
239
 3: #include <winsock2.h>
240
 4: #include <windows.h>
241
 5: 
242
 6: /*top*/
243
 7: extern int t(void);
244
 8: int main(int argc, char **argv)
245
 9: {
246
10:   if (argc > 1000000) {
247
11:     printf("%p", &t);
248
12:   }
249
13: 
250
14:   return 0;
251
15: }
252
16: extern void SSL_new();
253
17: int t(void) { SSL_new(); return 0; }
254
/* end */
255

    
256
--------------------
257

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

    
260
"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  "
261
conftest.c: In function 't':
262
conftest.c:16:57: error: 'SSL_new' undeclared (first use in this function)
263
 int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
264
                                                         ^~~~~~~
265
conftest.c:16:57: note: each undeclared identifier is reported only once for each function it appears in
266
conftest.c: At top level:
267
cc1.exe: warning: unrecognized command line option '-Wno-self-assign'
268
cc1.exe: warning: unrecognized command line option '-Wno-constant-logical-operand'
269
cc1.exe: warning: unrecognized command line option '-Wno-parentheses-equality'
270
checked program was:
271
/* begin */
272
 1: #include "ruby.h"
273
 2: 
274
 3: #include <winsock2.h>
275
 4: #include <windows.h>
276
 5: 
277
 6: /*top*/
278
 7: extern int t(void);
279
 8: int main(int argc, char **argv)
280
 9: {
281
10:   if (argc > 1000000) {
282
11:     printf("%p", &t);
283
12:   }
284
13: 
285
14:   return 0;
286
15: }
287
16: int t(void) { void ((*volatile p)()); p = (void ((*)()))SSL_new; return !p; }
288
/* end */
289

    
290
"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  "
291
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
292
collect2.exe: error: ld returned 1 exit status
293
checked program was:
294
/* begin */
295
 1: #include "ruby.h"
296
 2: 
297
 3: #include <winsock2.h>
298
 4: #include <windows.h>
299
 5: 
300
 6: /*top*/
301
 7: extern int t(void);
302
 8: int main(int argc, char **argv)
303
 9: {
304
10:   if (argc > 1000000) {
305
11:     printf("%p", &t);
306
12:   }
307
13: 
308
14:   return 0;
309
15: }
310
16: extern void SSL_new();
311
17: int t(void) { SSL_new(); return 0; }
312
/* end */
313

    
314
--------------------
315

    
316
=== Checking for required stuff failed. ===
317
Makefile wasn't created. Fix the errors above.
318
Failed to configure openssl. It will not be installed.