You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi all.
When I run "bundle install", failed, and see these errors:
"checking for rb_io_t in ruby.h,rubyio.h... no
checking for OpenFile.fd in ruby.h,rubyio.h... no
checking for OpenFile in ruby.h,rubyio.h... no
creating Makefile
current directory: /home/lenovo/.gem/gems/ruby-termios-0.9.6
make DESTDIR= clean
current directory: /home/lenovo/.gem/gems/ruby-termios-0.9.6
make DESTDIR=
compiling termios.c
termios.c: In function ‘termios_tcgetattr’:
termios.c:311:5: error: unknown type name ‘OpenFile’; did you mean
‘GetOpenFile’?
311 | OpenFile *fptr;
| ^~~~~~~~
| GetOpenFile
In file included from termios.c:10:
/snap/ruby/242/include/ruby-3.0.0/ruby/io.h:124:55: warning: assignment to ‘int
*’ from incompatible pointer type ‘struct rb_io_t *’
[-Wincompatible-pointer-types]
124 | #define RB_IO_POINTER(obj,fp) rb_io_check_closed((fp) =
RFILE(rb_io_taint_check(obj))->fptr)
"
What can I do?
The text was updated successfully, but these errors were encountered:
Hi all.
When I run "bundle install", failed, and see these errors:
"checking for rb_io_t in ruby.h,rubyio.h... no
checking for OpenFile.fd in ruby.h,rubyio.h... no
checking for OpenFile in ruby.h,rubyio.h... no
creating Makefile
current directory: /home/lenovo/.gem/gems/ruby-termios-0.9.6
make DESTDIR= clean
current directory: /home/lenovo/.gem/gems/ruby-termios-0.9.6
make DESTDIR=
compiling termios.c
termios.c: In function ‘termios_tcgetattr’:
termios.c:311:5: error: unknown type name ‘OpenFile’; did you mean
‘GetOpenFile’?
311 | OpenFile *fptr;
| ^~~~~~~~
| GetOpenFile
In file included from termios.c:10:
/snap/ruby/242/include/ruby-3.0.0/ruby/io.h:124:55: warning: assignment to ‘int
*’ from incompatible pointer type ‘struct rb_io_t *’
[-Wincompatible-pointer-types]
124 | #define RB_IO_POINTER(obj,fp) rb_io_check_closed((fp) =
RFILE(rb_io_taint_check(obj))->fptr)
"
What can I do?
The text was updated successfully, but these errors were encountered: