|
have_library: checking for GetNetworkParams() in -liphlpapi... -------------------- no
|
|
|
|
"gcc -o conftest.exe -I../../../.ext/include/i386-cygwin -I../../.././include -I../../.././ext/win32/resolv -D_XOPEN_SOURCE -D_GNU_SOURCE -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict conftest.c -L. -L../../.. -L. -fstack-protector -lruby250-static -lpthread -lgmp -ldl -lcrypt "
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: int main(int argc, char **argv)
|
|
4: {
|
|
5: return 0;
|
|
6: }
|
|
/* end */
|
|
|
|
"gcc -o conftest.exe -I../../../.ext/include/i386-cygwin -I../../.././include -I../../.././ext/win32/resolv -D_XOPEN_SOURCE -D_GNU_SOURCE -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict conftest.c -L. -L../../.. -L. -fstack-protector -lruby250-static -liphlpapi -lpthread -lgmp -ldl -lcrypt "
|
|
conftest.c: In function ‘t’:
|
|
conftest.c:13:57: error: ‘GetNetworkParams’ undeclared (first use in this function)
|
|
int t(void) { void ((*volatile p)()); p = (void ((*)()))GetNetworkParams; return !p; }
|
|
^~~~~~~~~~~~~~~~
|
|
conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in
|
|
conftest.c: At top level:
|
|
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
|
|
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
|
|
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: int t(void) { void ((*volatile p)()); p = (void ((*)()))GetNetworkParams; return !p; }
|
|
/* end */
|
|
|
|
"gcc -o conftest.exe -I../../../.ext/include/i386-cygwin -I../../.././include -I../../.././ext/win32/resolv -D_XOPEN_SOURCE -D_GNU_SOURCE -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict conftest.c -L. -L../../.. -L. -fstack-protector -lruby250-static -liphlpapi -lpthread -lgmp -ldl -lcrypt "
|
|
/tmp/ccaNnTSY.o: In function `t':
|
|
/cygdrive/d/Utils/Webdev/ruby/ruby-2.5.1/ext/win32/resolv/conftest.c:14: undefined reference to `GetNetworkParams'
|
|
collect2: error: ld returned 1 exit status
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: /*top*/
|
|
4: extern int t(void);
|
|
5: int main(int argc, char **argv)
|
|
6: {
|
|
7: if (argc > 1000000) {
|
|
8: printf("%p", &t);
|
|
9: }
|
|
10:
|
|
11: return 0;
|
|
12: }
|
|
13: extern void GetNetworkParams();
|
|
14: int t(void) { GetNetworkParams(); return 0; }
|
|
/* end */
|
|
|
|
--------------------
|
|
|