Skip to content

Instantly share code, notes, and snippets.

@ThroughTheNet
Created January 31, 2012 14:17
Show Gist options
  • Save ThroughTheNet/1710715 to your computer and use it in GitHub Desktop.
Save ThroughTheNet/1710715 to your computer and use it in GitHub Desktop.
binding_of_caller build failure log
/Users/jonnie/.rbenv/versions/1.8.7-p352/bin/ruby extconf.rb
creating Makefile
make
/usr/bin/gcc-4.2 -I. -I/Users/jonnie/.rbenv/versions/1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I/Users/jonnie/.rbenv/versions/1.8.7-p352/lib/ruby/1.8/i686-darwin11.1.0 -I. -I'/Users/jonnie/.rbenv/versions/1.8.7-p352/include' -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -g -O2 -pipe -fno-common -O0 -std=c99 -c binding_of_caller.c
binding_of_caller.c:4:21: error: vm_core.h: No such file or directory
binding_of_caller.c:5:16: error: gc.h: No such file or directory
binding_of_caller.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
binding_of_caller.c: In function ‘binding_memsize’:
binding_of_caller.c:33: error: ‘rb_binding_t’ undeclared (first use in this function)
binding_of_caller.c:33: error: (Each undeclared identifier is reported only once
binding_of_caller.c:33: error: for each function it appears in.)
binding_of_caller.c: In function ‘binding_free’:
binding_of_caller.c:39: error: ‘rb_binding_t’ undeclared (first use in this function)
binding_of_caller.c:39: error: ‘bind’ undeclared (first use in this function)
binding_of_caller.c:40: warning: implicit declaration of function ‘RUBY_FREE_ENTER’
binding_of_caller.c:45: warning: implicit declaration of function ‘RUBY_FREE_LEAVE’
binding_of_caller.c: In function ‘binding_mark’:
binding_of_caller.c:51: error: ‘rb_binding_t’ undeclared (first use in this function)
binding_of_caller.c:51: error: ‘bind’ undeclared (first use in this function)
binding_of_caller.c:52: warning: implicit declaration of function ‘RUBY_MARK_ENTER’
binding_of_caller.c:55: warning: implicit declaration of function ‘RUBY_MARK_UNLESS_NULL’
binding_of_caller.c:58: warning: implicit declaration of function ‘RUBY_MARK_LEAVE’
binding_of_caller.c: At top level:
binding_of_caller.c:61: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘binding_data_type’
binding_of_caller.c: In function ‘binding_alloc’:
binding_of_caller.c:72: error: ‘rb_binding_t’ undeclared (first use in this function)
binding_of_caller.c:72: error: ‘bind’ undeclared (first use in this function)
binding_of_caller.c:73: warning: implicit declaration of function ‘TypedData_Make_Struct’
binding_of_caller.c:73: error: ‘binding_data_type’ undeclared (first use in this function)
binding_of_caller.c: At top level:
binding_of_caller.c:77: error: expected ‘)’ before ‘*’ token
binding_of_caller.c:81: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
binding_of_caller.c: In function ‘frametype_name’:
binding_of_caller.c:99: error: ‘VM_FRAME_MAGIC_MASK’ undeclared (first use in this function)
binding_of_caller.c:100: error: ‘VM_FRAME_MAGIC_METHOD’ undeclared (first use in this function)
binding_of_caller.c:101: error: ‘VM_FRAME_MAGIC_BLOCK’ undeclared (first use in this function)
binding_of_caller.c:102: error: ‘VM_FRAME_MAGIC_CLASS’ undeclared (first use in this function)
binding_of_caller.c:103: error: ‘VM_FRAME_MAGIC_TOP’ undeclared (first use in this function)
binding_of_caller.c:104: error: ‘VM_FRAME_MAGIC_FINISH’ undeclared (first use in this function)
binding_of_caller.c:105: error: ‘VM_FRAME_MAGIC_CFUNC’ undeclared (first use in this function)
binding_of_caller.c:106: error: ‘VM_FRAME_MAGIC_PROC’ undeclared (first use in this function)
binding_of_caller.c:107: error: ‘VM_FRAME_MAGIC_IFUNC’ undeclared (first use in this function)
binding_of_caller.c:108: error: ‘VM_FRAME_MAGIC_EVAL’ undeclared (first use in this function)
binding_of_caller.c:109: error: ‘VM_FRAME_MAGIC_LAMBDA’ undeclared (first use in this function)
binding_of_caller.c: In function ‘binding_of_caller’:
binding_of_caller.c:117: error: ‘rb_thread_t’ undeclared (first use in this function)
binding_of_caller.c:117: error: ‘th’ undeclared (first use in this function)
binding_of_caller.c:118: warning: implicit declaration of function ‘GetThreadPtr’
binding_of_caller.c:120: error: ‘rb_control_frame_t’ undeclared (first use in this function)
binding_of_caller.c:120: error: ‘cfp’ undeclared (first use in this function)
binding_of_caller.c:120: warning: implicit declaration of function ‘RUBY_VM_PREVIOUS_CONTROL_FRAME’
binding_of_caller.c:121: error: ‘limit_cfp’ undeclared (first use in this function)
binding_of_caller.c:132: warning: implicit declaration of function ‘valid_frame_p’
binding_of_caller.c:133: warning: implicit declaration of function ‘find_valid_frame’
binding_of_caller.c:137: error: ‘rb_binding_t’ undeclared (first use in this function)
binding_of_caller.c:137: error: ‘bind’ undeclared (first use in this function)
binding_of_caller.c:142: warning: implicit declaration of function ‘GetBindingPtr’
binding_of_caller.c:143: warning: implicit declaration of function ‘rb_vm_make_env_object’
binding_of_caller.c:145: warning: implicit declaration of function ‘rb_vm_get_sourceline’
binding_of_caller.c: In function ‘frame_count’:
binding_of_caller.c:167: error: ‘rb_thread_t’ undeclared (first use in this function)
binding_of_caller.c:167: error: ‘th’ undeclared (first use in this function)
binding_of_caller.c:170: error: ‘rb_control_frame_t’ undeclared (first use in this function)
binding_of_caller.c:170: error: ‘cfp’ undeclared (first use in this function)
binding_of_caller.c:171: error: ‘limit_cfp’ undeclared (first use in this function)
make: *** [binding_of_caller.o] Error 1
➜ ~ ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
➜ ~ uname -a
Darwin ttn-mini.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64
➜ ~ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.12
- RUBY VERSION: 1.9.3 (2011-10-30 patchlevel 0) [x86_64-darwin11.2.0]
- INSTALLATION DIRECTORY: /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1
- RUBY EXECUTABLE: /Users/jonnie/.rbenv/versions/1.9.3-p0/bin/ruby
- EXECUTABLE DIRECTORY: /Users/jonnie/.rbenv/versions/1.9.3-p0/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86_64-darwin-11
- GEM PATHS:
- /Users/jonnie/.rbenv/versions/1.9.3-p0/lib/ruby/gems/1.9.1
- /Users/jonnie/.gem/ruby/1.9.1
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- "gem" => "--no-ri --no-rdoc"
- :sources => ["http://gemcutter.org"]
- REMOTE SOURCES:
- http://gemcutter.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment