Path: utzoo!mnetor!uunet!husc6!spdcc!gubba!rms From: rms@gubba.SPDCC.COM (Rich Sands) Newsgroups: comp.sys.att Subject: Re: compiler error in term.h Message-ID: <466@gubba.SPDCC.COM> Date: 23 Feb 88 13:27:04 GMT References: <696@chutepc.UUCP> Reply-To: rms@gubba.UUCP (Rich Sands) Organization: Richard Sands, Brookline, MA. Lines: 31 Keywords: UNIXpc, 3.51 In article <696@chutepc.UUCP> chute@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@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@gubba.spdcc.com Compuserve: 71360,1067 BIX: richsands