Discussion:
Cannot compile TCL 8.4.6
(too old to reply)
erick
2004-04-15 19:17:11 UTC
Permalink
I get the following error trying to build TCL 8.4.5 on SCO OpenServer
5.0.5 with the GNU compiler installed on the system:

tclUnixChan.c:1010:`TIOCMGET' undeclared

Any ideas?
J. L. Schilling
2004-04-16 05:29:44 UTC
Permalink
Post by erick
I get the following error trying to build TCL 8.4.5 on SCO OpenServer
tclUnixChan.c:1010:`TIOCMGET' undeclared
It should be defined in header file /usr/include/sys/termio.h.

In OSR 5.0.6 it's under an #ifdef namespace guard, maybe gcc
isn't putting out the right -D for it.

Don't know what TCL uses it for, but TIOCMGET for serial I/O
is broken in OSR5 until the 5.0.6a release wherein it is fixed.

Jonathan Schilling

Loading...