gcc build error--configuration problem?
Josh Baudhuin
joshb@Cadence.COM
Thu Jul 29 14:20:00 GMT 1999
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@sourceware.cygnus.com
More information about the Cygwin
mailing list