Project

General

Profile

RE: can not install mysql2 » mkmf.log

Ivan Cenov, 2013-11-22 07:47

 
1
have_header: checking for ruby/thread.h... -------------------- no
2

    
3
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
4
checked program was:
5
/* begin */
6
1: #include "ruby.h"
7
2: 
8
3: #include <winsock2.h>
9
4: #include <windows.h>
10
5: int main(int argc, char **argv)
11
6: {
12
7:   return 0;
13
8: }
14
/* end */
15

    
16
"gcc -E -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration  conftest.c -o conftest.i"
17
conftest.c:5:25: fatal error: ruby/thread.h: No such file or directory
18
compilation terminated.
19
checked program was:
20
/* begin */
21
1: #include "ruby.h"
22
2: 
23
3: #include <winsock2.h>
24
4: #include <windows.h>
25
5: #include <ruby/thread.h>
26
/* end */
27

    
28
--------------------
29

    
30
have_func: checking for rb_thread_blocking_region()... -------------------- yes
31

    
32
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
33
checked program was:
34
/* begin */
35
 1: #include "ruby.h"
36
 2: 
37
 3: #include <winsock2.h>
38
 4: #include <windows.h>
39
 5: 
40
 6: /*top*/
41
 7: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
42
 8: int main(int argc, char **argv)
43
 9: {
44
10:   if (argc > 1000000) {
45
11:     printf("%p", &t);
46
12:   }
47
13: 
48
14:   return 0;
49
15: }
50
/* end */
51

    
52
--------------------
53

    
54
have_func: checking for rb_wait_for_single_fd()... -------------------- yes
55

    
56
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
57
conftest.c: In function 't':
58
conftest.c:7:53: error: 'rb_wait_for_single_fd' undeclared (first use in this function)
59
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
60
checked program was:
61
/* begin */
62
 1: #include "ruby.h"
63
 2: 
64
 3: #include <winsock2.h>
65
 4: #include <windows.h>
66
 5: 
67
 6: /*top*/
68
 7: int t() { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return 0; }
69
 8: int main(int argc, char **argv)
70
 9: {
71
10:   if (argc > 1000000) {
72
11:     printf("%p", &t);
73
12:   }
74
13: 
75
14:   return 0;
76
15: }
77
/* end */
78

    
79
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
80
conftest.c: In function 't':
81
conftest.c:7:1: warning: implicit declaration of function 'rb_wait_for_single_fd'
82
checked program was:
83
/* begin */
84
 1: #include "ruby.h"
85
 2: 
86
 3: #include <winsock2.h>
87
 4: #include <windows.h>
88
 5: 
89
 6: /*top*/
90
 7: int t() { rb_wait_for_single_fd(); return 0; }
91
 8: int main(int argc, char **argv)
92
 9: {
93
10:   if (argc > 1000000) {
94
11:     printf("%p", &t);
95
12:   }
96
13: 
97
14:   return 0;
98
15: }
99
/* end */
100

    
101
--------------------
102

    
103
have_func: checking for rb_hash_dup()... -------------------- yes
104

    
105
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
106
checked program was:
107
/* begin */
108
 1: #include "ruby.h"
109
 2: 
110
 3: #include <winsock2.h>
111
 4: #include <windows.h>
112
 5: 
113
 6: /*top*/
114
 7: int t() { void ((*volatile p)()); p = (void ((*)()))rb_hash_dup; return 0; }
115
 8: int main(int argc, char **argv)
116
 9: {
117
10:   if (argc > 1000000) {
118
11:     printf("%p", &t);
119
12:   }
120
13: 
121
14:   return 0;
122
15: }
123
/* end */
124

    
125
--------------------
126

    
127
have_func: checking for rb_intern3()... -------------------- yes
128

    
129
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
130
conftest.c: In function 't':
131
conftest.c:7:53: error: 'rb_intern3' undeclared (first use in this function)
132
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
133
checked program was:
134
/* begin */
135
 1: #include "ruby.h"
136
 2: 
137
 3: #include <winsock2.h>
138
 4: #include <windows.h>
139
 5: 
140
 6: /*top*/
141
 7: int t() { void ((*volatile p)()); p = (void ((*)()))rb_intern3; return 0; }
142
 8: int main(int argc, char **argv)
