From: Steve.Harrington@f34.n343.z1.fidonet.org (Steve Harrington) Subject: Trying to compile cweb (strange gcc message) Date: 1 Jan 1993 23:22:54 GMT
CB> From: ceblair@ux1.cso.uiuc.edu (Charles Blair)
CB> I have tried to install the ``literate programming'' system
cweb,
CB> which consists of the programs common.c, ctangle.c,
CB> cweave.c. I'm using
CB> the 97p2 MCC release.
CB> Common.c seems to compile, but ctangle.c produces a message
like:
CB> /pub/include/stdio : parse error before '02'.
CB> Specifically I don't understand why it's
CB> complaining about a header file
CB> rather than ctangle.c itself.
The problem is that cweb redefines certain variables. It has been
a long time since I compiled cweb so I don't remember exactly
which ones are redefined. I solved the problem by changing
the variables (about 3 of them) and all references in cweb to
a non-header-file name and compiled.
Hope this helps. If not, e-mail me and I'll try to find the
exact variables used.
Steve Harrington
* Origin: -[S'Qually Holler's]- HeadQuarters for Fidonet Linux Net
(1:343/34)