Problem compiling #1

Open
ghost opened this Issue Sep 25, 2009 · 1 comment

Projects

None yet

1 participant

@ghost
ghost commented Sep 25, 2009

The odbtp version is 1.1.4. Ruby version is 1.9.1. Any suggestions?

gcc -I. -I/usr/include/ruby-1.9.1/ruby/backward -I/usr/include/ruby-1.9.1 -I/usr/include/ruby-1.9.1/x86_64-linux -I. -fPIC -Wall -g -fno-strict-aliasing -O2 -fPIC -c rodbtp.c
rodbtp.c: In function ‘rodb_connect’:
rodbtp.c:72: error: ‘struct RString’ has no member named ‘ptr’
rodbtp.c:72: error: ‘struct RString’ has no member named ‘ptr’
rodbtp.c: In function ‘rodbres_new’:
rodbtp.c:114: error: ‘struct RArray’ has no member named ‘len’
rodbtp.c: In function ‘rodb_execquery’:
rodbtp.c:133: error: ‘struct RString’ has no member named ‘ptr’
rodbtp.c: In function ‘rodbres_each’:
rodbtp.c:148: error: ‘struct RArray’ has no member named ‘len’
rodbtp.c:149: error: ‘struct RArray’ has no member named ‘ptr’
rodbtp.c: In function ‘rodbres_num_tuples’:
rodbtp.c:176: error: ‘struct RArray’ has no member named ‘len’
rodbtp.c: In function ‘rodbres_num_fields’:
rodbtp.c:185: error: ‘struct RArray’ has no member named ‘ptr’

Owner
cfiorini commented Oct 2, 2009

i have to check this for ruby 1.9.1, i think is not a big deal!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment