Report abuse

visitor.cpp:6:18: error: ruby.h: No such file or directory
In file included from internal.hpp:37,
                 from grammar.hpp:4,
                 from visitor.cpp:8:
node.hpp:29: error:VALUE’ does not name a type
node.hpp:37: error:VALUE’ does not name a type
node.hpp:44: error:VALUE’ does not name a type
In file included from grammar.hpp:4,
                 from visitor.cpp:8:
internal.hpp:61: error:ID’ does not name a type
internal.hpp:96: error: ISO C++ forbids declaration of ‘ID’ with no type
internal.hpp:96: error: expected ‘;’ before ‘*’ token
internal.hpp:110: error:VALUE’ does not name a type
internal.hpp:111: error:VALUE’ does not name a type
In file included from visitor.cpp:8:
grammar.hpp:8: error:VALUE’ does not name a type
grammar.hpp:9: error:VALUE’ does not name a type
In file included from visitor.cpp:9:
visitor.hpp:13: error:VALUE’ has not been declared
visitor.hpp:13: error:VALUE’ has not been declared
visitor.hpp:13: error:VALUE’ has not been declared
In file included from visitor.cpp:10:
symbols.hpp:9: error:ID’ does not name a type
symbols.hpp:10: error:ID’ does not name a type
symbols.hpp:12: error:ID’ does not name a type
symbols.hpp:13: error:ID’ does not name a type
symbols.hpp:14: error:ID’ does not name a type
symbols.hpp:15: error:ID’ does not name a type
symbols.hpp:16: error:ID’ does not name a type
symbols.hpp:17: error:ID’ does not name a type
symbols.hpp:18: error:ID’ does not name a type
symbols.hpp:19: error:ID’ does not name a type
symbols.hpp:20: error:ID’ does not name a type
symbols.hpp:21: error:ID’ does not name a type
symbols.hpp:22: error:ID’ does not name a type
symbols.hpp:23: error:ID’ does not name a type
symbols.hpp:24: error:ID’ does not name a type
symbols.hpp:25: error:ID’ does not name a type
symbols.hpp:26: error:ID’ does not name a type
symbols.hpp:27: error:ID’ does not name a type
symbols.hpp:28: error:ID’ does not name a type
symbols.hpp:29: error:ID’ does not name a type
symbols.hpp:30: error:ID’ does not name a type
symbols.hpp:31: error:ID’ does not name a type
symbols.hpp:32: error:ID’ does not name a type
symbols.hpp:33: error:ID’ does not name a type
symbols.hpp:34: error:ID’ does not name a type
symbols.hpp:35: error:ID’ does not name a type
symbols.hpp:36: error:ID’ does not name a type
symbols.hpp:37: error:ID’ does not name a type
symbols.hpp:38: error:ID’ does not name a type
symbols.hpp:39: error:ID’ does not name a type
symbols.hpp:40: error:ID’ does not name a type
symbols.hpp:41: error:ID’ does not name a type
symbols.hpp:42: error:ID’ does not name a type
symbols.hpp:43: error:ID’ does not name a type
symbols.hpp:44: error:ID’ does not name a type
symbols.hpp:45: error:ID’ does not name a type
symbols.hpp:46: error:ID’ does not name a type
symbols.hpp:47: error:ID’ does not name a type
symbols.hpp:48: error:ID’ does not name a type
symbols.hpp:49: error:ID’ does not name a type
symbols.hpp:50: error:ID’ does not name a type
symbols.hpp:51: error:ID’ does not name a type
symbols.hpp:52: error:ID’ does not name a type
symbols.hpp:53: error:ID’ does not name a type
symbols.hpp:54: error:ID’ does not name a type
symbols.hpp:55: error:ID’ does not name a type
symbols.hpp:56: error:ID’ does not name a type
symbols.hpp:57: error:ID’ does not name a type
symbols.hpp:58: error:ID’ does not name a type
symbols.hpp:59: error:ID’ does not name a type
symbols.hpp:60: error:ID’ does not name a type
symbols.hpp:61: error:ID’ does not name a type
symbols.hpp:62: error:ID’ does not name a type
symbols.hpp:63: error:ID’ does not name a type
symbols.hpp:64: error:ID’ does not name a type
symbols.hpp:65: error:ID’ does not name a type
symbols.hpp:66: error:ID’ does not name a type
symbols.hpp:67: error:ID’ does not name a type
symbols.hpp:68: error:ID’ does not name a type
symbols.hpp:69: error:ID’ does not name a type
symbols.hpp:70: error:ID’ does not name a type
symbols.hpp:71: error:ID’ does not name a type
symbols.hpp:72: error:ID’ does not name a type
symbols.hpp:73: error:ID’ does not name a type
symbols.hpp:74: error:ID’ does not name a type
symbols.hpp:75: error:ID’ does not name a type
symbols.hpp:76: error:ID’ does not name a type
symbols.hpp:77: error:ID’ does not name a type
symbols.hpp:78: error:ID’ does not name a type
symbols.hpp:79: error:ID’ does not name a type
symbols.hpp:80: error:ID’ does not name a type
symbols.hpp:81: error:ID’ does not name a type
symbols.hpp:82: error:ID’ does not name a type
symbols.hpp:83: error:ID’ does not name a type
symbols.hpp:84: error:ID’ does not name a type
symbols.hpp:85: error:ID’ does not name a type
symbols.hpp:86: error:ID’ does not name a type
symbols.hpp:87: error:ID’ does not name a type
symbols.hpp:88: error:ID’ does not name a type
symbols.hpp:89: error:ID’ does not name a type
symbols.hpp:90: error:ID’ does not name a type
symbols.hpp:91: error:ID’ does not name a type
symbols.hpp:92: error:ID’ does not name a type
symbols.hpp:93: error:ID’ does not name a type
symbols.hpp:94: error:ID’ does not name a type
symbols.hpp:95: error:ID’ does not name a type
symbols.hpp:96: error:ID’ does not name a type
symbols.hpp:97: error:ID’ does not name a type
symbols.hpp:98: error:ID’ does not name a type
symbols.hpp:99: error:ID’ does not name a type
symbols.hpp:100: error:ID’ does not name a type
symbols.hpp:101: error:ID’ does not name a type
symbols.hpp:102: error:ID’ does not name a type
symbols.hpp:103: error:ID’ does not name a type
symbols.hpp:104: error:ID’ does not name a type
symbols.hpp:105: error:ID’ does not name a type
symbols.hpp:106: error:ID’ does not name a type
symbols.hpp:107: error:ID’ does not name a type
visitor.cpp:16: error:VALUE’ does not name a type
visitor.cpp: In function ‘melbourne::rb_parse_state* melbourne::alloc_parse_state()’:
visitor.cpp:26: error: ‘calloc’ was not declared in this scope
visitor.cpp:41: error: ‘struct melbourne::rb_parse_state’ has no member named ‘cur_mid’
visitor.cpp:52: error: ‘ruby_verbose’ was not declared in this scope
visitor.cpp:52: error:RTEST’ was not declared in this scope
visitor.cpp: In function ‘void* melbourne::pt_allocate(melbourne::rb_parse_state*, int)’:
visitor.cpp:70: error: ‘realloc’ was not declared in this scope
visitor.cpp:72: error: ‘malloc’ was not declared in this scope
visitor.cpp:75: error: ‘malloc’ was not declared in this scope
visitor.cpp: In function ‘void melbourne::pt_free(melbourne::rb_parse_state*)’:
visitor.cpp:97: error: ‘free’ was not declared in this scope
visitor.cpp: In function ‘void melbourne::create_error(melbourne::rb_parse_state*, char*)’:
visitor.cpp:120: error:VALUE’ was not declared in this scope
visitor.cpp:120: error: expected ‘;’ before ‘err_msg’
visitor.cpp:133: error: ‘err_msg’ was not declared in this scope
visitor.cpp:133: error: ‘rb_str_new2’ was not declared in this scope
visitor.cpp:136: error: ‘err_msg’ was not declared in this scope
visitor.cpp:136: error: ‘rb_str_new2’ was not declared in this scope
visitor.cpp:139: error: ‘err_msg’ was not declared in this scope
visitor.cpp:150: error: ‘rb_str_new2’ was not declared in this scope
visitor.cpp:154: error: ‘rb_str_new2’ was not declared in this scope
visitor.cpp:159: error: ‘struct melbourne::rb_parse_state’ has no member named ‘processor’
visitor.cpp:160: error: ‘rb_intern’ was not declared in this scope
visitor.cpp:161: error: ‘err_msg’ was not declared in this scope
visitor.cpp:162: error:INT2FIX’ was not declared in this scope
visitor.cpp:164: error: ‘string_newfrombstr’ was not declared in this scope
visitor.cpp:164: error: ‘rb_funcall’ was not declared in this scope
visitor.cpp:166: error: ‘struct melbourne::rb_parse_state’ has no member named ‘error’
visitor.cpp:166: error:Qtrue’ was not declared in this scope
visitor.cpp: At global scope:
visitor.cpp:171: error:VALUE’ does not name a type
visitor.cpp:187: error:VALUE’ does not name a type
visitor.cpp:189: error:VALUE’ does not name a type
visitor.cpp:204: error:VALUE’ does not name a type
visitor.cpp:232: error:VALUE’ does not name a type
rake aborted!
Command failed with status (1): [g++ -c -o ruby/visitor.o  -I. -fPIC -D_FILE_OFFSET_BITS=64 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables -fno-strict-aliasing  -fPIC -I/usr/lib/ruby/1.8/i386-linux visitor.cpp > /dev/null]
/home/patmat/rubinius/lib/ext/melbourne/Rakefile:11
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [/usr/bin/ruby -S rake  -r /home/patmat/rub...]

(See full trace by running task with --trace)