alpine 18.3 enumerable-statistics 2.0.1 build failed #36

Open
opened 2023-05-15 17:10:38 +00:00 by fauno · 0 comments
Owner
Downloaded enumerable-statistics-2.0.1
Unpacking gem: 'enumerable-statistics-2.0.1' in temporary directory...
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.gitignore
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.rspec
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.travis.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.yardopts
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/CHANGELOG.md
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/Gemfile
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/LICENSE
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/README.md
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/Rakefile
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/array_value_counts.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/enum_value_counts.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/hash_value_counts.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/mean.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/sum.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/variance.yml
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bin/console
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bin/rspec
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bin/setup
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/enumerable-statistics.gemspec
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/-bench-/extconf.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension/extconf.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension/statistics.c
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/images/benchmark.png
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable/statistics.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable_statistics.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable_statistics/histogram.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable_statistics/version.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/templates/default/layout/html/headers.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/dot/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/dot/superklass.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/html/constructor_details.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/html/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/html/subclasses.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/text/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/text/subclasses.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/constant/text/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/constant/text/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/abstract.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/deprecated.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/index.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/note.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/private.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/returns_void.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/text.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/todo.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/abstract.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/deprecated.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/index.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/note.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/private.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/returns_void.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/text.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/todo.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/css/common.css
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/css/full_list.css
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/css/style.css
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/frames.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list_class.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list_file.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list_method.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/js/app.js
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/js/full_list.js
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/js/jquery.js
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/dot/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/dot/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/breadcrumb.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/files.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/footer.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/headers.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/index.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/layout.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/listing.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/objects.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/script_setup.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/search.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method/html/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method/text/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/html/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/html/method_signature.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/html/source.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/text/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/text/method_signature.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/text/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/child.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/dependencies.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/info.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/attribute_details.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/attribute_summary.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/box_info.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/children.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/constant_summary.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/defines.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/inherited_attributes.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/inherited_constants.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/inherited_methods.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/item_summary.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/method_details_list.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/method_summary.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/methodmissing.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/pre_docstring.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/children.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/class_meths_list.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/extends.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/header.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/includes.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/instance_meths_list.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/files.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/headers.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/layout.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/readme.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/root/dot/child.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/root/dot/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/root/html/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/example.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/index.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/option.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/overload.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/see.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/tag.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/setup.rb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/example.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/index.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/option.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/overload.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/see.erb
/tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/tag.erb
Building native extensions. This could take a while...
current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension
["/usr/bin/ruby", "extconf.rb"]
checking for struct RRational... no
checking for rb_rational_new()... yes
checking for rb_rational_num()... yes
checking for rb_rational_den()... yes
checking for rb_rational_plus()... no
checking for struct RComplex... no
checking for rb_complex_raw()... yes
checking for rb_complex_real()... yes
checking for rb_complex_imag()... yes
checking for rb_complex_plus()... yes
checking for rb_complex_div()... yes
checking for rb_dbl_complex_new()... yes
creating Makefile
current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension
["make", "DESTDIR=", "sitearchdir=./.gem.20230515-30403-9vez8p", "sitelibdir=./.gem.20230515-30403-9vez8p", "clean"]

current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension
["make", "DESTDIR=", "sitearchdir=./.gem.20230515-30403-9vez8p", "sitelibdir=./.gem.20230515-30403-9vez8p"]
ERROR:  While executing gem ... (Gem::Ext::BuildError)
    ERROR: Failed to build gem native extension.

    current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension
/usr/bin/ruby extconf.rb
current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension
make DESTDIR\= sitearchdir\=./.gem.20230515-30403-9vez8p sitelibdir\=./.gem.20230515-30403-9vez8p clean
current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension
make DESTDIR\= sitearchdir\=./.gem.20230515-30403-9vez8p sitelibdir\=./.gem.20230515-30403-9vez8p
Building has failed. See above output for more information on the failure.
make failed, exit code 2

Gem files will remain installed in /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1 for inspection.
Results logged to /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/gem_make.out
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:119:in `run'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in make'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `each'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `make'
	/usr/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:41:in `build'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:187:in `build_extension'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:221:in `block in build_extensions'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `each'
	/usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `build_extensions'
	/usr/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions'
	/usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:109:in `build_extensions'
	/usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:39:in `compile'
	/usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/commands/compile_command.rb:88:in `execute'
	/usr/lib/ruby/3.2.0/rubygems/command.rb:327:in `invoke_with_build_args'
	/usr/lib/ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command'
	/usr/lib/ruby/3.2.0/rubygems/command_manager.rb:192:in `process_args'
	/usr/lib/ruby/3.2.0/rubygems/command_manager.rb:150:in `run'
	/usr/lib/ruby/3.2.0/rubygems/gem_runner.rb:51:in `run'
	/usr/bin/gem:10:in `<main>'
compiling statistics.c
statistics.c: In function 'complex_add':
statistics.c:67:25: warning: implicit declaration of function 'R_CAST' [-Wimplicit-function-declaration]
   67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
      |                         ^~~~~~
statistics.c:152:18: note: in expansion of macro 'RCOMPLEX'
  152 |     real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real);
      |                  ^~~~~~~~
statistics.c:67:32: error: 'RComplex' undeclared (first use in this function)
   67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
      |                                ^~~~~~~~
statistics.c:152:18: note: in expansion of macro 'RCOMPLEX'
  152 |     real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real);
      |                  ^~~~~~~~
statistics.c:67:32: note: each undeclared identifier is reported only once for each function it appears in
   67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
      |                                ^~~~~~~~
statistics.c:152:18: note: in expansion of macro 'RCOMPLEX'
  152 |     real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real);
      |                  ^~~~~~~~
statistics.c: In function 'f_zero_p':
statistics.c:47:33: error: 'RRational' undeclared (first use in this function)
   47 | # define RRATIONAL(obj) (R_CAST(RRational)(obj))
      |                                 ^~~~~~~~~
statistics.c:400:17: note: in expansion of macro 'RRATIONAL'
  400 |     VALUE num = RRATIONAL(x)->num;
      |                 ^~~~~~~~~
statistics.c: In function 'rb_rational_plus':
statistics.c:47:33: error: 'RRational' undeclared (first use in this function)
   47 | # define RRATIONAL(obj) (R_CAST(RRational)(obj))
      |                                 ^~~~~~~~~
statistics.c:613:17: note: in expansion of macro 'RRATIONAL'
  613 |     VALUE num = RRATIONAL(self)->num;
      |                 ^~~~~~~~~
statistics.c: In function 'calculate_and_set_mean':
statistics.c:67:32: error: 'RComplex' undeclared (first use in this function)
   67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj))
      |                                ^~~~~~~~
statistics.c:751:24: note: in expansion of macro 'RCOMPLEX'
  751 |     VALUE const real = RCOMPLEX(sum)->real;
      |                        ^~~~~~~~
make: *** [Makefile:248: statistics.o] Error 1
``` Downloaded enumerable-statistics-2.0.1 Unpacking gem: 'enumerable-statistics-2.0.1' in temporary directory... /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.gitignore /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.rspec /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.travis.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/.yardopts /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/CHANGELOG.md /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/Gemfile /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/LICENSE /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/README.md /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/Rakefile /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/array_value_counts.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/enum_value_counts.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/hash_value_counts.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/mean.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/sum.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bench/variance.yml /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bin/console /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bin/rspec /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/bin/setup /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/enumerable-statistics.gemspec /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/-bench-/extconf.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension/extconf.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension/statistics.c /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/images/benchmark.png /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable/statistics.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable_statistics.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable_statistics/histogram.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/enumerable_statistics/version.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/templates/default/layout/html/headers.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/dot/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/dot/superklass.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/html/constructor_details.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/html/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/html/subclasses.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/text/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/class/text/subclasses.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/constant/text/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/constant/text/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/abstract.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/deprecated.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/index.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/note.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/private.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/returns_void.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/text.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/html/todo.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/abstract.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/deprecated.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/index.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/note.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/private.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/returns_void.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/text.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/docstring/text/todo.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/css/common.css /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/css/full_list.css /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/css/style.css /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/frames.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list_class.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list_file.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/full_list_method.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/js/app.js /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/js/full_list.js /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/js/jquery.js /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/fulldoc/html/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/dot/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/dot/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/breadcrumb.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/files.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/footer.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/headers.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/index.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/layout.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/listing.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/objects.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/script_setup.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/search.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/layout/html/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method/html/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method/text/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/html/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/html/method_signature.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/html/source.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/text/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/text/method_signature.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/method_details/text/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/child.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/dependencies.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/info.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/dot/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/attribute_details.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/attribute_summary.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/box_info.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/children.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/constant_summary.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/defines.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/inherited_attributes.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/inherited_constants.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/inherited_methods.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/item_summary.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/method_details_list.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/method_summary.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/methodmissing.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/html/pre_docstring.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/children.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/class_meths_list.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/extends.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/header.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/includes.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/instance_meths_list.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/module/text/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/files.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/headers.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/layout.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/readme.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/onefile/html/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/root/dot/child.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/root/dot/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/root/html/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/example.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/index.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/option.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/overload.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/see.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/html/tag.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/setup.rb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/example.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/index.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/option.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/overload.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/see.erb /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/yard/templates/mathjax/tags/text/tag.erb Building native extensions. This could take a while... current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension ["/usr/bin/ruby", "extconf.rb"] checking for struct RRational... no checking for rb_rational_new()... yes checking for rb_rational_num()... yes checking for rb_rational_den()... yes checking for rb_rational_plus()... no checking for struct RComplex... no checking for rb_complex_raw()... yes checking for rb_complex_real()... yes checking for rb_complex_imag()... yes checking for rb_complex_plus()... yes checking for rb_complex_div()... yes checking for rb_dbl_complex_new()... yes creating Makefile current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension ["make", "DESTDIR=", "sitearchdir=./.gem.20230515-30403-9vez8p", "sitelibdir=./.gem.20230515-30403-9vez8p", "clean"] current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension ["make", "DESTDIR=", "sitearchdir=./.gem.20230515-30403-9vez8p", "sitelibdir=./.gem.20230515-30403-9vez8p"] ERROR: While executing gem ... (Gem::Ext::BuildError) ERROR: Failed to build gem native extension. current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension /usr/bin/ruby extconf.rb current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension make DESTDIR\= sitearchdir\=./.gem.20230515-30403-9vez8p sitelibdir\=./.gem.20230515-30403-9vez8p clean current directory: /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/ext/enumerable/statistics/extension make DESTDIR\= sitearchdir\=./.gem.20230515-30403-9vez8p sitelibdir\=./.gem.20230515-30403-9vez8p Building has failed. See above output for more information on the failure. make failed, exit code 2 Gem files will remain installed in /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1 for inspection. Results logged to /tmp/d20230515-30403-kdjnmi/enumerable-statistics-2.0.1/lib/gem_make.out /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:119:in `run' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:51:in `block in make' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `each' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:43:in `make' /usr/lib/ruby/3.2.0/rubygems/ext/ext_conf_builder.rb:41:in `build' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:187:in `build_extension' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:221:in `block in build_extensions' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `each' /usr/lib/ruby/3.2.0/rubygems/ext/builder.rb:218:in `build_extensions' /usr/lib/ruby/3.2.0/rubygems/installer.rb:843:in `build_extensions' /usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:109:in `build_extensions' /usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/compiler.rb:39:in `compile' /usr/lib/ruby/gems/3.2.0/gems/gem-compiler-0.10.0/lib/rubygems/commands/compile_command.rb:88:in `execute' /usr/lib/ruby/3.2.0/rubygems/command.rb:327:in `invoke_with_build_args' /usr/lib/ruby/3.2.0/rubygems/command_manager.rb:252:in `invoke_command' /usr/lib/ruby/3.2.0/rubygems/command_manager.rb:192:in `process_args' /usr/lib/ruby/3.2.0/rubygems/command_manager.rb:150:in `run' /usr/lib/ruby/3.2.0/rubygems/gem_runner.rb:51:in `run' /usr/bin/gem:10:in `<main>' compiling statistics.c statistics.c: In function 'complex_add': statistics.c:67:25: warning: implicit declaration of function 'R_CAST' [-Wimplicit-function-declaration] 67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj)) | ^~~~~~ statistics.c:152:18: note: in expansion of macro 'RCOMPLEX' 152 | real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real); | ^~~~~~~~ statistics.c:67:32: error: 'RComplex' undeclared (first use in this function) 67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj)) | ^~~~~~~~ statistics.c:152:18: note: in expansion of macro 'RCOMPLEX' 152 | real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real); | ^~~~~~~~ statistics.c:67:32: note: each undeclared identifier is reported only once for each function it appears in 67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj)) | ^~~~~~~~ statistics.c:152:18: note: in expansion of macro 'RCOMPLEX' 152 | real = f_add(RCOMPLEX(self)->real, RCOMPLEX(other)->real); | ^~~~~~~~ statistics.c: In function 'f_zero_p': statistics.c:47:33: error: 'RRational' undeclared (first use in this function) 47 | # define RRATIONAL(obj) (R_CAST(RRational)(obj)) | ^~~~~~~~~ statistics.c:400:17: note: in expansion of macro 'RRATIONAL' 400 | VALUE num = RRATIONAL(x)->num; | ^~~~~~~~~ statistics.c: In function 'rb_rational_plus': statistics.c:47:33: error: 'RRational' undeclared (first use in this function) 47 | # define RRATIONAL(obj) (R_CAST(RRational)(obj)) | ^~~~~~~~~ statistics.c:613:17: note: in expansion of macro 'RRATIONAL' 613 | VALUE num = RRATIONAL(self)->num; | ^~~~~~~~~ statistics.c: In function 'calculate_and_set_mean': statistics.c:67:32: error: 'RComplex' undeclared (first use in this function) 67 | # define RCOMPLEX(obj) (R_CAST(RComplex)(obj)) | ^~~~~~~~ statistics.c:751:24: note: in expansion of macro 'RCOMPLEX' 751 | VALUE const real = RCOMPLEX(sum)->real; | ^~~~~~~~ make: *** [Makefile:248: statistics.o] Error 1 ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Sutty/gems#36
No description provided.