Error messages in compiling expect

From: <misugita_at_anet.ne.jp>
Date: Sun, 22 Nov 1998 10:25:18 +0900

Hi,

In compiling expect 5.28, we got the following error messages:

++++++

cc -c -I. -I. -I/local/pds/expect/tcl8.0/generic -DEXP_VERSION=\"5.28.1\" \
-DSCRIPTDIR=\"/usr/local/lib/expect5.28\"
-DEXECSCRIPTDIR=\"/usr/local/lib/expect5.28\"
-DTCL_DEBUGGER -g -DDFLT_STTY="\"sane\"" pty_termios.c

cc: Error: pty_termios.c, line 372: In this statement, "slave_name" is
not an lvalue, but occurs in a context that requires one.

        if ((slave_name = (char *)ptsname(master)) == NULL || unlockpt(master)) {
-------------^
cc: Error: pty_termios.c, line 616: In this statement, "I_LOOK" is not declared.
        if (ioctl (slave, I_LOOK, buf) != 0)
--------------------------^
cc: Error: pty_termios.c, line 617: In this statement, "I_PUSH" is not declared.
                if (ioctl (slave, I_PUSH, "ldterm")) {
----------------------------------^
make: *** [pty_termios.o] Error 1

++++++

Could you tell me how to resolve this problem?

Thank you in advance.

===========================================================
Michiaki Sugita

Advanced Science Research Center
Japan Atomic Energy Research Institute
Tokai, Ibaraki 319-1195, Japan

e-mail : misugita_at_anet.ne.jp
===========================================================
Received on Sun Nov 22 1998 - 01:26:16 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:38 NZDT