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