143
 9: {
144
10:   if (argc > 1000000) {
145
11:     printf("%p", &t);
146
12:   }
147
13: 
148
14:   return 0;
149
15: }
150
/* end */
151

    
152
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L.      -lmsvcrt-ruby191  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
153
conftest.c: In function 't':
154
conftest.c:7:1: warning: implicit declaration of function 'rb_intern3'
155
checked program was:
156
/* begin */
157
 1: #include "ruby.h"
158
 2: 
159
 3: #include <winsock2.h>
160
 4: #include <windows.h>
161
 5: 
162
 6: /*top*/
163
 7: int t() { rb_intern3(); return 0; }
164
 8: int main(int argc, char **argv)
165
 9: {
166
10:   if (argc > 1000000) {
167
11:     printf("%p", &t);
168
12:   }
169
13: 
170
14:   return 0;
171
15: }
172
/* end */
173

    
174
--------------------
175

    
176
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
177

    
178
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
179
conftest.c: In function 't':
180
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
181
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
182
checked program was:
183
/* begin */
184
 1: #include "ruby.h"
185
 2: 
186
 3: #include <winsock2.h>
187
 4: #include <windows.h>
188
 5: 
189
 6: /*top*/
190
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
191
 8: int main(int argc, char **argv)
192
 9: {
193
10:   if (argc > 1000000) {
194
11:     printf("%p", &t);
195
12:   }
196
13: 
197
14:   return 0;
198
15: }
199
/* end */
200

    
201
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
202
conftest.c: In function 't':
203
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
204
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
205
collect2: ld returned 1 exit status
206
checked program was:
207
/* begin */
208
 1: #include "ruby.h"
209
 2: 
210
 3: #include <winsock2.h>
211
 4: #include <windows.h>
212
 5: 
213
 6: /*top*/
214
 7: int t() { mysql_query(); return 0; }
215
 8: int main(int argc, char **argv)
216
 9: {
217
10:   if (argc > 1000000) {
218
11:     printf("%p", &t);
219
12:   }
220
13: 
221
14:   return 0;
222
15: }
223
/* end */
224

    
225
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
226
conftest.c: In function 't':
227
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
228
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
229
checked program was:
230
/* begin */
231
 1: #include "ruby.h"
232
 2: 
233
 3: #include <winsock2.h>
234
 4: #include <windows.h>
235
 5: 
236
 6: /*top*/
237
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
238
 8: int main(int argc, char **argv)
239
 9: {
240
10:   if (argc > 1000000) {
241
11:     printf("%p", &t);
242
12:   }
243
13: 
244
14:   return 0;
245
15: }
246
/* end */
247

    
248
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
249
conftest.c: In function 't':
250
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
251
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
252
collect2: ld returned 1 exit status
253
checked program was:
254
/* begin */
255
 1: #include "ruby.h"
256
 2: 
257
 3: #include <winsock2.h>
258
 4: #include <windows.h>
259
 5: 
260
 6: /*top*/
261
 7: int t() { mysql_query(); return 0; }
262
 8: int main(int argc, char **argv)
263
 9: {
264
10:   if (argc > 1000000) {
265
11:     printf("%p", &t);
266
12:   }
267
13: 
268
14:   return 0;
269
15: }
270
/* end */
271

    
272
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
273
conftest.c: In function 't':
274
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
275
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
276
checked program was:
277
/* begin */
278
 1: #include "ruby.h"
279
 2: 
280
 3: #include <winsock2.h>
281
 4: #include <windows.h>
282
 5: 
283
 6: /*top*/
284
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
285
 8: int main(int argc, char **argv)
286
 9: {
287
10:   if (argc > 1000000) {
288
11:     printf("%p", &t);
289
12:   }
290
13: 
291
14:   return 0;
292
15: }
293
/* end */
294

    
295
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
296
conftest.c: In function 't':
297
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
298
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
299
collect2: ld returned 1 exit status
300
checked program was:
301
/* begin */
302
 1: #include "ruby.h"
303
 2: 
304
 3: #include <winsock2.h>
305
 4: #include <windows.h>
306
 5: 
307
 6: /*top*/
308
 7: int t() { mysql_query(); return 0; }
309
 8: int main(int argc, char **argv)
310
 9: {
311
10:   if (argc > 1000000) {
312
11:     printf("%p", &t);
313
12:   }
314
13: 
315
14:   return 0;
316
15: }
317
/* end */
318

    
319
--------------------
320

    
321
have_library: checking for main() in -lm... -------------------- yes
322

    
323
--------------------
324

    
325
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
326

    
327
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
328
conftest.c: In function 't':
329
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
330
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
331
checked program was:
332
/* begin */
333
 1: #include "ruby.h"
334
 2: 
335
 3: #include <winsock2.h>
336
 4: #include <windows.h>
337
 5: 
338
 6: /*top*/
339
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
340
 8: int main(int argc, char **argv)
341
 9: {
342
10:   if (argc > 1000000) {
343
11:     printf("%p", &t);
344
12:   }
345
13: 
346
14:   return 0;
347
15: }
348
/* end */
349

    
350
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
351
conftest.c: In function 't':
352
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
353
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
354
collect2: ld returned 1 exit status
355
checked program was:
356
/* begin */
357
 1: #include "ruby.h"
358
 2: 
359
 3: #include <winsock2.h>
360
 4: #include <windows.h>
361
 5: 
362
 6: /*top*/
363
 7: int t() { mysql_query(); return 0; }
364
 8: int main(int argc, char **argv)
365
 9: {
366
10:   if (argc > 1000000) {
367
11:     printf("%p", &t);
368
12:   }
369
13: 
370
14:   return 0;
371
15: }
372
/* end */
373

    
374
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
375
conftest.c: In function 't':
376
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
377
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
378
checked program was:
379
/* begin */
380
 1: #include "ruby.h"
381
 2: 
382
 3: #include <winsock2.h>
383
 4: #include <windows.h>
384
 5: 
385
 6: /*top*/
386
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
387
 8: int main(int argc, char **argv)
388
 9: {
389
10:   if (argc > 1000000) {
390
11:     printf("%p", &t);
391
12:   }
392
13: 
393
14:   return 0;
394
15: }
395
/* end */
396

    
397
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
398
conftest.c: In function 't':
399
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
400
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
401
collect2: ld returned 1 exit status
402
checked program was:
403
/* begin */
404
 1: #include "ruby.h"
405
 2: 
406
 3: #include <winsock2.h>
407
 4: #include <windows.h>
408
 5: 
409
 6: /*top*/
410
 7: int t() { mysql_query(); return 0; }
411
 8: int main(int argc, char **argv)
412
 9: {
413
10:   if (argc > 1000000) {
414
11:     printf("%p", &t);
415
12:   }
416
13: 
417
14:   return 0;
418
15: }
419
/* end */
420

    
421
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
422
conftest.c: In function 't':
423
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
424
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
425
checked program was:
426
/* begin */
427
 1: #include "ruby.h"
428
 2: 
429
 3: #include <winsock2.h>
430
 4: #include <windows.h>
431
 5: 
432
 6: /*top*/
433
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
434
 8: int main(int argc, char **argv)
435
 9: {
436
10:   if (argc > 1000000) {
437
11:     printf("%p", &t);
438
12:   }
439
13: 
440
14:   return 0;
441
15: }
442
/* end */
443

    
444
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
445
conftest.c: In function 't':
446
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
447
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
448
collect2: ld returned 1 exit status
449
checked program was:
450
/* begin */
451
 1: #include "ruby.h"
452
 2: 
453
 3: #include <winsock2.h>
454
 4: #include <windows.h>
455
 5: 
456
 6: /*top*/
457
 7: int t() { mysql_query(); return 0; }
458
 8: int main(int argc, char **argv)
459
 9: {
460
10:   if (argc > 1000000) {
461
11:     printf("%p", &t);
462
12:   }
463
13: 
464
14:   return 0;
465
15: }
466
/* end */
467

    
468
--------------------
469

    
470
have_library: checking for main() in -lz... -------------------- no
471

    
472
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lz  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
473
conftest.c: In function 't':
474
conftest.c:7:53: error: 'main' undeclared (first use in this function)
475
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
476
checked program was:
477
/* begin */
478
 1: #include "ruby.h"
479
 2: 
480
 3: #include <winsock2.h>
481
 4: #include <windows.h>
482
 5: 
483
 6: /*top*/
484
 7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
485
 8: int main(int argc, char **argv)
486
 9: {
487
10:   if (argc > 1000000) {
488
11:     printf("%p", &t);
489
12:   }
490
13: 
491
14:   return 0;
492
15: }
493
/* end */
494

    
495
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lz  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
496
conftest.c: In function 't':
497
conftest.c:7:1: warning: implicit declaration of function 'main'
498
conftest.c:10:6: warning: 'argc' is used uninitialized in this function
499
conftest.c:7:5: note: 'argc' was declared here
500
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lz
501
collect2: ld returned 1 exit status
502
checked program was:
503
/* begin */
504
 1: #include "ruby.h"
505
 2: 
506
 3: #include <winsock2.h>
507
 4: #include <windows.h>
508
 5: 
509
 6: /*top*/
510
 7: int t() { main(); return 0; }
511
 8: int main(int argc, char **argv)
512
 9: {
513
10:   if (argc > 1000000) {
514
11:     printf("%p", &t);
515
12:   }
516
13: 
517
14:   return 0;
518
15: }
519
/* end */
520

    
521
--------------------
522

    
523
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
524

    
525
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
526
conftest.c: In function 't':
527
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
528
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
529
checked program was:
530
/* begin */
531
 1: #include "ruby.h"
532
 2: 
533
 3: #include <winsock2.h>
534
 4: #include <windows.h>
535
 5: 
536
 6: /*top*/
537
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
538
 8: int main(int argc, char **argv)
539
 9: {
540
10:   if (argc > 1000000) {
541
11:     printf("%p", &t);
542
12:   }
543
13: 
544
14:   return 0;
545
15: }
546
/* end */
547

    
548
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
549
conftest.c: In function 't':
550
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
551
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
552
collect2: ld returned 1 exit status
553
checked program was:
554
/* begin */
555
 1: #include "ruby.h"
556
 2: 
557
 3: #include <winsock2.h>
558
 4: #include <windows.h>
559
 5: 
560
 6: /*top*/
561
 7: int t() { mysql_query(); return 0; }
562
 8: int main(int argc, char **argv)
563
 9: {
564
10:   if (argc > 1000000) {
565
11:     printf("%p", &t);
566
12:   }
567
13: 
568
14:   return 0;
569
15: }
570
/* end */
571

    
572
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
573
conftest.c: In function 't':
574
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
575
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
576
checked program was:
577
/* begin */
578
 1: #include "ruby.h"
579
 2: 
580
 3: #include <winsock2.h>
581
 4: #include <windows.h>
582
 5: 
583
 6: /*top*/
584
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
585
 8: int main(int argc, char **argv)
586
 9: {
587
10:   if (argc > 1000000) {
588
11:     printf("%p", &t);
589
12:   }
590
13: 
591
14:   return 0;
592
15: }
593
/* end */
594

    
595
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
596
conftest.c: In function 't':
597
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
598
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
599
collect2: ld returned 1 exit status
600
checked program was:
601
/* begin */
602
 1: #include "ruby.h"
603
 2: 
604
 3: #include <winsock2.h>
605
 4: #include <windows.h>
606
 5: 
607
 6: /*top*/
608
 7: int t() { mysql_query(); return 0; }
609
 8: int main(int argc, char **argv)
610
 9: {
611
10:   if (argc > 1000000) {
612
11:     printf("%p", &t);
613
12:   }
614
13: 
615
14:   return 0;
616
15: }
617
/* end */
618

    
619
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
620
conftest.c: In function 't':
621
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
622
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
623
checked program was:
624
/* begin */
625
 1: #include "ruby.h"
626
 2: 
627
 3: #include <winsock2.h>
628
 4: #include <windows.h>
629
 5: 
630
 6: /*top*/
631
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
632
 8: int main(int argc, char **argv)
633
 9: {
634
10:   if (argc > 1000000) {
635
11:     printf("%p", &t);
636
12:   }
637
13: 
638
14:   return 0;
639
15: }
640
/* end */
641

    
642
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
643
conftest.c: In function 't':
644
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
645
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
646
collect2: ld returned 1 exit status
647
checked program was:
648
/* begin */
649
 1: #include "ruby.h"
650
 2: 
651
 3: #include <winsock2.h>
652
 4: #include <windows.h>
653
 5: 
654
 6: /*top*/
655
 7: int t() { mysql_query(); return 0; }
