find_header: checking for sqlite3.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/.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 -E -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 -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- find_library: checking for sqlite3_libversion_number() in -lsqlite3... -------------------- 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 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 -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_libversion_number’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; 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 ((*)()))sqlite3_libversion_number; 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/.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 -lsqlite3 -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 sqlite3_libversion_number(); 14: int t(void) { sqlite3_libversion_number(); return 0; } /* end */ -------------------- have_func: checking for rb_proc_arity()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 ((*)()))rb_proc_arity; return !p; } /* end */ -------------------- have_func: checking for rb_integer_pack()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 ((*)()))rb_integer_pack; return !p; } /* end */ -------------------- have_func: checking for sqlite3_initialize()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_initialize’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; 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 ((*)()))sqlite3_initialize; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_initialize(); 14: int t(void) { sqlite3_initialize(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_backup_init()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_backup_init’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; 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 ((*)()))sqlite3_backup_init; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_backup_init(); 14: int t(void) { sqlite3_backup_init(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_column_database_name()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_column_database_name’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; 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 ((*)()))sqlite3_column_database_name; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_column_database_name(); 14: int t(void) { sqlite3_column_database_name(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_enable_load_extension()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_enable_load_extension’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; 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 ((*)()))sqlite3_enable_load_extension; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_enable_load_extension(); 14: int t(void) { sqlite3_enable_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_load_extension()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_load_extension’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; 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 ((*)()))sqlite3_load_extension; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_load_extension(); 14: int t(void) { sqlite3_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_open_v2()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_open_v2’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_open_v2; 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 ((*)()))sqlite3_open_v2; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_open_v2(); 14: int t(void) { sqlite3_open_v2(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_prepare_v2()... -------------------- 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 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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -lpthread -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:57: error: ‘sqlite3_prepare_v2’ undeclared (first use in this function) int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_prepare_v2; 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 ((*)()))sqlite3_prepare_v2; 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/.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 -lsqlite3 -Wl,-R/home/sho/.rbenv/versions/2.3.1/lib -L/home/sho/.rbenv/versions/2.3.1/lib -lruby-static -lsqlite3 -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 sqlite3_prepare_v2(); 14: int t(void) { sqlite3_prepare_v2(); return 0; } /* end */ -------------------- have_type: checking for sqlite3_int64 in sqlite3.h... -------------------- yes "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 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: typedef sqlite3_int64 conftest_type; 7: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ -------------------- have_type: checking for sqlite3_uint64 in sqlite3.h... -------------------- yes "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 -c conftest.c" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include 4: 5: /*top*/ 6: typedef sqlite3_uint64 conftest_type; 7: int conftestval[sizeof(conftest_type)?1:-1]; /* end */ --------------------