Advertisement
Guest User

mkmf log

a guest
Sep 3rd, 2015
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 KB | None | 0 0
  1. have_func: checking for rb_thread_blocking_region()... -------------------- no
  2.  
  3. "gcc -o conftest -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/x86_64-darwin14 -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/ruby/backward -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -I/Users/haven/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 -pipe conftest.c -L. -L/Users/name/.rvm/rubies/ruby-2.2.1/lib -L. -L/Users/haven/.sm/pkg/active/lib -fPIC -Bstatic -lz -fstack-protector -arch x86_64 -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
  4. conftest.c:13:57: error: use of undeclared identifier 'rb_thread_blocking_region'
  5. int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
  6. ^
  7. 1 error generated.
  8. checked program was:
  9. /* begin */
  10. 1: #include "ruby.h"
  11. 2:
  12. 3: /*top*/
  13. 4: extern int t(void);
  14. 5: int main(int argc, char **argv)
  15. 6: {
  16. 7: if (argc > 1000000) {
  17. 8: printf("%p", &t);
  18. 9: }
  19. 10:
  20. 11: return 0;
  21. 12: }
  22. 13: int t(void) { void ((*volatile p)()); p = (void ((*)()))rb_thread_blocking_region; return 0; }
  23. /* end */
  24.  
  25. "gcc -o conftest -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/x86_64-darwin14 -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0/ruby/backward -I/Users/name/.rvm/rubies/ruby-2.2.1/include/ruby-2.2.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -I/Users/haven/.sm/pkg/active/include -fPIC -mmacosx-version-min=10.7 -pipe conftest.c -L. -L/Users/name/.rvm/rubies/ruby-2.2.1/lib -L. -L/Users/haven/.sm/pkg/active/lib -fPIC -Bstatic -lz -fstack-protector -arch x86_64 -lruby-static -framework CoreFoundation -lpthread -ldl -lobjc "
  26. conftest.c:13:15: warning: implicit declaration of function 'rb_thread_blocking_region' is invalid in C99 [-Wimplicit-function-declaration]
  27. int t(void) { rb_thread_blocking_region(); return 0; }
  28. ^
  29. 1 warning generated.
  30. ld: warning: directory not found for option '-L/Users/haven/.sm/pkg/active/lib'
  31. Undefined symbols for architecture x86_64:
  32. "_rb_thread_blocking_region", referenced from:
  33. _t in conftest-cabe55.o
  34. ld: symbol(s) not found for architecture x86_64
  35. clang: error: linker command failed with exit code 1 (use -v to see invocation)
  36. checked program was:
  37. /* begin */
  38. 1: #include "ruby.h"
  39. 2:
  40. 3: /*top*/
  41. 4: extern int t(void);
  42. 5: int main(int argc, char **argv)
  43. 6: {
  44. 7: if (argc > 1000000) {
  45. 8: printf("%p", &t);
  46. 9: }
  47. 10:
  48. 11: return 0;
  49. 12: }
  50. 13: int t(void) { rb_thread_blocking_region(); return 0; }
  51. /* end */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement