home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22399 < prev    next >
Encoding:
Internet Message Format  |  1993-01-01  |  1.2 KB

  1. Path: sparky!uunet!nwnexus!remote!UUCP
  2. From: Steve.Harrington@f34.n343.z1.fidonet.org (Steve Harrington)
  3. Newsgroups: comp.os.linux
  4. Subject: Trying to compile cweb (strange gcc message)
  5. Message-ID: <725933252.AA29306@remote.halcyon.com>
  6. Date: Fri, 01 Jan 1993 15:22:54 -0800
  7. Sender: UUCP@remote.halcyon.com
  8. Lines: 31
  9.  
  10.  CB> From: ceblair@ux1.cso.uiuc.edu (Charles Blair)
  11.  
  12.  CB>   I have tried to install the ``literate programming'' system
  13. cweb,
  14.  CB> which consists of the programs common.c, ctangle.c, 
  15.  CB> cweave.c.  I'm using
  16.  CB> the 97p2 MCC release.
  17.  
  18.  CB>    Common.c seems to compile, but ctangle.c produces a message
  19. like:
  20.  
  21.  CB> /pub/include/stdio : parse error before '02'.
  22.  
  23.  CB> Specifically I don't understand why it's 
  24.  CB> complaining about a header file
  25.  CB> rather than ctangle.c itself.
  26.  
  27. The problem is that cweb redefines certain variables.  It has been
  28. a long time since I compiled cweb so I don't remember exactly
  29. which ones are redefined.  I solved the problem by changing
  30. the variables (about 3 of them) and all references in cweb to
  31. a non-header-file name and compiled.
  32.  
  33. Hope this helps.  If not, e-mail me and I'll try to find the
  34. exact variables used.
  35.  
  36. Steve Harrington
  37.  
  38.  * Origin: -[S'Qually Holler's]- HeadQuarters for Fidonet Linux Net
  39. (1:343/34)
  40.  
  41.