656
 8: int main(int argc, char **argv)
657
 9: {
658
10:   if (argc > 1000000) {
659
11:     printf("%p", &t);
660
12:   }
661
13: 
662
14:   return 0;
663
15: }
664
/* end */
665

    
666
--------------------
667

    
668
have_library: checking for main() in -lsocket... -------------------- no
669

    
670
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lsocket  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
671
conftest.c: In function 't':
672
conftest.c:7:53: error: 'main' undeclared (first use in this function)
673
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
674
checked program was:
675
/* begin */
676
 1: #include "ruby.h"
677
 2: 
678
 3: #include <winsock2.h>
679
 4: #include <windows.h>
680
 5: 
681
 6: /*top*/
682
 7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
683
 8: int main(int argc, char **argv)
684
 9: {
685
10:   if (argc > 1000000) {
686
11:     printf("%p", &t);
687
12:   }
688
13: 
689
14:   return 0;
690
15: }
691
/* end */
692

    
693
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lsocket  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
694
conftest.c: In function 't':
695
conftest.c:7:1: warning: implicit declaration of function 'main'
696
conftest.c:10:6: warning: 'argc' is used uninitialized in this function
697
conftest.c:7:5: note: 'argc' was declared here
698
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lsocket
699
collect2: ld returned 1 exit status
700
checked program was:
701
/* begin */
702
 1: #include "ruby.h"
703
 2: 
704
 3: #include <winsock2.h>
705
 4: #include <windows.h>
706
 5: 
707
 6: /*top*/
708
 7: int t() { main(); return 0; }
709
 8: int main(int argc, char **argv)
710
 9: {
711
10:   if (argc > 1000000) {
712
11:     printf("%p", &t);
713
12:   }
714
13: 
715
14:   return 0;
716
15: }
717
/* end */
718

    
719
--------------------
720

    
721
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
722

    
723
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
724
conftest.c: In function 't':
725
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
726
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
727
checked program was:
728
/* begin */
729
 1: #include "ruby.h"
730
 2: 
731
 3: #include <winsock2.h>
732
 4: #include <windows.h>
733
 5: 
734
 6: /*top*/
735
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
736
 8: int main(int argc, char **argv)
737
 9: {
738
10:   if (argc > 1000000) {
739
11:     printf("%p", &t);
740
12:   }
741
13: 
742
14:   return 0;
743
15: }
744
/* end */
745

    
746
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
747
conftest.c: In function 't':
748
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
749
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
750
collect2: ld returned 1 exit status
751
checked program was:
752
/* begin */
753
 1: #include "ruby.h"
754
 2: 
755
 3: #include <winsock2.h>
756
 4: #include <windows.h>
757
 5: 
758
 6: /*top*/
759
 7: int t() { mysql_query(); return 0; }
760
 8: int main(int argc, char **argv)
761
 9: {
762
10:   if (argc > 1000000) {
763
11:     printf("%p", &t);
764
12:   }
765
13: 
766
14:   return 0;
767
15: }
768
/* end */
769

    
770
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
771
conftest.c: In function 't':
772
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
773
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
774
checked program was:
775
/* begin */
776
 1: #include "ruby.h"
777
 2: 
778
 3: #include <winsock2.h>
779
 4: #include <windows.h>
780
 5: 
781
 6: /*top*/
782
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
783
 8: int main(int argc, char **argv)
784
 9: {
785
10:   if (argc > 1000000) {
786
11:     printf("%p", &t);
787
12:   }
788
13: 
789
14:   return 0;
790
15: }
791
/* end */
792

    
793
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
794
conftest.c: In function 't':
795
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
796
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
797
collect2: ld returned 1 exit status
798
checked program was:
799
/* begin */
800
 1: #include "ruby.h"
801
 2: 
802
 3: #include <winsock2.h>
803
 4: #include <windows.h>
804
 5: 
805
 6: /*top*/
806
 7: int t() { mysql_query(); return 0; }
807
 8: int main(int argc, char **argv)
808
 9: {
809
10:   if (argc > 1000000) {
810
11:     printf("%p", &t);
811
12:   }
812
13: 
813
14:   return 0;
814
15: }
815
/* end */
816

    
817
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
818
conftest.c: In function 't':
819
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
820
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
821
checked program was:
822
/* begin */
823
 1: #include "ruby.h"
