Running ruby 1.9.2 and gsl 1.9 Mac OS X 10.6.4
I get the compile errors
gcc -I. -I/Users/charlesmartin/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/x86_64-darwin10.4.0 -I/Users/charlesmartin/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1/ruby/backward -I/Users/charlesmartin/.rvm/rubies/ruby-1.9.2-p0/include/ruby-1.9.1 -I/Users/charlesmartin/.rvm/gems/ruby-1.9.2-p0/gems/gsl-1.14.5/ext -DHAVE_NARRAY_H -I/Users/charlesmartin/.rvm/gems/ruby-1.9.2-p0/gems/narray-0.5.9.7/. -I/Users/charlesmartin/.rvm/rubies/ruby-1.9.2-p0/lib/ruby/site_ruby/1.9.1/x86_64-darwin10.4.0 -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -Wall -I../include -I/usr/local/include -o matrix.o -c matrix.c
In file included from matrix.c:31:
matrix_source.c: In function ‘rb_gsl_matrix_submatrix’:
matrix_source.c:1361: warning: implicit declaration of function ‘gsl_matrix_subrow’
matrix_source.c:1361: error: incompatible types in assignment
matrix_source.c:1366: warning: implicit declaration of function ‘gsl_matrix_subcolumn’
matrix_source.c:1366: error: incompatible types in assignment
In file included from matrix.c:37:
matrix_source.c: In function ‘rb_gsl_matrix_int_submatrix’:
matrix_source.c:1361: warning: implicit declaration of function ‘gsl_matrix_int_subrow’
matrix_source.c:1361: error: incompatible types in assignment
matrix_source.c:1366: warning: implicit declaration of function ‘gsl_matrix_int_subcolumn’
matrix_source.c:1366: error: incompatible types in assignment
make: *** [matrix.o] Error 1
|