have_header: checking for expat.h… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -lpthread -lrt -ldl -lcrypt -lm -lc” checked program was:
begin
1: include “ruby.h” 2: 3: int main(int argc, char **argv) 4: { 5: return 0; 6: }
end
“gcc -E -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard conftest.c -o conftest.i” checked program was: /* begin */ 1: include “ruby.h” 2: 3: include <expat.h> /* end */
have_library: checking for XML_ParserCreate() in -lexpat… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_ParserCreate' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_ParserCreate; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_ParserCreate; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_ParserCreate; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_ParserCreate' [-Wimplicit-function-declaration]
int t(void) { XML_ParserCreate(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_ParserCreate(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_SetNotStandaloneHandler()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_SetNotStandaloneHandler' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetNotStandaloneHandler; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetNotStandaloneHandler; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetNotStandaloneHandler; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_SetNotStandaloneHandler' [-Wimplicit-function-declaration]
int t(void) { XML_SetNotStandaloneHandler(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_SetNotStandaloneHandler(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_SetParamEntityParsing()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_SetParamEntityParsing' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetParamEntityParsing; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetParamEntityParsing; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetParamEntityParsing; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_SetParamEntityParsing' [-Wimplicit-function-declaration]
int t(void) { XML_SetParamEntityParsing(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_SetParamEntityParsing(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_SetDoctypeDeclHandler()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_SetDoctypeDeclHandler' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetDoctypeDeclHandler; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetDoctypeDeclHandler; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetDoctypeDeclHandler; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_SetDoctypeDeclHandler' [-Wimplicit-function-declaration]
int t(void) { XML_SetDoctypeDeclHandler(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_SetDoctypeDeclHandler(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_ParserReset()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_ParserReset' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_ParserReset; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_ParserReset; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_ParserReset; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_ParserReset' [-Wimplicit-function-declaration]
int t(void) { XML_ParserReset(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_ParserReset(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_SetSkippedEntityHandler()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_SetSkippedEntityHandler' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetSkippedEntityHandler; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetSkippedEntityHandler; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_SetSkippedEntityHandler; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_SetSkippedEntityHandler' [-Wimplicit-function-declaration]
int t(void) { XML_SetSkippedEntityHandler(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_SetSkippedEntityHandler(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_GetFeatureList()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_GetFeatureList' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_GetFeatureList; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_GetFeatureList; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_GetFeatureList; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_GetFeatureList' [-Wimplicit-function-declaration]
int t(void) { XML_GetFeatureList(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_GetFeatureList(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_UseForeignDTD()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_UseForeignDTD' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_UseForeignDTD; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_UseForeignDTD; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_UseForeignDTD; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_UseForeignDTD' [-Wimplicit-function-declaration]
int t(void) { XML_UseForeignDTD(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_UseForeignDTD(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_func: checking for XML_GetIdAttributeIndex()… ——————– yes
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'XML_GetIdAttributeIndex' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_GetIdAttributeIndex; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_GetIdAttributeIndex; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))XML_GetIdAttributeIndex; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'XML_GetIdAttributeIndex' [-Wimplicit-function-declaration]
int t(void) { XML_GetIdAttributeIndex(); return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { XML_GetIdAttributeIndex(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
have_library: checking for ntohl() in -lsocket… ——————– no
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lsocket -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:57: error: 'ntohl' undeclared (first use in this function)
int t(void) { void ((*volatile p)()); p = (void ((*)()))ntohl; return 0; } ^
conftest.c:5:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c:5:32: warning: variable 'p' set but not used [-Wunused-but-set-variable]
int t(void) { void ((*volatile p)()); p = (void ((*)()))ntohl; return 0; } ^
checked program was: /* begin */
1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int t(void) { void ((*volatile p)()); p = (void ((*)()))ntohl; return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */
“gcc -o conftest -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong –param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DNEW_EXPAT -DXML_DTD conftest.c -L. -L/usr/lib -L. -Wl,-z,relro -fstack-protector -rdynamic -Wl,-export-dynamic -lexpat -lruby -lsocket -lexpat -lpthread -lrt -ldl -lcrypt -lm -lc” conftest.c: In function 't': conftest.c:5:1: warning: implicit declaration of function 'ntohl' [-Wimplicit-function-declaration]
int t(void) { ntohl(); return 0; } ^
/usr/bin/ld: cannot find -lsocket 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 t(void) { ntohl(); return 0; } 6: int main(int argc, char **argv) 7: { 8: if (argc > 1000000) { 9: printf("%p", &t);
10: } 11: 12: return 0; 13: } /* end */