"pkg-config --exists sqlite3" | pkg-config --libs sqlite3 => "-lsqlite3 \n" "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lpthread -lgmp -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 -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lgmp -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 */ | pkg-config --cflags-only-I sqlite3 => "\n" | pkg-config --cflags-only-other sqlite3 => "\n" | pkg-config --libs-only-l sqlite3 => "-lsqlite3 \n" package configuration for sqlite3 cflags: ldflags: libs: -lsqlite3 find_header: checking for sqlite3.h... -------------------- yes "gcc -E -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC 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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lpthread -lsqlite3 -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13: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:13:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))pthread_create; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lpthread -lsqlite3 -lpthread -lgmp -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 pthread_create(); 14: int t(void) { pthread_create(); return 0; } /* end */ -------------------- find_library: checking for sqlite3_libversion_number() in -lsqlite3... -------------------- yes "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:43: warning: cast between incompatible function types from ‘int (*)(VALUE)’ {aka ‘int (*)(long unsigned int)’} to ‘void (*)()’ [-Wcast-function-type] int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_proc_arity; return !p; } ^ conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_proc_arity; return !p; } /* end */ -------------------- have_func: checking for rb_integer_pack()... -------------------- yes "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13:43: warning: cast between incompatible function types from ‘int (*)(VALUE, void *, size_t, size_t, size_t, int)’ {aka ‘int (*)(long unsigned int, void *, long unsigned int, long unsigned int, long unsigned int, int)’} to ‘void (*)()’ [-Wcast-function-type] int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_integer_pack; return !p; } ^ conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_integer_pack; return !p; } /* end */ -------------------- have_func: checking for sqlite3_initialize()... -------------------- yes "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -ldl -lcrypt -lm -lc" conftest.c: In function ‘t’: conftest.c:13: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:13:57: note: each undeclared identifier is reported only once for each function it appears in conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_open_v2; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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 conftest.c: At top level: cc1: warning: unrecognized command line option ‘-Wno-self-assign’ cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’ cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’ checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: extern int t(void); 5: int main(int argc, char **argv) 6: { 7: if (argc > 1000000) { 8: printf("%p", &t); 9: } 10: 11: return 0; 12: } 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))sqlite3_prepare_v2; return !p; } /* end */ "gcc -o conftest -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC conftest.c -L. -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -lpthread -lsqlite3 -Wl,-rpath,/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -L/home/arielschvartz/.rvm/rubies/ruby-2.5.0/lib -lruby -lsqlite3 -lpthread -lsqlite3 -lpthread -lgmp -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -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/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/x86_64-linux -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0/ruby/backward -I/home/arielschvartz/.rvm/rubies/ruby-2.5.0/include/ruby-2.5.0 -I. -O3 -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration -Wdeprecated-declarations -Wmisleading-indentation -Wno-packed-bitfield-compat -Wsuggest-attribute=noreturn -Wsuggest-attribute=format -Wimplicit-fallthrough=0 -Wduplicated-cond -Wrestrict -fPIC -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 */ --------------------