Created
January 15, 2013 02:16
-
-
Save sentience/4535464 to your computer and use it in GitHub Desktop.
Output of failed attempt to compile sqlite3 rubygem on OSX 10.8.2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find_header: checking for sqlite3.h... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lruby.1.9.1 -lpthread -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: int main() {return 0;} | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -E -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -o conftest.i" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sqlite3.h> | |
/* end */ | |
-------------------- | |
find_library: checking for sqlite3_libversion_number() in -lsqlite3... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_libversion_number’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_libversion_number; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_libversion_number’ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_libversion_number(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for rb_proc_arity()... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))rb_proc_arity; return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_initialize()... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_initialize’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_initialize; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_initialize’ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_initialize(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_backup_init()... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_backup_init’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_backup_init; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_backup_init’ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_backup_init(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_column_database_name()... -------------------- no | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_column_database_name’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_column_database_name; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_column_database_name’ | |
Undefined symbols for architecture x86_64: | |
"_sqlite3_column_database_name", referenced from: | |
_t in ccHX2VZM.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_column_database_name(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_enable_load_extension()... -------------------- no | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_enable_load_extension’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_enable_load_extension; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_enable_load_extension’ | |
Undefined symbols for architecture x86_64: | |
"_sqlite3_enable_load_extension", referenced from: | |
_t in ccGDd05C.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_enable_load_extension(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_load_extension()... -------------------- no | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_load_extension’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_load_extension; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_load_extension’ | |
Undefined symbols for architecture x86_64: | |
"_sqlite3_load_extension", referenced from: | |
_t in ccRBQlNc.o | |
ld: symbol(s) not found for architecture x86_64 | |
collect2: ld returned 1 exit status | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_load_extension(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_open_v2()... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_open_v2’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_open_v2; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_open_v2’ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_open_v2(); return 0; } | |
/* end */ | |
-------------------- | |
have_func: checking for sqlite3_prepare_v2()... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: error: ‘sqlite3_prepare_v2’ undeclared (first use in this function) | |
conftest.c:5: error: (Each undeclared identifier is reported only once | |
conftest.c:5: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { void ((*volatile p)()); p = (void ((*)()))sqlite3_prepare_v2; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe conftest.c -L. -L/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/lib -L/Users/kyank/.rvm/usr/lib -L. -L/usr/local/lib -L/Users/kyank/.rvm/usr/lib -lsqlite3 -lruby.1.9.1 -lsqlite3 -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:5: warning: implicit declaration of function ‘sqlite3_prepare_v2’ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main() {return 0;} | |
5: int t() { sqlite3_prepare_v2(); return 0; } | |
/* end */ | |
-------------------- | |
have_type: checking for sqlite3_int64 in sqlite3.h... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sqlite3.h> | |
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 | |
"/usr/local/bin/gcc-4.2 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/x86_64-darwin12.2.1 -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1/ruby/backward -I/Users/kyank/.rvm/rubies/ruby-1.9.3-p362/include/ruby-1.9.1 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/Users/kyank/.rvm/usr/include -O3 -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -fno-common -pipe -c conftest.c" | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: #include <sqlite3.h> | |
4: | |
5: /*top*/ | |
6: typedef sqlite3_uint64 conftest_type; | |
7: int conftestval[sizeof(conftest_type)?1:-1]; | |
/* end */ | |
-------------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment