From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,37c9943ca9b8fad3,start X-Google-Attributes: gidfee84,public From: pdchapin@news.amherst.edu (PAUL D. CHAPIN) Subject: Expect-4.8 on dUnix Date: 1995/08/09 Message-ID: <40aup2$4vn@amhux3.amherst.edu>#1/1 X-Deja-AN: 107833378 organization: Amherst College, Amherst MA, USA newsgroups: comp.unix.osf.osf1 I'm trying to compile expect version 4.8 under dUnix 3.2. It bombs out on the very first file, expect.c, with the error /usr/lib/cmplrs/cc/cfe: Error: expect.c, line 152: Syntax Error regexp *re; ^ /usr/lib/cmplrs/cc/cfe: Error: expect.c, line 153: Syntax Error }; ^ *** Exit 1 Stop. It would appear that regexp is not a defined type at this point, i.e. if I arbitrarily change it to integer, it doesn't fail until re is used in a non-integer fashion. The question is why is regexp causing a problem and, more importantly, how do I get around the problem. -- Paul Chapin A) Unix Systems Manager B) User Services Coordinator C) Information Coordinator D) All of the above Amherst College