Joel Fernandes wrote:
Also you should have the following files if binject compiled successfully:
shoes/req/binject/ext/binject_c/binject.so
shoes/req/binject/ext/binject_c/binject.o

and this:
./dist/ruby/lib/i686-linux/binject.so
Yes, make is failing on binject. The strange thing is that rake still returns 0 (echo $?), so I never went back to look for failures. I can probably debug this myself, but I'd be happy for any tips.

binject.c: In function 'binject_exe_file_size':
binject.c:261: error: 'rb_io_t' undeclared (first use in this function)
binject.c:261: error: (Each undeclared identifier is reported only once
binject.c:261: error: for each function it appears in.)
binject.c:261: error: 'fptr' undeclared (first use in this function)
binject.c: In function 'binject_exe_rewrite':
binject.c:447: error: 'rb_io_t' undeclared (first use in this function)
binject.c:447: error: 'fptr' undeclared (first use in this function)
binject.c: In function 'binject_exe_load':
binject.c:524: warning: assignment makes pointer from integer without a cast
binject.c: In function 'binject_exe_save':
binject.c:568: warning: assignment makes pointer from integer without a cast
binject.c: In function 'binject_dmg_uncompress':
binject.c:662: warning: assignment makes pointer from integer without a cast
make: *** [binject.o] Error 1
ftsearch.c: In function 'dump_inline_suffixes':
ftsearch.c:193: error: 'rb_io_t' undeclared (first use in this function)
ftsearch.c:193: error: (Each undeclared identifier is reported only once
ftsearch.c:193: error: for each function it appears in.)
ftsearch.c:193: error: 'fptr' undeclared (first use in this function)
ftsearch.c: In function 'dump_suffix_array':
ftsearch.c:229: error: 'rb_io_t' undeclared (first use in this function)
ftsearch.c:229: error: 'fptr' undeclared (first use in this function)
make: *** [ftsearch.o] Error 1

Reply via email to