have_type: checking for rb_io_mode_t in ruby/io.h… ——————– no

LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -o conftest -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC conftest.c -L. -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L. -fstack-protector-strong -rdynamic -Wl,-export-dynamic -Wl,–no-as-needed -Wl,-rpath,/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -L/opt/hostedtoolcache/Ruby/3.4.4/x64/lib -lruby -lm -lpthread -lc” checked program was: /* begin */ 1: include “ruby.h” 2: 3: int main(int argc, char **argv) 4: { 5: return !!argv; 6: } /* end */

LD_LIBRARY_PATH=.:/opt/hostedtoolcache/Ruby/3.4.4/x64/lib ASAN_OPTIONS=detect_leaks=0 “gcc -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/x86_64-linux -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0/ruby/backward -I/opt/hostedtoolcache/Ruby/3.4.4/x64/include/ruby-3.4.0 -I. -DENABLE_PATH_CHECK=0 -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wmisleading-indentation -Wundef -fPIC -c conftest.c” conftest.c:6:9: error: unknown type name ‘rb_io_mode_t’

6 | typedef rb_io_mode_t conftest_type;
  |         ^~~~~~~~~~~~

cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics checked program was: /* begin */ 1: include “ruby.h” 2: 3: include <ruby/io.h> 4: 5: /top/ 6: typedef rb_io_mode_t conftest_type; 7: int conftestval; /* end */