Skip to content

Instantly share code, notes, and snippets.

@pzula
Created March 11, 2014 12:22
Show Gist options
  • Save pzula/9484545 to your computer and use it in GitHub Desktop.
Save pzula/9484545 to your computer and use it in GitHub Desktop.
mkmf.log
pzula checkerboard (master) ✨ cat /Users/pzula/.rvm/src/ruby-2.1.1/ext/psych/mkmf.log
find_header: checking for yaml.h... -------------------- yes
"/usr/bin/clang -E -I../../.ext/include/x86_64-darwin13.0 -I../.././include -I../.././ext/psych -I/usr/local/Cellar/libyaml/0.1.5/include -I/usr/local/Cellar/readline/6.2.4/include -I/usr/local/Cellar/libksba/1.3.0/include -I/usr/local/Cellar/openssl/1.0.1f/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wextra-tokens -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/bin/clang -o conftest -I../../.ext/include/x86_64-darwin13.0 -I../.././include -I../.././ext/psych -I/usr/local/Cellar/libyaml/0.1.5/include -I/usr/local/Cellar/readline/6.2.4/include -I/usr/local/Cellar/libksba/1.3.0/include -I/usr/local/Cellar/openssl/1.0.1f/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wextra-tokens -fno-common -pipe conftest.c -L. -L../.. -L/usr/local/Cellar/libyaml/0.1.5/lib -L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/Cellar/libksba/1.3.0/lib -L/usr/local/Cellar/openssl/1.0.1f/lib -L. -fstack-protector -L/usr/local/Cellar/libyaml/0.1.5/lib -L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/Cellar/libksba/1.3.0/lib -L/usr/local/Cellar/openssl/1.0.1f/lib -lruby.2.1.0-static -framework CoreFoundation -lyaml -lpthread -ldl -lobjc "
conftest.c:13:57: error: use of undeclared identifier 'yaml_get_version'
int t(void) { void ((*volatile p)()); p = (void ((*)()))yaml_get_version; return 0; }
^
1 error generated.
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 ((*)()))yaml_get_version; return 0; }
/* end */
"/usr/bin/clang -o conftest -I../../.ext/include/x86_64-darwin13.0 -I../.././include -I../.././ext/psych -I/usr/local/Cellar/libyaml/0.1.5/include -I/usr/local/Cellar/readline/6.2.4/include -I/usr/local/Cellar/libksba/1.3.0/include -I/usr/local/Cellar/openssl/1.0.1f/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wunused-variable -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wextra-tokens -fno-common -pipe conftest.c -L. -L../.. -L/usr/local/Cellar/libyaml/0.1.5/lib -L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/Cellar/libksba/1.3.0/lib -L/usr/local/Cellar/openssl/1.0.1f/lib -L. -fstack-protector -L/usr/local/Cellar/libyaml/0.1.5/lib -L/usr/local/Cellar/readline/6.2.4/lib -L/usr/local/Cellar/libksba/1.3.0/lib -L/usr/local/Cellar/openssl/1.0.1f/lib -lruby.2.1.0-static -framework CoreFoundation -lyaml -lpthread -ldl -lobjc "
conftest.c:13:15: warning: implicit declaration of function 'yaml_get_version' is invalid in C99 [-Wimplicit-function-declaration]
int t(void) { yaml_get_version(); return 0; }
^
1 warning generated.
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) { yaml_get_version(); return 0; }
/* end */
--------------------
extconf.h is:
/* begin */
1: #ifndef EXTCONF_H
2: #define EXTCONF_H
3: #endif
/* end */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment