compiler error in term.h

Lee Hounshell tlh at pbhacker.UUCP
Thu Feb 25 11:42:26 AEST 1988


In article <696 at chutepc.UUCP> chute at chutepc.UUCP (Chris Chute MD) writes:
> [problem with compiling the rolodex program]
>
>The complait (on file clear.c) is as follows:
>"/usr/include/term.h", line 725: syntax error
>"/usr/include/term.h", line 725: cannot recover from earlier errors: goodbye!
>
>Any thoughts?

Sure, the problem is that you need the definition of SGTTY which is found
in /usr/include/curses.h!  All you need to do to make the clear.c program
(the one with the offending message) do a #include <curses.h> before you
do a #include <term.h>  Once you add the new line, everything will compile
fine.

Lee Hounshell



More information about the Comp.sys.att mailing list