Path: utzoo!attcan!uunet!decwrl!sdd.hp.com!zaphod.mps.ohio-state.edu!usc!rutgers!bellcore-2!bellcore!nontech!lestat From: lestat@nontech.Berkeley.EDU (David Gonzalez-Nieves) Newsgroups: comp.windows.x Subject: NEED HELP COMPILING XTROFF Message-ID: <25905@bellcore.bellcore.com> Date: 1 Aug 90 15:07:56 GMT Sender: news@bellcore.bellcore.com Reply-To: lestat@nontech.Berkeley.EDU (David Gonzalez-Nieves) Organization: Bell Communications Research (Bellcore) Lines: 44 Hello: I have been trying to compile Xtroff and I always get syntax errors in the ask.c module of the XtStuff directory. I get the following message: nontech>> make cc -O -I/usr/local/pkg/X11/include -I. -I./lib/X -I. -I./X1 1 -DXWINDOWS -DDIRENT -DXAW_BC -sun3 -c ask.c ask.c: 161: DIRSIZ: argument mismatch ask.c: 162: DIRSIZ: argument mismatch "ask.c", line 161: syntax error at or near symbol ) "ask.c", line 162: syntax error at or near symbol ) *** Error code 1 make: Fatal error: Command failed for target `ask.o' nontech>> Line 161 is the following: ourarray[nentries] = (char *) xmalloc((int) DIRSIZE(entry) + 1); null_ncpy(ourarray[nentries], entry->d_name, (int) DIRSIZE(entry)); I am trying to compile this on a SUN 3/60 running X11R4 and SunOS 4.01. If anybody has been able to compile this program I would appreciate any help given. Thanks; -------------------------------------------------------- David Gonzalez lestat@ctt.bellcore.com Bellcore Architecture Technology District RRC 1M207S 444 Hoes Lane Piscatway, NJ 08854 VOICE (201) 699-6387 Internet, E-Mail: lestat@ctt.bellcore.com ---------------------------------------------------------- DISCLAIMER: Bellcore is not responsible for anything I say, write or think if they can be sued. I am not resposible for anything I say, write or even think if I can be sued. (Doesn't have any logic! !!)