From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078728412104.tru64-unix-managers.marc@archive.invalid> From: misugita () anet ! ne ! jp Date: Sun, 22 Nov 1998 01:25:18 +0000 To: tru64-unix-managers Subject: Error messages in compiling expect X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078728412104 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@anet.ne.jp ===========================================================