|
linking shared-library cygruby250.dll
|
|
generating makefiles ext/configure-ext.mk
|
|
ext/configure-ext.mk unchanged
|
|
make[1]: Entering directory '/cygdrive/c/Data/ruby'
|
|
make[2]: Entering directory '/cygdrive/c/Data/ruby/ext/bigdecimal'
|
|
compiling bigdecimal.c
|
|
bigdecimal.c: In function ‘BigDecimal_version’:
|
|
bigdecimal.c:150:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
|
|
# error RUBY_BIGDECIMAL_VERSION is not defined
|
|
^
|
|
In file included from ../.././include/ruby/ruby.h:36:0,
|
|
from bigdecimal.h:14,
|
|
from bigdecimal.c:13:
|
|
bigdecimal.c:153:22: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in this function)
|
|
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
|
|
^
|
|
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTENSION_BLOCK’
|
|
#define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
|
|
^
|
|
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cstr’
|
|
#define rb_str_new2 rb_str_new_cstr
|
|
^
|
|
bigdecimal.c:153:10: note: in expansion of macro ‘rb_str_new2’
|
|
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
|
|
^
|
|
bigdecimal.c:153:22: note: each undeclared identifier is reported only once for each function it appears in
|
|
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
|
|
^
|
|
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTENSION_BLOCK’
|
|
#define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
|
|
^
|
|
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cstr’
|
|
#define rb_str_new2 rb_str_new_cstr
|
|
^
|
|
bigdecimal.c:153:10: note: in expansion of macro ‘rb_str_new2’
|
|
return rb_str_new2(RUBY_BIGDECIMAL_VERSION);
|
|
^
|
|
bigdecimal.c: In function ‘Init_bigdecimal’:
|
|
bigdecimal.c:3308:3: error: #error RUBY_BIGDECIMAL_VERSION is not defined
|
|
# error RUBY_BIGDECIMAL_VERSION is not defined
|
|
^
|
|
In file included from ../.././include/ruby/ruby.h:36:0,
|
|
from bigdecimal.h:14,
|
|
from bigdecimal.c:13:
|
|
bigdecimal.c:3313:60: error: ‘RUBY_BIGDECIMAL_VERSION’ undeclared (first use in this function)
|
|
rb_define_const(rb_cBigDecimal, "VERSION", rb_str_new2(RUBY_BIGDECIMAL_VERSION));
|
|
^
|
|
../.././include/ruby/defines.h:94:53: note: in definition of macro ‘RB_GNUC_EXTENSION_BLOCK’
|
|
#define RB_GNUC_EXTENSION_BLOCK(x) __extension__ ({ x; })
|
|
^
|
|
../.././include/ruby/intern.h:835:21: note: in expansion of macro ‘rb_str_new_cstr’
|
|
#define rb_str_new2 rb_str_new_cstr
|
|
^
|
|
bigdecimal.c:3313:48: note: in expansion of macro ‘rb_str_new2’
|
|
rb_define_const(rb_cBigDecimal, "VERSION", rb_str_new2(RUBY_BIGDECIMAL_VERSION));
|
|
^
|
|
bigdecimal.c: In function ‘BigDecimal_version’:
|
|
bigdecimal.c:154:1: warning: control reaches end of non-void function [-Wreturn-type]
|
|
}
|
|
^
|
|
bigdecimal.c: At top level:
|
|
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
|
|
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
|
|
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
|
|
cc1: warning: unrecognized command line option ‘-Wno-tautological-compare’
|
|
make[2]: *** [Makefile:279: bigdecimal.o] Error 1
|
|
make[2]: Leaving directory '/cygdrive/c/Data/ruby/ext/bigdecimal'
|
|
make[1]: *** [exts.mk:196: ext/bigdecimal/all] Error 2
|
|
make[1]: Leaving directory '/cygdrive/c/Data/ruby'
|
|
make: *** [uncommon.mk:238: build-ext] Error 2
|
|
rm cygruby250.rc
|