find_header: checking for yaml.h... -------------------- yes "/opt/local/bin/gcc-apple-4.2 -o conftest -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/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/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/lib -L/opt/local/lib -L. -L/usr/local/lib -L/opt/local/lib -lruby.1.9.1 -lpthread -ldl -lobjc " checked program was: /* begin */ 1: #include "ruby.h" 2: 3: int main() {return 0;} /* end */ "/opt/local/bin/gcc-apple-4.2 -E -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/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 /* end */ -------------------- find_library: checking for yaml_get_version() in -lyaml... -------------------- yes "/opt/local/bin/gcc-apple-4.2 -o conftest -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/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/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/lib -L/opt/local/lib -L. -L/usr/local/lib -L/opt/local/lib -lruby.1.9.1 -lyaml -lpthread -ldl -lobjc " conftest.c: In function 't': conftest.c:5: error: 'yaml_get_version' 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 ((*)()))yaml_get_version; return 0; } /* end */ "/opt/local/bin/gcc-apple-4.2 -o conftest -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/x86_64-darwin12.3.0 -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1/ruby/backward -I/Users/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/include/ruby-1.9.1 -I../../../../ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/opt/local/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/dylanlacey/.rvm/rubies/ruby-1.9.3-p392/lib -L/opt/local/lib -L. -L/usr/local/lib -L/opt/local/lib -lruby.1.9.1 -lyaml -lpthread -ldl -lobjc " conftest.c: In function 't': conftest.c:5: warning: implicit declaration of function 'yaml_get_version' checked program was: /* begin */ 1: #include "ruby.h" 2: 3: /*top*/ 4: int main() {return 0;} 5: int t() { yaml_get_version(); return 0; } /* end */ --------------------