Problems installing termios

Hi there

In trying to install termios in my home server (which uses Debian
testing) using gem and I get the following error:

gem install --include-dependencies termios

/usr/bin/ruby1.9 extconf.rb install --include-dependencies termios
checking for termios.h… yes
checking for unistd.h… yes
creating Makefile

make
cc -I. -I/usr/include/ruby-1.9.0/i486-linux -I/usr/include/ruby-1.9.0
-I. -DHAVE_TERMIOS_H -DHAVE_UNISTD_H -D_FILE_OFFSET_BITS=64 -fPIC
-fno-strict-aliasing -g -g -O2 -O2 -g -Wall -Wno-parentheses -fPIC -o
termios.o -c termios.c termios.c: In function ?termios_tcgetattr?:
termios.c:200: error: ?OpenFile? undeclared (first use in this
function) termios.c:200: error: (Each undeclared identifier is reported
only once termios.c:200: error: for each function it appears in.)
termios.c:200: error: ?fptr? undeclared (first use in this function)
termios.c: In function ?termios_tcsetattr?: termios.c:224:
error: ?OpenFile? undeclared (first use in this function)
termios.c:224: error: ?fptr? undeclared (first use in this function)
termios.c:231: warning: initialization discards qualifiers from pointer
target type termios.c: In function ?termios_tcsendbreak?:
termios.c:265: error: ?OpenFile? undeclared (first use in this
function) termios.c:265: error: ?fptr? undeclared (first use in this
function) termios.c: In function ?termios_tcdrain?: termios.c:290:
error: ?OpenFile? undeclared (first use in this function)
termios.c:290: error: ?fptr? undeclared (first use in this function)
termios.c: In function ?termios_tcflush?: termios.c:313:
error: ?OpenFile? undeclared (first use in this function)
termios.c:313: error: ?fptr? undeclared (first use in this function)
termios.c: In function ?termios_tcflow?: termios.c:343:
error: ?OpenFile? undeclared (first use in this function)
termios.c:343: error: ?fptr? undeclared (first use in this function)
termios.c: In function ?termios_tcgetpgrp?: termios.c:374:
error: ?OpenFile? undeclared (first use in this function)
termios.c:374: error: ?fptr? undeclared (first use in this function)
termios.c: In function ?termios_tcsetpgrp?: termios.c:398:
error: ?OpenFile? undeclared (first use in this function)
termios.c:398: error: ?fptr? undeclared (first use in this function)
make: *** [termios.o] Error 1

Gem files will remain installed
in /var/lib/gems/1.9.0/gems/termios-0.9.4 for inspection. Results
logged to /var/lib/gems/1.9.0/gems/termios-0.9.4/gem_make.out

I don’t know where OpenFile is located in Debian, can you help me
please?

Thanks in advance

Regards

Miquel

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.23.1)

Welcome to the jungle, we got fun and games
Guns n’ Roses