www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/29/17:30:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Josh Baudhuin" <joshb AT Cadence DOT COM>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: gcc build error--configuration problem?
Date: Thu, 29 Jul 1999 14:20:32 -0700
Message-ID: <NDBBKKPIEDLADBIBDHNAKECJCDAA.joshb@cadence.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-reply-to: <5bd9053a.24d21b28@aol.com>
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211

I just installed the 'full' binary release of 20.1. Then I tried to build
cvs-1.10 using the tar from the net.

The 'configure' script seemed to run w/o a hitch, but when I build, I get a
compile error when it comes to src/rcs.c:

/usr/local/src/cvs-1.10 <21> make
making all in lib
make[1]: Nothing to be done for `all'.
making all in zlib
make[1]: Nothing to be done for `all'.
making all in diff
make[1]: Nothing to be done for `all'.
making all in src
gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O -c rcs.c
rcs.c: In function `apply_rcs_changes':
rcs.c:6994: parse error before `('
make[1]: *** [rcs.o] Error 1
make: *** [all] Error 1

Cf. the source itself:
	. . .
6977
6978 static int
6979 apply_rcs_changes (lines, diffbuf, difflen, name, addvers, delvers)
6980      struct linevector *lines;
6981      const char *diffbuf;
6982      size_t difflen;
6983      const char *name;
6984      RCSVers *addvers;
6985      RCSVers *delvers;
6986 {
6987     const char *p;
6988     const char *q;
6989     int op;
6990     /* The RCS format throws us for a loop in that the deltafrags (if
6991        we define a deltafrag as an add or a delete) need to be applied
6992        in reverse order.  So we stick them into a linked list.  */
6993     struct deltafrag {
6994         enum {ADD, DELETE} type;
6995         unsigned long pos;
6996         unsigned long nlines;
6997         const char *new_lines;
6998         size_t len;
6999         struct deltafrag *next;
7000     };
7001     struct deltafrag *dfhead;
7002     struct deltafrag *df;
	. . .

Seems like there must be a macro in there for ADD or DELETE. Is the
configuration wrong? Do I need to do more to set up the build environment
than the simple install of full.exe? [Doesn't seem to be a CDK install
anymore.]


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019