質問編集履歴
1
ログファイルを追加しました。4件errorが出ていますが、何のことだかさっぱり。。。。といった状況です。
test
CHANGED
File without changes
|
test
CHANGED
@@ -79,6 +79,162 @@
|
|
79
79
|
Results logged to C:/Ruby30/lib/ruby/gems/3.0.0/extensions/x86-mingw32/3.0.0/tiny_tds-2.1.5/gem_make.out
|
80
80
|
```
|
81
81
|
|
82
|
+
ログファイル"mkmf.log"
|
83
|
+
```cmd
|
84
|
+
find_header: checking for sybfront.h... -------------------- yes
|
85
|
+
|
86
|
+
"gcc -o conftest.exe -IC:/Ruby30/include/ruby-3.0.0/i386-mingw32 -IC:/Ruby30/include/ruby-3.0.0/ruby/backward -IC:/Ruby30/include/ruby-3.0.0 -I. -IC:\freetds-1.00/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby30/lib -LC:\freetds-1.00/lib -L. -pipe -s -fstack-protector-strong -lmsvcrt-ruby300 -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
87
|
+
checked program was:
|
88
|
+
/* begin */
|
89
|
+
1: #include "ruby.h"
|
90
|
+
2:
|
91
|
+
3: #include <winsock2.h>
|
92
|
+
4: #include <windows.h>
|
93
|
+
5: int main(int argc, char **argv)
|
94
|
+
6: {
|
95
|
+
7: return !!argv[argc];
|
96
|
+
8: }
|
97
|
+
/* end */
|
98
|
+
|
99
|
+
"gcc -E -IC:/Ruby30/include/ruby-3.0.0/i386-mingw32 -IC:/Ruby30/include/ruby-3.0.0/ruby/backward -IC:/Ruby30/include/ruby-3.0.0 -I. -IC:\freetds-1.00/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -o conftest.i"
|
100
|
+
checked program was:
|
101
|
+
/* begin */
|
102
|
+
1: #include "ruby.h"
|
103
|
+
2:
|
104
|
+
3: #include <winsock2.h>
|
105
|
+
4: #include <windows.h>
|
106
|
+
5: #include <sybfront.h>
|
107
|
+
/* end */
|
108
|
+
|
109
|
+
--------------------
|
110
|
+
|
111
|
+
find_header: checking for sybdb.h... -------------------- yes
|
112
|
+
|
113
|
+
"gcc -E -IC:/Ruby30/include/ruby-3.0.0/i386-mingw32 -IC:/Ruby30/include/ruby-3.0.0/ruby/backward -IC:/Ruby30/include/ruby-3.0.0 -I. -IC:\freetds-1.00/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -o conftest.i"
|
114
|
+
checked program was:
|
115
|
+
/* begin */
|
116
|
+
1: #include "ruby.h"
|
117
|
+
2:
|
118
|
+
3: #include <winsock2.h>
|
119
|
+
4: #include <windows.h>
|
120
|
+
5: #include <sybdb.h>
|
121
|
+
/* end */
|
122
|
+
|
123
|
+
--------------------
|
124
|
+
|
125
|
+
find_library: checking for tdsdbopen() in -lsybdb... -------------------- no
|
126
|
+
|
127
|
+
"gcc -o conftest.exe -IC:/Ruby30/include/ruby-3.0.0/i386-mingw32 -IC:/Ruby30/include/ruby-3.0.0/ruby/backward -IC:/Ruby30/include/ruby-3.0.0 -I. -IC:\freetds-1.00/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby30/lib -LC:\freetds-1.00/lib -L. -pipe -s -fstack-protector-strong -lmsvcrt-ruby300 -lsybdb -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
128
|
+
conftest.c: In function 't':
|
129
|
+
conftest.c:17:57: error: 'tdsdbopen' undeclared (first use in this function)
|
130
|
+
17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))tdsdbopen; return !p; }
|
131
|
+
| ^~~~~~~~~
|
132
|
+
conftest.c:17:57: 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: extern int t(void);
|
142
|
+
8: int main(int argc, char **argv)
|
143
|
+
9: {
|
144
|
+
10: if (argc > 1000000) {
|
145
|
+
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
146
|
+
12: printf("%d", (*tp)());
|
147
|
+
13: }
|
148
|
+
14:
|
149
|
+
15: return !!argv[argc];
|
150
|
+
16: }
|
151
|
+
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))tdsdbopen; return !p; }
|
152
|
+
/* end */
|
153
|
+
`RSA_public_encrypt'
|
154
|
+
|
155
|
+
collect2.exe: error: ld returned 1 exit status
|
156
|
+
checked program was:
|
157
|
+
/* begin */
|
158
|
+
1: #include "ruby.h"
|
159
|
+
2:
|
160
|
+
3: #include <winsock2.h>
|
161
|
+
4: #include <windows.h>
|
162
|
+
5:
|
163
|
+
6: /*top*/
|
164
|
+
7: extern int t(void);
|
165
|
+
8: int main(int argc, char **argv)
|
166
|
+
9: {
|
167
|
+
10: if (argc > 1000000) {
|
168
|
+
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
169
|
+
12: printf("%d", (*tp)());
|
170
|
+
13: }
|
171
|
+
14:
|
172
|
+
15: return !!argv[argc];
|
173
|
+
16: }
|
174
|
+
17: extern void tdsdbopen();
|
175
|
+
18: int t(void) { tdsdbopen(); return 0; }
|
176
|
+
/* end */
|
177
|
+
|
178
|
+
--------------------
|
179
|
+
|
180
|
+
find_library: checking for dbanydatecrack() in -lsybdb... -------------------- no
|
181
|
+
|
182
|
+
"gcc -o conftest.exe -IC:/Ruby30/include/ruby-3.0.0/i386-mingw32 -IC:/Ruby30/include/ruby-3.0.0/ruby/backward -IC:/Ruby30/include/ruby-3.0.0 -I. -IC:\freetds-1.00/include -D__USE_MINGW_ANSI_STDIO=1 -DFD_SETSIZE=2048 -D_WIN32_WINNT=0x0600 -D__MINGW_USE_VC2005_COMPAT -D_FILE_OFFSET_BITS=64 -O3 -fno-fast-math -fstack-protector-strong conftest.c -L. -LC:/Ruby30/lib -LC:\freetds-1.00/lib -L. -pipe -s -fstack-protector-strong -lmsvcrt-ruby300 -lsybdb -lshell32 -lws2_32 -liphlpapi -limagehlp -lshlwapi "
|
183
|
+
conftest.c: In function 't':
|
184
|
+
conftest.c:17:57: error: 'dbanydatecrack' undeclared (first use in this function)
|
185
|
+
17 | int t(void) { void ((*volatile p)()); p = (void ((*)()))dbanydatecrack; return !p; }
|
186
|
+
| ^~~~~~~~~~~~~~
|
187
|
+
conftest.c:17:57: note: each undeclared identifier is reported only once for each function it appears in
|
188
|
+
checked program was:
|
189
|
+
/* begin */
|
190
|
+
1: #include "ruby.h"
|
191
|
+
2:
|
192
|
+
3: #include <winsock2.h>
|
193
|
+
4: #include <windows.h>
|
194
|
+
5:
|
195
|
+
6: /*top*/
|
196
|
+
7: extern int t(void);
|
197
|
+
8: int main(int argc, char **argv)
|
198
|
+
9: {
|
199
|
+
10: if (argc > 1000000) {
|
200
|
+
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
201
|
+
12: printf("%d", (*tp)());
|
202
|
+
13: }
|
203
|
+
14:
|
204
|
+
15: return !!argv[argc];
|
205
|
+
16: }
|
206
|
+
17: int t(void) { void ((*volatile p)()); p = (void ((*)()))dbanydatecrack; return !p; }
|
207
|
+
/* end */
|
208
|
+
`RSA_public_encrypt'
|
209
|
+
|
210
|
+
collect2.exe: error: ld returned 1 exit status
|
211
|
+
checked program was:
|
212
|
+
/* begin */
|
213
|
+
1: #include "ruby.h"
|
214
|
+
2:
|
215
|
+
3: #include <winsock2.h>
|
216
|
+
4: #include <windows.h>
|
217
|
+
5:
|
218
|
+
6: /*top*/
|
219
|
+
7: extern int t(void);
|
220
|
+
8: int main(int argc, char **argv)
|
221
|
+
9: {
|
222
|
+
10: if (argc > 1000000) {
|
223
|
+
11: int (* volatile tp)(void)=(int (*)(void))&t;
|
224
|
+
12: printf("%d", (*tp)());
|
225
|
+
13: }
|
226
|
+
14:
|
227
|
+
15: return !!argv[argc];
|
228
|
+
16: }
|
229
|
+
17: extern void dbanydatecrack();
|
230
|
+
18: int t(void) { dbanydatecrack(); return 0; }
|
231
|
+
/* end */
|
232
|
+
|
233
|
+
--------------------
|
234
|
+
|
235
|
+
|
236
|
+
```
|
237
|
+
|
82
238
|
### 該当のソースコード
|
83
239
|
|
84
240
|
```cmd
|