[cvsacl-users] cvs-1.11.17-cvsacl-1.2.0-patched compile error
Brought to you by:
sbaris
From: Alex H. <ah...@ke...> - 2004-06-17 19:00:27
|
I ran into a compile error on the acl.c source file: Making all in src make[2]: Entering directory `/usr/src/cvs-1.11.17-cvsacl-1.2.0-patched/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../diff -I../zlib -I/usr/kerberos /include -g -O2 -MT acl.o -MD -MP -MF ".deps/acl.Tpo" \ -c -o acl.o `test -f 'acl.c' || echo './'`acl.c; \ then mv -f ".deps/acl.Tpo" ".deps/acl.Po"; \ else rm -f ".deps/acl.Tpo"; exit 1; \ fi acl.c: In function `access_allowed': acl.c:269: parse error before `int' acl.c:277: `x' undeclared (first use in this function) acl.c:277: (Each undeclared identifier is reported only once acl.c:277: for each function it appears in.) make[2]: *** [acl.o] Error 1 make[2]: Leaving directory `/usr/src/cvs-1.11.17-cvsacl-1.2.0-patched/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/cvs-1.11.17-cvsacl-1.2.0-patched' make: *** [all] Error 2 To solve the problem I simply moved the declaration of int x; on line 269 of acl.c to the beginning of the access_allowed function. Did anyone else run into this problem? Alex |