Created
August 20, 2013 01:12
-
-
Save pferrel/6276028 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Maclaurin:guide pat$ cat /Users/pat/.rvm/src/ruby-1.9.3-p448/ext/{*yaml,psych}/*.log | |
cat: /Users/pat/.rvm/src/ruby-1.9.3-p448/ext/*yaml/*.log: No such file or directory | |
find_header: checking for yaml.h... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -E -I../../.ext/include/x86_64-darwin12.4.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/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 <yaml.h> | |
/* end */ | |
-------------------- | |
find_library: checking for yaml_get_version() in -lyaml... -------------------- yes | |
"/usr/local/bin/gcc-4.2 -o conftest -I../../.ext/include/x86_64-darwin12.4.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/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../.. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L. -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -lruby.1.9.1-static -lyaml -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:9: error: ‘yaml_get_version’ undeclared (first use in this function) | |
conftest.c:9: error: (Each undeclared identifier is reported only once | |
conftest.c:9: error: for each function it appears in.) | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main(int argc, char **argv) | |
5: { | |
6: return 0; | |
7: } | |
8: extern int t(void); | |
9: int t(void) { void ((*volatile p)()); p = (void ((*)()))yaml_get_version; return 0; } | |
/* end */ | |
"/usr/local/bin/gcc-4.2 -o conftest -I../../.ext/include/x86_64-darwin12.4.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/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../.. -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L. -L/usr/local/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -lruby.1.9.1-static -lyaml -lpthread -ldl -lobjc " | |
conftest.c: In function ‘t’: | |
conftest.c:9: warning: implicit declaration of function ‘yaml_get_version’ | |
checked program was: | |
/* begin */ | |
1: #include "ruby.h" | |
2: | |
3: /*top*/ | |
4: int main(int argc, char **argv) | |
5: { | |
6: return 0; | |
7: } | |
8: extern int t(void); | |
9: int t(void) { yaml_get_version(); return 0; } | |
/* end */ | |
-------------------- | |
extconf.h is: | |
/* begin */ | |
1: #ifndef EXTCONF_H | |
2: #define EXTCONF_H | |
3: #endif | |
/* end */ | |
Maclaurin:guide pat$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment