1
|
have_header: checking for ruby/thread.h... -------------------- no
|
2
|
|
3
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/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() {return 0;}
|
11
|
/* end */
|
12
|
|
13
|
"gcc -E -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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"
|
14
|
conftest.c:5:25: fatal error: ruby/thread.h: No such file or directory
|
15
|
compilation terminated.
|
16
|
checked program was:
|
17
|
/* begin */
|
18
|
1: #include "ruby.h"
|
19
|
2:
|
20
|
3: #include <winsock2.h>
|
21
|
4: #include <windows.h>
|
22
|
5: #include <ruby/thread.h>
|
23
|
/* end */
|
24
|
|
25
|
--------------------
|
26
|
|
27
|
have_func: checking for rb_thread_blocking_region()... -------------------- yes
|
28
|
|
29
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
30
|
checked program was:
|
31
|
/* begin */
|
32
|
1: #include "ruby.h"
|
33
|
2:
|
34
|
3: #include <winsock2.h>
|
35
|
4: #include <windows.h>
|
36
|
5:
|
37
|
6: /*top*/
|
38
|
7: int main() {return 0;}
|
39
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
|
40
|
/* end */
|
41
|
|
42
|
--------------------
|
43
|
|
44
|
have_func: checking for rb_wait_for_single_fd()... -------------------- yes
|
45
|
|
46
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
47
|
conftest.c: In function 't':
|
48
|
conftest.c:8:53: error: 'rb_wait_for_single_fd' undeclared (first use in this function)
|
49
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
50
|
checked program was:
|
51
|
/* begin */
|
52
|
1: #include "ruby.h"
|
53
|
2:
|
54
|
3: #include <winsock2.h>
|
55
|
4: #include <windows.h>
|
56
|
5:
|
57
|
6: /*top*/
|
58
|
7: int main() {return 0;}
|
59
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_wait_for_single_fd; return 0; }
|
60
|
/* end */
|
61
|
|
62
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
63
|
conftest.c: In function 't':
|
64
|
conftest.c:8:1: warning: implicit declaration of function 'rb_wait_for_single_fd'
|
65
|
checked program was:
|
66
|
/* begin */
|
67
|
1: #include "ruby.h"
|
68
|
2:
|
69
|
3: #include <winsock2.h>
|
70
|
4: #include <windows.h>
|
71
|
5:
|
72
|
6: /*top*/
|
73
|
7: int main() {return 0;}
|
74
|
8: int t() { rb_wait_for_single_fd(); return 0; }
|
75
|
/* end */
|
76
|
|
77
|
--------------------
|
78
|
|
79
|
have_func: checking for rb_hash_dup()... -------------------- yes
|
80
|
|
81
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
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 main() {return 0;}
|
91
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_hash_dup; return 0; }
|
92
|
/* end */
|
93
|
|
94
|
--------------------
|
95
|
|
96
|
have_func: checking for rb_intern3()... -------------------- yes
|
97
|
|
98
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
99
|
conftest.c: In function 't':
|
100
|
conftest.c:8:53: error: 'rb_intern3' undeclared (first use in this function)
|
101
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
102
|
checked program was:
|
103
|
/* begin */
|
104
|
1: #include "ruby.h"
|
105
|
2:
|
106
|
3: #include <winsock2.h>
|
107
|
4: #include <windows.h>
|
108
|
5:
|
109
|
6: /*top*/
|
110
|
7: int main() {return 0;}
|
111
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))rb_intern3; return 0; }
|
112
|
/* end */
|
113
|
|
114
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L. -lmsvcrt-ruby191 -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
115
|
conftest.c: In function 't':
|
116
|
conftest.c:8:1: warning: implicit declaration of function 'rb_intern3'
|
117
|
checked program was:
|
118
|
/* begin */
|
119
|
1: #include "ruby.h"
|
120
|
2:
|
121
|
3: #include <winsock2.h>
|
122
|
4: #include <windows.h>
|
123
|
5:
|
124
|
6: /*top*/
|
125
|
7: int main() {return 0;}
|
126
|
8: int t() { rb_intern3(); return 0; }
|
127
|
/* end */
|
128
|
|
129
|
--------------------
|
130
|
|
131
|
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
|
132
|
|
133
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
134
|
conftest.c: In function 't':
|
135
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
136
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
137
|
checked program was:
|
138
|
/* begin */
|
139
|
1: #include "ruby.h"
|
140
|
2:
|
141
|
3: #include <winsock2.h>
|
142
|
4: #include <windows.h>
|
143
|
5:
|
144
|
6: /*top*/
|
145
|
7: int main() {return 0;}
|
146
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
147
|
/* end */
|
148
|
|
149
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
150
|
conftest.c: In function 't':
|
151
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
152
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
153
|
collect2: ld returned 1 exit status
|
154
|
checked program was:
|
155
|
/* begin */
|
156
|
1: #include "ruby.h"
|
157
|
2:
|
158
|
3: #include <winsock2.h>
|
159
|
4: #include <windows.h>
|
160
|
5:
|
161
|
6: /*top*/
|
162
|
7: int main() {return 0;}
|
163
|
8: int t() { mysql_query(); return 0; }
|
164
|
/* end */
|
165
|
|
166
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
167
|
conftest.c: In function 't':
|
168
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
169
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
170
|
checked program was:
|
171
|
/* begin */
|
172
|
1: #include "ruby.h"
|
173
|
2:
|
174
|
3: #include <winsock2.h>
|
175
|
4: #include <windows.h>
|
176
|
5:
|
177
|
6: /*top*/
|
178
|
7: int main() {return 0;}
|
179
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
180
|
/* end */
|
181
|
|
182
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
183
|
conftest.c: In function 't':
|
184
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
185
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
186
|
collect2: ld returned 1 exit status
|
187
|
checked program was:
|
188
|
/* begin */
|
189
|
1: #include "ruby.h"
|
190
|
2:
|
191
|
3: #include <winsock2.h>
|
192
|
4: #include <windows.h>
|
193
|
5:
|
194
|
6: /*top*/
|
195
|
7: int main() {return 0;}
|
196
|
8: int t() { mysql_query(); return 0; }
|
197
|
/* end */
|
198
|
|
199
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
200
|
conftest.c: In function 't':
|
201
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
202
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
203
|
checked program was:
|
204
|
/* begin */
|
205
|
1: #include "ruby.h"
|
206
|
2:
|
207
|
3: #include <winsock2.h>
|
208
|
4: #include <windows.h>
|
209
|
5:
|
210
|
6: /*top*/
|
211
|
7: int main() {return 0;}
|
212
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
213
|
/* end */
|
214
|
|
215
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
216
|
conftest.c: In function 't':
|
217
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
218
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
219
|
collect2: ld returned 1 exit status
|
220
|
checked program was:
|
221
|
/* begin */
|
222
|
1: #include "ruby.h"
|
223
|
2:
|
224
|
3: #include <winsock2.h>
|
225
|
4: #include <windows.h>
|
226
|
5:
|
227
|
6: /*top*/
|
228
|
7: int main() {return 0;}
|
229
|
8: int t() { mysql_query(); return 0; }
|
230
|
/* end */
|
231
|
|
232
|
--------------------
|
233
|
|
234
|
have_library: checking for main() in -lm... -------------------- yes
|
235
|
|
236
|
--------------------
|
237
|
|
238
|
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
|
239
|
|
240
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
241
|
conftest.c: In function 't':
|
242
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
243
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
244
|
checked program was:
|
245
|
/* begin */
|
246
|
1: #include "ruby.h"
|
247
|
2:
|
248
|
3: #include <winsock2.h>
|
249
|
4: #include <windows.h>
|
250
|
5:
|
251
|
6: /*top*/
|
252
|
7: int main() {return 0;}
|
253
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
254
|
/* end */
|
255
|
|
256
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
257
|
conftest.c: In function 't':
|
258
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
259
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
260
|
collect2: ld returned 1 exit status
|
261
|
checked program was:
|
262
|
/* begin */
|
263
|
1: #include "ruby.h"
|
264
|
2:
|
265
|
3: #include <winsock2.h>
|
266
|
4: #include <windows.h>
|
267
|
5:
|
268
|
6: /*top*/
|
269
|
7: int main() {return 0;}
|
270
|
8: int t() { mysql_query(); return 0; }
|
271
|
/* end */
|
272
|
|
273
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
274
|
conftest.c: In function 't':
|
275
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
276
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
277
|
checked program was:
|
278
|
/* begin */
|
279
|
1: #include "ruby.h"
|
280
|
2:
|
281
|
3: #include <winsock2.h>
|
282
|
4: #include <windows.h>
|
283
|
5:
|
284
|
6: /*top*/
|
285
|
7: int main() {return 0;}
|
286
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
287
|
/* end */
|
288
|
|
289
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
290
|
conftest.c: In function 't':
|
291
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
292
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
293
|
collect2: ld returned 1 exit status
|
294
|
checked program was:
|
295
|
/* begin */
|
296
|
1: #include "ruby.h"
|
297
|
2:
|
298
|
3: #include <winsock2.h>
|
299
|
4: #include <windows.h>
|
300
|
5:
|
301
|
6: /*top*/
|
302
|
7: int main() {return 0;}
|
303
|
8: int t() { mysql_query(); return 0; }
|
304
|
/* end */
|
305
|
|
306
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
307
|
conftest.c: In function 't':
|
308
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
309
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
310
|
checked program was:
|
311
|
/* begin */
|
312
|
1: #include "ruby.h"
|
313
|
2:
|
314
|
3: #include <winsock2.h>
|
315
|
4: #include <windows.h>
|
316
|
5:
|
317
|
6: /*top*/
|
318
|
7: int main() {return 0;}
|
319
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
320
|
/* end */
|
321
|
|
322
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
323
|
conftest.c: In function 't':
|
324
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
325
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
326
|
collect2: ld returned 1 exit status
|
327
|
checked program was:
|
328
|
/* begin */
|
329
|
1: #include "ruby.h"
|
330
|
2:
|
331
|
3: #include <winsock2.h>
|
332
|
4: #include <windows.h>
|
333
|
5:
|
334
|
6: /*top*/
|
335
|
7: int main() {return 0;}
|
336
|
8: int t() { mysql_query(); return 0; }
|
337
|
/* end */
|
338
|
|
339
|
--------------------
|
340
|
|
341
|
have_library: checking for main() in -lz... -------------------- no
|
342
|
|
343
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lz -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
344
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lz
|
345
|
collect2: ld returned 1 exit status
|
346
|
checked program was:
|
347
|
/* begin */
|
348
|
1: #include "ruby.h"
|
349
|
2:
|
350
|
3: #include <winsock2.h>
|
351
|
4: #include <windows.h>
|
352
|
5:
|
353
|
6: /*top*/
|
354
|
7: int main() {return 0;}
|
355
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
356
|
/* end */
|
357
|
|
358
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lz -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
359
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lz
|
360
|
collect2: ld returned 1 exit status
|
361
|
checked program was:
|
362
|
/* begin */
|
363
|
1: #include "ruby.h"
|
364
|
2:
|
365
|
3: #include <winsock2.h>
|
366
|
4: #include <windows.h>
|
367
|
5:
|
368
|
6: /*top*/
|
369
|
7: int main() {return 0;}
|
370
|
8: int t() { main(); return 0; }
|
371
|
/* end */
|
372
|
|
373
|
--------------------
|
374
|
|
375
|
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
|
376
|
|
377
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
378
|
conftest.c: In function 't':
|
379
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
380
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
381
|
checked program was:
|
382
|
/* begin */
|
383
|
1: #include "ruby.h"
|
384
|
2:
|
385
|
3: #include <winsock2.h>
|
386
|
4: #include <windows.h>
|
387
|
5:
|
388
|
6: /*top*/
|
389
|
7: int main() {return 0;}
|
390
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
391
|
/* end */
|
392
|
|
393
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
394
|
conftest.c: In function 't':
|
395
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
396
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
397
|
collect2: ld returned 1 exit status
|
398
|
checked program was:
|
399
|
/* begin */
|
400
|
1: #include "ruby.h"
|
401
|
2:
|
402
|
3: #include <winsock2.h>
|
403
|
4: #include <windows.h>
|
404
|
5:
|
405
|
6: /*top*/
|
406
|
7: int main() {return 0;}
|
407
|
8: int t() { mysql_query(); return 0; }
|
408
|
/* end */
|
409
|
|
410
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
411
|
conftest.c: In function 't':
|
412
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
413
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
414
|
checked program was:
|
415
|
/* begin */
|
416
|
1: #include "ruby.h"
|
417
|
2:
|
418
|
3: #include <winsock2.h>
|
419
|
4: #include <windows.h>
|
420
|
5:
|
421
|
6: /*top*/
|
422
|
7: int main() {return 0;}
|
423
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
424
|
/* end */
|
425
|
|
426
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
427
|
conftest.c: In function 't':
|
428
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
429
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
430
|
collect2: ld returned 1 exit status
|
431
|
checked program was:
|
432
|
/* begin */
|
433
|
1: #include "ruby.h"
|
434
|
2:
|
435
|
3: #include <winsock2.h>
|
436
|
4: #include <windows.h>
|
437
|
5:
|
438
|
6: /*top*/
|
439
|
7: int main() {return 0;}
|
440
|
8: int t() { mysql_query(); return 0; }
|
441
|
/* end */
|
442
|
|
443
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
444
|
conftest.c: In function 't':
|
445
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
446
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
447
|
checked program was:
|
448
|
/* begin */
|
449
|
1: #include "ruby.h"
|
450
|
2:
|
451
|
3: #include <winsock2.h>
|
452
|
4: #include <windows.h>
|
453
|
5:
|
454
|
6: /*top*/
|
455
|
7: int main() {return 0;}
|
456
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
457
|
/* end */
|
458
|
|
459
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
460
|
conftest.c: In function 't':
|
461
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
462
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
463
|
collect2: ld returned 1 exit status
|
464
|
checked program was:
|
465
|
/* begin */
|
466
|
1: #include "ruby.h"
|
467
|
2:
|
468
|
3: #include <winsock2.h>
|
469
|
4: #include <windows.h>
|
470
|
5:
|
471
|
6: /*top*/
|
472
|
7: int main() {return 0;}
|
473
|
8: int t() { mysql_query(); return 0; }
|
474
|
/* end */
|
475
|
|
476
|
--------------------
|
477
|
|
478
|
have_library: checking for main() in -lsocket... -------------------- no
|
479
|
|
480
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lsocket -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
481
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lsocket
|
482
|
collect2: ld returned 1 exit status
|
483
|
checked program was:
|
484
|
/* begin */
|
485
|
1: #include "ruby.h"
|
486
|
2:
|
487
|
3: #include <winsock2.h>
|
488
|
4: #include <windows.h>
|
489
|
5:
|
490
|
6: /*top*/
|
491
|
7: int main() {return 0;}
|
492
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
493
|
/* end */
|
494
|
|
495
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lsocket -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
496
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lsocket
|
497
|
collect2: ld returned 1 exit status
|
498
|
checked program was:
|
499
|
/* begin */
|
500
|
1: #include "ruby.h"
|
501
|
2:
|
502
|
3: #include <winsock2.h>
|
503
|
4: #include <windows.h>
|
504
|
5:
|
505
|
6: /*top*/
|
506
|
7: int main() {return 0;}
|
507
|
8: int t() { main(); return 0; }
|
508
|
/* end */
|
509
|
|
510
|
--------------------
|
511
|
|
512
|
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
|
513
|
|
514
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
515
|
conftest.c: In function 't':
|
516
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
517
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
518
|
checked program was:
|
519
|
/* begin */
|
520
|
1: #include "ruby.h"
|
521
|
2:
|
522
|
3: #include <winsock2.h>
|
523
|
4: #include <windows.h>
|
524
|
5:
|
525
|
6: /*top*/
|
526
|
7: int main() {return 0;}
|
527
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
528
|
/* end */
|
529
|
|
530
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
531
|
conftest.c: In function 't':
|
532
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
533
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
534
|
collect2: ld returned 1 exit status
|
535
|
checked program was:
|
536
|
/* begin */
|
537
|
1: #include "ruby.h"
|
538
|
2:
|
539
|
3: #include <winsock2.h>
|
540
|
4: #include <windows.h>
|
541
|
5:
|
542
|
6: /*top*/
|
543
|
7: int main() {return 0;}
|
544
|
8: int t() { mysql_query(); return 0; }
|
545
|
/* end */
|
546
|
|
547
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
548
|
conftest.c: In function 't':
|
549
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
550
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
551
|
checked program was:
|
552
|
/* begin */
|
553
|
1: #include "ruby.h"
|
554
|
2:
|
555
|
3: #include <winsock2.h>
|
556
|
4: #include <windows.h>
|
557
|
5:
|
558
|
6: /*top*/
|
559
|
7: int main() {return 0;}
|
560
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
561
|
/* end */
|
562
|
|
563
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
564
|
conftest.c: In function 't':
|
565
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
566
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
567
|
collect2: ld returned 1 exit status
|
568
|
checked program was:
|
569
|
/* begin */
|
570
|
1: #include "ruby.h"
|
571
|
2:
|
572
|
3: #include <winsock2.h>
|
573
|
4: #include <windows.h>
|
574
|
5:
|
575
|
6: /*top*/
|
576
|
7: int main() {return 0;}
|
577
|
8: int t() { mysql_query(); return 0; }
|
578
|
/* end */
|
579
|
|
580
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
581
|
conftest.c: In function 't':
|
582
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
583
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
584
|
checked program was:
|
585
|
/* begin */
|
586
|
1: #include "ruby.h"
|
587
|
2:
|
588
|
3: #include <winsock2.h>
|
589
|
4: #include <windows.h>
|
590
|
5:
|
591
|
6: /*top*/
|
592
|
7: int main() {return 0;}
|
593
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
594
|
/* end */
|
595
|
|
596
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
597
|
conftest.c: In function 't':
|
598
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
599
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
600
|
collect2: ld returned 1 exit status
|
601
|
checked program was:
|
602
|
/* begin */
|
603
|
1: #include "ruby.h"
|
604
|
2:
|
605
|
3: #include <winsock2.h>
|
606
|
4: #include <windows.h>
|
607
|
5:
|
608
|
6: /*top*/
|
609
|
7: int main() {return 0;}
|
610
|
8: int t() { mysql_query(); return 0; }
|
611
|
/* end */
|
612
|
|
613
|
--------------------
|
614
|
|
615
|
have_library: checking for main() in -lnsl... -------------------- no
|
616
|
|
617
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lnsl -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
618
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lnsl
|
619
|
collect2: ld returned 1 exit status
|
620
|
checked program was:
|
621
|
/* begin */
|
622
|
1: #include "ruby.h"
|
623
|
2:
|
624
|
3: #include <winsock2.h>
|
625
|
4: #include <windows.h>
|
626
|
5:
|
627
|
6: /*top*/
|
628
|
7: int main() {return 0;}
|
629
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
630
|
/* end */
|
631
|
|
632
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lnsl -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
633
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lnsl
|
634
|
collect2: ld returned 1 exit status
|
635
|
checked program was:
|
636
|
/* begin */
|
637
|
1: #include "ruby.h"
|
638
|
2:
|
639
|
3: #include <winsock2.h>
|
640
|
4: #include <windows.h>
|
641
|
5:
|
642
|
6: /*top*/
|
643
|
7: int main() {return 0;}
|
644
|
8: int t() { main(); return 0; }
|
645
|
/* end */
|
646
|
|
647
|
--------------------
|
648
|
|
649
|
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
|
650
|
|
651
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
652
|
conftest.c: In function 't':
|
653
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
654
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
655
|
checked program was:
|
656
|
/* begin */
|
657
|
1: #include "ruby.h"
|
658
|
2:
|
659
|
3: #include <winsock2.h>
|
660
|
4: #include <windows.h>
|
661
|
5:
|
662
|
6: /*top*/
|
663
|
7: int main() {return 0;}
|
664
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
665
|
/* end */
|
666
|
|
667
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
668
|
conftest.c: In function 't':
|
669
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
670
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
671
|
collect2: ld returned 1 exit status
|
672
|
checked program was:
|
673
|
/* begin */
|
674
|
1: #include "ruby.h"
|
675
|
2:
|
676
|
3: #include <winsock2.h>
|
677
|
4: #include <windows.h>
|
678
|
5:
|
679
|
6: /*top*/
|
680
|
7: int main() {return 0;}
|
681
|
8: int t() { mysql_query(); return 0; }
|
682
|
/* end */
|
683
|
|
684
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
685
|
conftest.c: In function 't':
|
686
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
687
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
688
|
checked program was:
|
689
|
/* begin */
|
690
|
1: #include "ruby.h"
|
691
|
2:
|
692
|
3: #include <winsock2.h>
|
693
|
4: #include <windows.h>
|
694
|
5:
|
695
|
6: /*top*/
|
696
|
7: int main() {return 0;}
|
697
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
698
|
/* end */
|
699
|
|
700
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
701
|
conftest.c: In function 't':
|
702
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
703
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
704
|
collect2: ld returned 1 exit status
|
705
|
checked program was:
|
706
|
/* begin */
|
707
|
1: #include "ruby.h"
|
708
|
2:
|
709
|
3: #include <winsock2.h>
|
710
|
4: #include <windows.h>
|
711
|
5:
|
712
|
6: /*top*/
|
713
|
7: int main() {return 0;}
|
714
|
8: int t() { mysql_query(); return 0; }
|
715
|
/* end */
|
716
|
|
717
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
718
|
conftest.c: In function 't':
|
719
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
720
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
721
|
checked program was:
|
722
|
/* begin */
|
723
|
1: #include "ruby.h"
|
724
|
2:
|
725
|
3: #include <winsock2.h>
|
726
|
4: #include <windows.h>
|
727
|
5:
|
728
|
6: /*top*/
|
729
|
7: int main() {return 0;}
|
730
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
731
|
/* end */
|
732
|
|
733
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
734
|
conftest.c: In function 't':
|
735
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
736
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
737
|
collect2: ld returned 1 exit status
|
738
|
checked program was:
|
739
|
/* begin */
|
740
|
1: #include "ruby.h"
|
741
|
2:
|
742
|
3: #include <winsock2.h>
|
743
|
4: #include <windows.h>
|
744
|
5:
|
745
|
6: /*top*/
|
746
|
7: int main() {return 0;}
|
747
|
8: int t() { mysql_query(); return 0; }
|
748
|
/* end */
|
749
|
|
750
|
--------------------
|
751
|
|
752
|
have_library: checking for main() in -lmygcc... -------------------- no
|
753
|
|
754
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmygcc -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
755
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmygcc
|
756
|
collect2: ld returned 1 exit status
|
757
|
checked program was:
|
758
|
/* begin */
|
759
|
1: #include "ruby.h"
|
760
|
2:
|
761
|
3: #include <winsock2.h>
|
762
|
4: #include <windows.h>
|
763
|
5:
|
764
|
6: /*top*/
|
765
|
7: int main() {return 0;}
|
766
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
|
767
|
/* end */
|
768
|
|
769
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmygcc -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
770
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmygcc
|
771
|
collect2: ld returned 1 exit status
|
772
|
checked program was:
|
773
|
/* begin */
|
774
|
1: #include "ruby.h"
|
775
|
2:
|
776
|
3: #include <winsock2.h>
|
777
|
4: #include <windows.h>
|
778
|
5:
|
779
|
6: /*top*/
|
780
|
7: int main() {return 0;}
|
781
|
8: int t() { main(); return 0; }
|
782
|
/* end */
|
783
|
|
784
|
--------------------
|
785
|
|
786
|
find_library: checking for mysql_query() in -lmysqlclient... -------------------- no
|
787
|
|
788
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
789
|
conftest.c: In function 't':
|
790
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
791
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
792
|
checked program was:
|
793
|
/* begin */
|
794
|
1: #include "ruby.h"
|
795
|
2:
|
796
|
3: #include <winsock2.h>
|
797
|
4: #include <windows.h>
|
798
|
5:
|
799
|
6: /*top*/
|
800
|
7: int main() {return 0;}
|
801
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
802
|
/* end */
|
803
|
|
804
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
805
|
conftest.c: In function 't':
|
806
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
807
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
808
|
collect2: ld returned 1 exit status
|
809
|
checked program was:
|
810
|
/* begin */
|
811
|
1: #include "ruby.h"
|
812
|
2:
|
813
|
3: #include <winsock2.h>
|
814
|
4: #include <windows.h>
|
815
|
5:
|
816
|
6: /*top*/
|
817
|
7: int main() {return 0;}
|
818
|
8: int t() { mysql_query(); return 0; }
|
819
|
/* end */
|
820
|
|
821
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
822
|
conftest.c: In function 't':
|
823
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
824
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
825
|
checked program was:
|
826
|
/* begin */
|
827
|
1: #include "ruby.h"
|
828
|
2:
|
829
|
3: #include <winsock2.h>
|
830
|
4: #include <windows.h>
|
831
|
5:
|
832
|
6: /*top*/
|
833
|
7: int main() {return 0;}
|
834
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
835
|
/* end */
|
836
|
|
837
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
838
|
conftest.c: In function 't':
|
839
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
840
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
841
|
collect2: ld returned 1 exit status
|
842
|
checked program was:
|
843
|
/* begin */
|
844
|
1: #include "ruby.h"
|
845
|
2:
|
846
|
3: #include <winsock2.h>
|
847
|
4: #include <windows.h>
|
848
|
5:
|
849
|
6: /*top*/
|
850
|
7: int main() {return 0;}
|
851
|
8: int t() { mysql_query(); return 0; }
|
852
|
/* end */
|
853
|
|
854
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
855
|
conftest.c: In function 't':
|
856
|
conftest.c:8:53: error: 'mysql_query' undeclared (first use in this function)
|
857
|
conftest.c:8:53: note: each undeclared identifier is reported only once for each function it appears in
|
858
|
checked program was:
|
859
|
/* begin */
|
860
|
1: #include "ruby.h"
|
861
|
2:
|
862
|
3: #include <winsock2.h>
|
863
|
4: #include <windows.h>
|
864
|
5:
|
865
|
6: /*top*/
|
866
|
7: int main() {return 0;}
|
867
|
8: int t() { void ((*volatile p)()); p = (void ((*)()))mysql_query; return 0; }
|
868
|
/* end */
|
869
|
|
870
|
"gcc -o conftest -IE:/Ruby/include/ruby-1.9.1/i386-mingw32 -IE:/Ruby/include/ruby-1.9.1/ruby/backward -IE:/Ruby/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. -LE:/Ruby/lib -L/usr/local/lib -L/usr/local/lib/mysql -L. -lmsvcrt-ruby191 -lmysqlclient -lshell32 -lws2_32 -limagehlp -lshlwapi "
|
871
|
conftest.c: In function 't':
|
872
|
conftest.c:8:1: warning: implicit declaration of function 'mysql_query'
|
873
|
e:/rubydevkit/mingw/bin/../lib/gcc/mingw32/4.5.2/../../../../mingw32/bin/ld.exe: cannot find -lmysqlclient
|
874
|
collect2: ld returned 1 exit status
|
875
|
checked program was:
|
876
|
/* begin */
|
877
|
1: #include "ruby.h"
|
878
|
2:
|
879
|
3: #include <winsock2.h>
|
880
|
4: #include <windows.h>
|
881
|
5:
|
882
|
6: /*top*/
|
883
|
7: int main() {return 0;}
|
884
|
8: int t() { mysql_query(); return 0; }
|
885
|
/* end */
|
886
|
|
887
|
--------------------
|
888
|
|