compiler error in term.h

Rich Sands rms at gubba.SPDCC.COM
Tue Feb 23 23:27:04 AEST 1988


In article <696 at chutepc.UUCP> chute at chutepc.UUCP (Chris Chute MD) writes:
>I have tried to compile the rolodex program that recently came over the net
   ...
>have never had before.  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!
>
>The relavent parts of term.h are provided for your reading pleasure:
>
>724 #ifndef NONSTANDARD
>725 	SGTTY Ottyb,		/* original state of the terminal */
>726 	      Nttyb;		/* current state of the terminal */
>727 #endif
>
>Any thoughts?
>
>Cheers,
>Chris Chute M.D.			IntN: chute at hscfvax.harvard.edu

This happened to me on my 6300+.  The definition of SGTTY is in
/usr/include/curses.h on my system. Try #including this file right before
term.h.



-- 
        --  rms

UUCP: {ihnp4,harvard,husc6,linus,ima,bbn,m2c}!spdcc!gubba!rms
Internet: rms at gubba.spdcc.com	Compuserve: 71360,1067	BIX: richsands 



More information about the Comp.sys.att mailing list