package configuration for sqlite3 is not found find_header: checking for sqlite3.h... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -o conftest.i" checked program was: /* begin */ 1: #include "ruby.h" 2: 3: #include /* end */ -------------------- find_library: checking for pthread_create() in -lpthread... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14:57: error: ‘pthread_create’ undeclared (first use in this function); did you mean ‘rb_thread_create’? int t(void) { void ((*volatile p)()); p = (void ((*)()))pthread_create; return !p; } ^~~~~~~~~~~~~~ rb_thread_create conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))pthread_create; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void pthread_create(); 15: int t(void) { pthread_create(); return 0; } /* end */ -------------------- have_library: checking for -ldl... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: 15: int t(void) { ; return 0; } /* end */ -------------------- find_library: checking for sqlite3_libversion_number() in -lsqlite3... -------------------- yes "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_libversion_number(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14:57: error: ‘sqlite3_initialize’ undeclared (first use in this function); did you mean ‘rb_struct_initialize’? int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return !p; } ^~~~~~~~~~~~~~~~~~ rb_struct_initialize conftest.c:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_initialize(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_backup_init(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_column_database_name(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_enable_load_extension(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_load_extension(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_open_v2; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_open_v2(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -lm -lc" conftest.c: In function ‘t’: conftest.c:14: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:14:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ 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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_prepare_v2; return !p; } /* end */ "gcc -o conftest -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT conftest.c -L. -L/home/sho/.rbenv/versions/2.6.6/lib -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L. -L/home/sho/.rbenv/versions/2.6.6/lib -fstack-protector-strong -rdynamic -Wl,-export-dynamic -lsqlite3 -ldl -lpthread -Wl,-rpath,/home/sho/.rbenv/versions/2.6.6/lib -L/home/sho/.rbenv/versions/2.6.6/lib -lruby -lsqlite3 -ldl -lpthread -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: int (* volatile tp)(void)=(int (*)(void))&t; 9: printf("%d", (*tp)()); 10: } 11: 12: return 0; 13: } 14: extern void sqlite3_prepare_v2(); 15: 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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT -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.6.6/include/ruby-2.6.0/x86_64-linux -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0/ruby/backward -I/home/sho/.rbenv/versions/2.6.6/include/ruby-2.6.0 -I. -I/home/sho/.rbenv/versions/2.6.6/include -O3 -ggdb3 -Wall -Wextra -Wdeclaration-after-statement -Wdeprecated-declarations -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wrestrict -Wwrite-strings -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -fPIC -DTAINTING_SUPPORT -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 */ --------------------