Skip to content

Instantly share code, notes, and snippets.

@linjunpop
Created July 10, 2012 07:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save linjunpop/3081933 to your computer and use it in GitHub Desktop.
Save linjunpop/3081933 to your computer and use it in GitHub Desktop.
fail to build ruby18_source_location native extensions on rbx-1.2.4
/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/bin/rbx extconf.rb
creating Makefile
make
gcc -I. -I/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/include -I/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/include -I. -I'/usr/local/Cellar/rbenv/0.3.0/versions/rbx-1.2.4/include' -fPIC -ggdb3 -O2 -fPIC -c ruby18_source_location.c
ruby18_source_location.c:2:18: error: node.h: No such file or directory
ruby18_source_location.c:24: error: expected specifier-qualifier-list before ‘NODE’
ruby18_source_location.c:28: error: expected specifier-qualifier-list before ‘NODE’
ruby18_source_location.c: In function ‘Init_ruby18_source_location’:
ruby18_source_location.c:54: error: ‘rb_cUnboundMethod’ undeclared (first use in this function)
ruby18_source_location.c:54: error: (Each undeclared identifier is reported only once
ruby18_source_location.c:54: error: for each function it appears in.)
ruby18_source_location.c: At top level:
ruby18_source_location.c:60: error: expected ‘)’ before ‘*’ token
ruby18_source_location.c: In function ‘method_source_location’:
ruby18_source_location.c:91: error: ‘NODE’ undeclared (first use in this function)
ruby18_source_location.c:91: error: ‘node’ undeclared (first use in this function)
ruby18_source_location.c:95: error: ‘struct METHOD’ has no member named ‘body’
ruby18_source_location.c:100: error: ‘NODE_CFUNC’ undeclared (first use in this function)
ruby18_source_location.c:104: error: ‘NODE_IVAR’ undeclared (first use in this function)
ruby18_source_location.c:105: error: ‘NODE_ATTRSET’ undeclared (first use in this function)
ruby18_source_location.c:116: error: ‘NODE_SCOPE’ undeclared (first use in this function)
ruby18_source_location.c:117: error: expected expression before ‘)’ token
ruby18_source_location.c:120: error: ‘NODE_DMETHOD’ undeclared (first use in this function)
ruby18_source_location.c:124: error: ‘NODE_BMETHOD’ undeclared (first use in this function)
ruby18_source_location.c: In function ‘proc_source_location’:
ruby18_source_location.c:145: error: ‘NODE’ undeclared (first use in this function)
ruby18_source_location.c:145: error: ‘node’ undeclared (first use in this function)
ruby18_source_location.c:149: error: ‘struct BLOCK’ has no member named ‘frame’
ruby18_source_location.c:149: error: ‘NODE_ITER’ undeclared (first use in this function)
ruby18_source_location.c:153: error: ‘struct BLOCK’ has no member named ‘body’
ruby18_source_location.c:153: error: ‘NODE_IFUNC’ undeclared (first use in this function)
make: *** [ruby18_source_location.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment