find_header: checking for sqlite3.h... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lpthread -ljemalloc -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 -E -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g 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/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_libversion_number(); return 0; } /* end */ -------------------- have_func: checking for rb_proc_arity()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_proc_arity; return 0; } /* end */ -------------------- have_func: checking for rb_integer_pack()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_integer_pack; return 0; } /* end */ -------------------- have_func: checking for sqlite3_initialize()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -lgmp -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_initialize(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_backup_init()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_backup_init(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_column_database_name()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_column_database_name(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_enable_load_extension()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_enable_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_load_extension()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_load_extension(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_open_v2()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_open_v2(); return 0; } /* end */ -------------------- have_func: checking for sqlite3_prepare_v2()... -------------------- yes "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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 0; } ^ 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 0; } /* end */ "gcc -o conftest -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g conftest.c -L. -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L. -fstack-protector -rdynamic -Wl,-export-dynamic -lsqlite3 -Wl,-R/home/jhawthorn/.rubies/ruby-2.2.2/lib -L/home/jhawthorn/.rubies/ruby-2.2.2/lib -lruby-static -lsqlite3 -lpthread -ljemalloc -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: int t(void) { sqlite3_prepare_v2(); return 0; } /* end */ -------------------- have_type: checking for sqlite3_int64 in sqlite3.h... -------------------- yes "gcc -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g -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/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/x86_64-linux -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0/ruby/backward -I/home/jhawthorn/.rubies/ruby-2.2.2/include/ruby-2.2.0 -I. -O3 -march=native -g -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 */ --------------------