Ffi 0.6.3 problem

27 views
Skip to first unread message

Gláuber Brennon

unread,
Jul 3, 2014, 8:05:01 PM7/3/14
to ruby...@googlegroups.com
Hey guys!

I've downloaded some old rails project and it fails on bundler when try to build ffi 0.6.3

The error log tells me that:

In file included from /usr/include/ruby.h:33:0,
                 from Type.h:31,
                 from Function.h:40,
                 from StructLayout.c:32:
StructLayout.c: In function ‘struct_layout_initialize’:
StructLayout.c:363:9: error: lvalue required as left operand of assignment
         Data_Get_Struct(rbField, StructField, field = layout->fields[i]);
         ^
make: *** [StructLayout.o] Error 1

make failed, exit code 2

Anyone know how could I fix this?

I'm using Fedora 19 32 bits
Reply all
Reply to author
Forward
0 new messages