824
 2: 
825
 3: #include <winsock2.h>
826
 4: #include <windows.h>
827
 5: 
828
 6: /*top*/
829
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
830
 8: int main(int argc, char **argv)
831
 9: {
832
10:   if (argc > 1000000) {
833
11:     printf("%p", &t);
834
12:   }
835
13: 
836
14:   return 0;
837
15: }
838
/* end */
839

    
840
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
841
conftest.c: In function 't':
842
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
843
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
844
collect2: ld returned 1 exit status
845
checked program was:
846
/* begin */
847
 1: #include "ruby.h"
848
 2: 
849
 3: #include <winsock2.h>
850
 4: #include <windows.h>
851
 5: 
852
 6: /*top*/
853
 7: int t() { mysql_query(); return 0; }
854
 8: int main(int argc, char **argv)
855
 9: {
856
10:   if (argc > 1000000) {
857
11:     printf("%p", &t);
858
12:   }
859
13: 
860
14:   return 0;
861
15: }
862
/* end */
863

    
864
--------------------
865

    
866
have_library: checking for main() in -lnsl... -------------------- no
867

    
868
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lnsl  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
869
conftest.c: In function 't':
870
conftest.c:7:53: error: 'main' undeclared (first use in this function)
871
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
872
checked program was:
873
/* begin */
874
 1: #include "ruby.h"
875
 2: 
876
 3: #include <winsock2.h>
877
 4: #include <windows.h>
878
 5: 
879
 6: /*top*/
880
 7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
881
 8: int main(int argc, char **argv)
882
 9: {
883
10:   if (argc > 1000000) {
884
11:     printf("%p", &t);
885
12:   }
886
13: 
887
14:   return 0;
888
15: }
889
/* end */
890

    
891
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lnsl  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
892
conftest.c: In function 't':
893
conftest.c:7:1: warning: implicit declaration of function 'main'
894
conftest.c:10:6: warning: 'argc' is used uninitialized in this function
895
conftest.c:7:5: note: 'argc' was declared here
896
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lnsl
897
collect2: ld returned 1 exit status
898
checked program was:
899
/* begin */
900
 1: #include "ruby.h"
901
 2: 
902
 3: #include <winsock2.h>
903
 4: #include <windows.h>
904
 5: 
905
 6: /*top*/
906
 7: int t() { main(); return 0; }
907
 8: int main(int argc, char **argv)
908
 9: {
909
10:   if (argc > 1000000) {
910
11:     printf("%p", &t);
911
12:   }
912
13: 
913
14:   return 0;
914
15: }
915
/* end */
916

    
917
--------------------
918

    
919
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
920

    
921
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
922
conftest.c: In function 't':
923
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
924
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
925
checked program was:
926
/* begin */
927
 1: #include "ruby.h"
928
 2: 
929
 3: #include <winsock2.h>
930
 4: #include <windows.h>
931
 5: 
932
 6: /*top*/
933
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
934
 8: int main(int argc, char **argv)
935
 9: {
936
10:   if (argc > 1000000) {
937
11:     printf("%p", &t);
938
12:   }
939
13: 
940
14:   return 0;
941
15: }
942
/* end */
943

    
944
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
945
conftest.c: In function 't':
946
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
947
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
948
collect2: ld returned 1 exit status
949
checked program was:
950
/* begin */
951
 1: #include "ruby.h"
952
 2: 
953
 3: #include <winsock2.h>
954
 4: #include <windows.h>
955
 5: 
956
 6: /*top*/
957
 7: int t() { mysql_query(); return 0; }
958
 8: int main(int argc, char **argv)
959
 9: {
960
10:   if (argc > 1000000) {
961
11:     printf("%p", &t);
962
12:   }
963
13: 
964
14:   return 0;
965
15: }
966
/* end */
967

    
968
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
969
conftest.c: In function 't':
970
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
971
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
972
checked program was:
973
/* begin */
974
 1: #include "ruby.h"
975
 2: 
976
 3: #include <winsock2.h>
977
 4: #include <windows.h>
978
 5: 
979
 6: /*top*/
980
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
981
 8: int main(int argc, char **argv)
982
 9: {
983
10:   if (argc > 1000000) {
984
11:     printf("%p", &t);
985
12:   }
986
13: 
987
14:   return 0;
988
15: }
989
/* end */
990

    
991
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
992
conftest.c: In function 't':
993
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
994
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
995
collect2: ld returned 1 exit status
996
checked program was:
997
/* begin */
998
 1: #include "ruby.h"
999
 2: 
1000
 3: #include <winsock2.h>
1001
 4: #include <windows.h>
1002
 5: 
1003
 6: /*top*/
1004
 7: int t() { mysql_query(); return 0; }
1005
 8: int main(int argc, char **argv)
1006
 9: {
1007
10:   if (argc > 1000000) {
1008
11:     printf("%p", &t);
1009
12:   }
1010
13: 
1011
14:   return 0;
1012
15: }
1013
/* end */
1014

    
1015
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1016
conftest.c: In function 't':
1017
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
1018
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
1019
checked program was:
1020
/* begin */
1021
 1: #include "ruby.h"
1022
 2: 
1023
 3: #include <winsock2.h>
1024
 4: #include <windows.h>
1025
 5: 
1026
 6: /*top*/
1027
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
1028
 8: int main(int argc, char **argv)
1029
 9: {
1030
10:   if (argc > 1000000) {
1031
11:     printf("%p", &t);
1032
12:   }
1033
13: 
1034
14:   return 0;
1035
15: }
1036
/* end */
1037

    
1038
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1039
conftest.c: In function 't':
1040
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
1041
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
1042
collect2: ld returned 1 exit status
1043
checked program was:
1044
/* begin */
1045
 1: #include "ruby.h"
1046
 2: 
1047
 3: #include <winsock2.h>
1048
 4: #include <windows.h>
1049
 5: 
1050
 6: /*top*/
1051
 7: int t() { mysql_query(); return 0; }
1052
 8: int main(int argc, char **argv)
1053
 9: {
1054
10:   if (argc > 1000000) {
1055
11:     printf("%p", &t);
1056
12:   }
1057
13: 
1058
14:   return 0;
1059
15: }
1060
/* end */
1061

    
1062
--------------------
1063

    
1064
have_library: checking for main() in -lmygcc... -------------------- no
1065

    
1066
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmygcc  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1067
conftest.c: In function 't':
1068
conftest.c:7:53: error: 'main' undeclared (first use in this function)
1069
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
1070
checked program was:
1071
/* begin */
1072
 1: #include "ruby.h"
1073
 2: 
1074
 3: #include <winsock2.h>
1075
 4: #include <windows.h>
1076
 5: 
1077
 6: /*top*/
1078
 7: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
1079
 8: int main(int argc, char **argv)
1080
 9: {
1081
10:   if (argc > 1000000) {
1082
11:     printf("%p", &t);
1083
12:   }
1084
13: 
1085
14:   return 0;
1086
15: }
1087
/* end */
1088

    
1089
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmygcc  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1090
conftest.c: In function 't':
1091
conftest.c:7:1: warning: implicit declaration of function 'main'
1092
conftest.c:10:6: warning: 'argc' is used uninitialized in this function
1093
conftest.c:7:5: note: 'argc' was declared here
1094
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmygcc
1095
collect2: ld returned 1 exit status
1096
checked program was:
1097
/* begin */
1098
 1: #include "ruby.h"
1099
 2: 
1100
 3: #include <winsock2.h>
1101
 4: #include <windows.h>
1102
 5: 
1103
 6: /*top*/
1104
 7: int t() { main(); return 0; }
1105
 8: int main(int argc, char **argv)
1106
 9: {
1107
10:   if (argc > 1000000) {
1108
11:     printf("%p", &t);
1109
12:   }
1110
13: 
1111
14:   return 0;
1112
15: }
1113
/* end */
1114

    
1115
--------------------
1116

    
1117
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
1118

    
1119
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1120
conftest.c: In function 't':
1121
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
1122
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
1123
checked program was:
1124
/* begin */
1125
 1: #include "ruby.h"
1126
 2: 
1127
 3: #include <winsock2.h>
1128
 4: #include <windows.h>
1129
 5: 
1130
 6: /*top*/
1131
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
1132
 8: int main(int argc, char **argv)
