When compiling rb-gsl with nmatrix, (and including nmatrix.h in the file) I get the following error:
/home/sameer/.rvm/gems/ruby-2.3.0/extensions/x86-linux/2.3.0/nmatrix-0.2.1/nmatrix.h:72:1: error: redefinition of ‘rb_array_const_ptr’
rb_array_const_ptr(VALUE a)
^
In file included from /home/sameer/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby.h:33:0,
from ../../../../ext/gsl_native/include/rb_gsl_complex.h:17,
from ../../../../ext/gsl_native/include/rb_gsl_poly.h:17,
from ../../../../ext/gsl_native/include/rb_gsl.h:18,
from ../../../../ext/gsl_native/geometry.c:1:
/home/sameer/.rvm/rubies/ruby-2.3.0/include/ruby-2.3.0/ruby/ruby.h:2018:1: note: previous definition of ‘rb_array_const_ptr’ was here
rb_array_const_ptr(VALUE a)
When compiling rb-gsl with nmatrix, (and including
nmatrix.h
in the file) I get the following error: