Skip to content

Instantly share code, notes, and snippets.

@sbryant
Created March 25, 2010 18:38
Show Gist options
  • Save sbryant/343939 to your computer and use it in GitHub Desktop.
Save sbryant/343939 to your computer and use it in GitHub Desktop.
sbryant@chani:~/src/ruby-odbc-0.9997$ make
gcc -I. -I. -I/home/sbryant/src/rubinius/vm/capi -I. -DHAVE_SQL_H -DHAVE_SQLEXT_H -DHAVE_TYPE_SQLTCHAR -DHAVE_TYPE_SQLLEN -DHAVE_TYPE_SQLULEN -DHAVE_ODBCINST_H -DHAVE_SQLINSTALLERERROR -ggdb3 -O2 -fPIC -c odbc.c
odbc.c: In function ‘start_gc’:
odbc.c:854: error: ‘rb_mGC’ undeclared (first use in this function)
odbc.c:854: error: (Each undeclared identifier is reported only once
odbc.c:854: error: for each function it appears in.)
odbc.c: In function ‘do_fetch’:
odbc.c:5960: error: incompatible type for argument 1 of ‘rb_ll2inum’
/home/sbryant/src/rubinius/vm/capi/ruby.h:601: note: expected ‘long long int’ but argument is of type ‘SQLBIGINT’
odbc.c:5969: error: incompatible type for argument 1 of ‘rb_ull2inum’
/home/sbryant/src/rubinius/vm/capi/ruby.h:602: note: expected ‘long long unsigned int’ but argument is of type ‘SQLBIGINT’
make: *** [odbc.o] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment