"gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/.rbenv/versions/2.3.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lpthread -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 -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/.rbenv/versions/2.3.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -Werror -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main() {return 0;} /* end */ have_library: checking for gzdopen() in -lz... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/.rbenv/versions/2.3.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lz -lpthread -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return !p; } /* end */ -------------------- have_iconv?: checking for iconv... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/.rbenv/versions/2.3.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lpthread -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: #include 5: 6: int main(void) 7: { 8: iconv_t cd = iconv_open("", ""); 9: iconv(cd, NULL, NULL, NULL, NULL); 10: return EXIT_SUCCESS; 11: } /* end */ -------------------- have_library: checking for main() in -llzma... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/.rbenv/versions/2.3.1/include -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -llzma -lpthread -ldl -lcrypt -lm -lc " 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 ((*)()))main; return !p; } /* end */ -------------------- have_func: checking for xmlParseDoc() in libxml/parser.h... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc; return !p; } /* end */ -------------------- have_func: checking for xsltParseStylesheetDoc() in libxslt/xslt.h... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:15:57: error: ‘xsltParseStylesheetDoc’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xsltParseStylesheetDoc; return !p; } ^ conftest.c:15:57: note: each undeclared identifier is reported only once for each function it appears in checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))xsltParseStylesheetDoc; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: extern void xsltParseStylesheetDoc(); 16: int t(void) { xsltParseStylesheetDoc(); return 0; } /* end */ -------------------- have_func: checking for exsltFuncRegister() in libexslt/exslt.h... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: extern int t(void); 7: int main(int argc, char **argv) 8: { 9: if (argc > 1000000) { 10: printf("%p", &t); 11: } 12: 13: return 0; 14: } 15: int t(void) { void ((*volatile p)()); p = (void ((*)()))exsltFuncRegister; return !p; } /* end */ -------------------- have_func: checking for xmlHasFeature()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlHasFeature’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlHasFeature; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlHasFeature; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlHasFeature(); 14: int t(void) { xmlHasFeature(); return 0; } /* end */ -------------------- have_func: checking for xmlFirstElementChild()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlFirstElementChild’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlFirstElementChild; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlFirstElementChild; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlFirstElementChild(); 14: int t(void) { xmlFirstElementChild(); return 0; } /* end */ -------------------- have_func: checking for xmlRelaxNGSetParserStructuredErrors()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlRelaxNGSetParserStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlRelaxNGSetParserStructuredErrors(); 14: int t(void) { xmlRelaxNGSetParserStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlRelaxNGSetParserStructuredErrors()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlRelaxNGSetParserStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlRelaxNGSetParserStructuredErrors; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlRelaxNGSetParserStructuredErrors(); 14: int t(void) { xmlRelaxNGSetParserStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlRelaxNGSetValidStructuredErrors()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlRelaxNGSetValidStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlRelaxNGSetValidStructuredErrors; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlRelaxNGSetValidStructuredErrors; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlRelaxNGSetValidStructuredErrors(); 14: int t(void) { xmlRelaxNGSetValidStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlSchemaSetValidStructuredErrors()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlSchemaSetValidStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlSchemaSetValidStructuredErrors; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlSchemaSetValidStructuredErrors; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlSchemaSetValidStructuredErrors(); 14: int t(void) { xmlSchemaSetValidStructuredErrors(); return 0; } /* end */ -------------------- have_func: checking for xmlSchemaSetParserStructuredErrors()... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " conftest.c: In function ‘t’: conftest.c:13:57: error: ‘xmlSchemaSetParserStructuredErrors’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))xmlSchemaSetParserStructuredErrors; return !p; } ^ conftest.c:13:57: note: each undeclared identifier is reported only once for each function it appears in 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 ((*)()))xmlSchemaSetParserStructuredErrors; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/x86_64-linux -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0/ruby/backward -I/home/sho/.rbenv/versions/2.3.1/include/ruby-2.3.0 -I. -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/include -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/include/libxml2 -I/home/sho/.rbenv/versions/2.3.1/include "-DNOKOGIRI_LIBXML2_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4\"" "-DNOKOGIRI_LIBXML2_PATCHES=\"\"" "-DNOKOGIRI_LIBXSLT_PATH=\"/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29\"" "-DNOKOGIRI_LIBXSLT_PATCHES=\"\"" -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wno-packed-bitfield-compat -g -DXP_UNIX -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline -DNOKOGIRI_USE_PACKAGED_LIBRARIES conftest.c -L. -L/home/sho/.rbenv/versions/2.3.1/lib -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib -L/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -Wl,-R/home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib -L/usr/lib/x86_64-linux-gnu -Wl,-R/usr/lib/x86_64-linux-gnu -L. -L/home/sho/.rbenv/versions/2.3.1/lib -fstack-protector -rdynamic -Wl,-export-dynamic /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libexslt.a -lm -ldl -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxslt/1.1.29/lib/libxslt.a -ldl -lm -llzma -lz /home/sho/src/tdiary/core/vendor/bundle/gems/nokogiri-1.6.8/ports/x86_64-pc-linux-gnu/libxml2/2.9.4/lib/libxml2.a -llzma -lpthread -ldl -lcrypt -lm -lc " 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 xmlSchemaSetParserStructuredErrors(); 14: int t(void) { xmlSchemaSetParserStructuredErrors(); return 0; } /* end */ --------------------