1133
 9: {
1134
10:   if (argc > 1000000) {
1135
11:     printf("%p", &t);
1136
12:   }
1137
13: 
1138
14:   return 0;
1139
15: }
1140
/* end */
1141

    
1142
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1143
conftest.c: In function 't':
1144
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
1145
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
1146
collect2: ld returned 1 exit status
1147
checked program was:
1148
/* begin */
1149
 1: #include "ruby.h"
1150
 2: 
1151
 3: #include <winsock2.h>
1152
 4: #include <windows.h>
1153
 5: 
1154
 6: /*top*/
1155
 7: int t() { mysql_query(); return 0; }
1156
 8: int main(int argc, char **argv)
1157
 9: {
1158
10:   if (argc > 1000000) {
1159
11:     printf("%p", &t);
1160
12:   }
1161
13: 
1162
14:   return 0;
1163
15: }
1164
/* end */
1165

    
1166
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1167
conftest.c: In function 't':
1168
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
1169
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
1170
checked program was:
1171
/* begin */
1172
 1: #include "ruby.h"
1173
 2: 
1174
 3: #include <winsock2.h>
1175
 4: #include <windows.h>
1176
 5: 
1177
 6: /*top*/
1178
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
1179
 8: int main(int argc, char **argv)
1180
 9: {
1181
10:   if (argc > 1000000) {
1182
11:     printf("%p", &t);
1183
12:   }
1184
13: 
1185
14:   return 0;
1186
15: }
1187
/* end */
1188

    
1189
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1190
conftest.c: In function 't':
1191
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
1192
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
1193
collect2: ld returned 1 exit status
1194
checked program was:
1195
/* begin */
1196
 1: #include "ruby.h"
1197
 2: 
1198
 3: #include <winsock2.h>
1199
 4: #include <windows.h>
1200
 5: 
1201
 6: /*top*/
1202
 7: int t() { mysql_query(); return 0; }
1203
 8: int main(int argc, char **argv)
1204
 9: {
1205
10:   if (argc > 1000000) {
1206
11:     printf("%p", &t);
1207
12:   }
1208
13: 
1209
14:   return 0;
1210
15: }
1211
/* end */
1212

    
1213
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1214
conftest.c: In function 't':
1215
conftest.c:7:53: error: 'mysql_query' undeclared (first use in this function)
1216
conftest.c:7:53: note: each undeclared identifier is reported only once for each function it appears in
1217
checked program was:
1218
/* begin */
1219
 1: #include "ruby.h"
1220
 2: 
1221
 3: #include <winsock2.h>
1222
 4: #include <windows.h>
1223
 5: 
1224
 6: /*top*/
1225
 7: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
1226
 8: int main(int argc, char **argv)
1227
 9: {
1228
10:   if (argc > 1000000) {
1229
11:     printf("%p", &t);
1230
12:   }
1231
13: 
1232
14:   return 0;
1233
15: }
1234
/* end */
1235

    
1236
"gcc -o conftest -IC:/Ruby193/include/ruby-1.9.1/i386-mingw32 -IC:/Ruby193/include/ruby-1.9.1/ruby/backward -IC:/Ruby193/include/ruby-1.9.1 -I. -I/usr/local/include -DFD_SETSIZE=2048  -DFD_SETSIZE=2048  -O3 -fno-omit-frame-pointer -g -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c  -L. -LC:/Ruby193/lib -L/usr/local/lib -L/usr/local/lib/mysql -L.      -lmsvcrt-ruby191 -lmysqlclient  -lshell32 -lws2_32 -limagehlp -lshlwapi  "
1237
conftest.c: In function 't':
1238
conftest.c:7:1: warning: implicit declaration of function 'mysql_query'
1239
d:/apps/devkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
1240
collect2: ld returned 1 exit status
1241
checked program was:
1242
/* begin */
1243
 1: #include "ruby.h"
1244
 2: 
1245
 3: #include <winsock2.h>
1246
 4: #include <windows.h>
1247
 5: 
1248
 6: /*top*/
1249
 7: int t() { mysql_query(); return 0; }
1250
 8: int main(int argc, char **argv)
1251
 9: {
1252
10:   if (argc > 1000000) {
1253
11:     printf("%p", &t);
1254
12:   }
1255
13: 
1256
14:   return 0;
1257
15: }
1258
/* end */
1259

    
1260
--------------------
1261

    
(2-2/2)