Skip to content

Instantly share code, notes, and snippets.

@aboltart
Created December 2, 2012 09:53
Show Gist options
  • Save aboltart/4187992 to your computer and use it in GitHub Desktop.
Save aboltart/4187992 to your computer and use it in GitHub Desktop.
.rvm/src/ruby-2.0.0-preview2/ext/psych/mkmf.log
find_header: checking for yaml.h... -------------------- yes
"gcc-4.2 -E -I../../.ext/include/x86_64-darwin12.2.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/aabolts/.rvm/usr/include -I/Users/aabolts/.rvm/usr/include -arch i386 -g -Os -pipe -no-cpp-precomp -fno-common 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()... -------------------- -lyaml
"gcc-4.2 -o conftest -I../../.ext/include/x86_64-darwin12.2.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/aabolts/.rvm/usr/include -I/Users/aabolts/.rvm/usr/include -arch i386 -g -Os -pipe -no-cpp-precomp -fno-common conftest.c -L. -L../.. -L/Users/aabolts/.rvm/usr/lib -L. -arch i386 -bind_at_load -fstack-protector -L/usr/local/lib -L/Users/aabolts/.rvm/usr/lib -L/Users/aabolts/.rvm/usr/lib -lruby.2.0.0-static -lyaml -lpthread -ldl -lobjc "
conftest.c: In function ‘t’:
conftest.c:6: error: ‘yaml_get_version’ undeclared (first use in this function)
conftest.c:6: error: (Each undeclared identifier is reported only once
conftest.c:6: error: for each function it appears in.)
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: int t(void) { void ((*volatile p)()); p = (void ((*)()))yaml_get_version; return 0; }
/* end */
"gcc-4.2 -o conftest -I../../.ext/include/x86_64-darwin12.2.0 -I../.././include -I../.././ext/psych -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -I/Users/aabolts/.rvm/usr/include -I/Users/aabolts/.rvm/usr/include -arch i386 -g -Os -pipe -no-cpp-precomp -fno-common conftest.c -L. -L../.. -L/Users/aabolts/.rvm/usr/lib -L. -arch i386 -bind_at_load -fstack-protector -L/usr/local/lib -L/Users/aabolts/.rvm/usr/lib -L/Users/aabolts/.rvm/usr/lib -lruby.2.0.0-static -lyaml -lpthread -ldl -lobjc "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: /*top*/
4: int main(void) {return 0;}
5: extern int t(void);
6: 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